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

Function write_rflags

freebsd/amd64/include/cpufunc.h:391–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391static __inline void
392write_rflags(u_long rf)
393{
394 __asm __volatile("pushq %0; popfq" : : "r" (rf));
395}
396
397static __inline void
398wrmsr(u_int msr, uint64_t newval)

Callers 3

vmx_dr_enter_guestFunction · 0.85
vmx_dr_leave_guestFunction · 0.85
intr_restoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected