MCPcopy Create free account
hub / github.com/F-Stack/f-stack / beri_get_thread

Function beri_get_thread

freebsd/mips/beri/beri_mp.h:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static inline int
52beri_get_thread(void)
53{
54 uint32_t tinfo;
55
56 tinfo = mips_rd_tinfo();
57 return (tinfo & 0xffff);
58}
59
60static inline int
61beri_get_nthreads(void)

Callers 1

beri_get_cpuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected