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

Function vmread

freebsd/amd64/vmm/intel/vmx_cpufunc.h:133–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static __inline int
134vmread(uint64_t r, uint64_t *addr)
135{
136 int error;
137
138 __asm __volatile("vmread %[r], %[addr];"
139 VMX_SET_ERROR_CODE
140 : [error] "=r" (error)
141 : [r] "r" (r), [addr] "m" (*addr)
142 : "memory");
143
144 return (error);
145}
146
147static void __inline
148VMCLEAR(struct vmcs *vmcs)

Callers 4

vmcs_readFunction · 0.85
vmcs_getregFunction · 0.85
vmcs_getdescFunction · 0.85
vmcs_getanyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected