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

Function read_rflags

freebsd/amd64/include/cpufunc.h:313–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313static __inline u_long
314read_rflags(void)
315{
316 u_long rf;
317
318 __asm __volatile("pushfq; popq %0" : "=r" (rf));
319 return (rf);
320}
321
322static __inline uint64_t
323rdmsr(u_int msr)

Callers 10

vmx_exit_handle_nmiFunction · 0.85
vmx_dr_enter_guestFunction · 0.85
vmx_dr_leave_guestFunction · 0.85
cpu_auxmsrFunction · 0.85
trapFunction · 0.85
intr_disableFunction · 0.85
i8254_get_timecountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected