Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ rgs
Function
rgs
freebsd/i386/include/cpufunc.h:554–560 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
552
}
553
554
static __inline u_short
555
rgs(void)
556
{
557
u_short sel;
558
__asm __volatile(
"movw %%gs,%0"
:
"=rm"
(sel));
559
return (sel);
560
}
561
562
static __inline uint64_t
563
ridt(void)
Callers
9
db_gs
Function · 0.50
cpu_fork
Function · 0.50
cpu_copy_thread
Function · 0.50
osendsig
Function · 0.50
freebsd4_sendsig
Function · 0.50
sendsig
Function · 0.50
makectx
Function · 0.50
linux_rt_sendsig
Function · 0.50
linux_sendsig
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected