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

Function eptp

freebsd/amd64/vmm/intel/ept.c:198–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198uint64_t
199eptp(uint64_t pml4)
200{
201 uint64_t eptp_val;
202
203 eptp_val = pml4 | (EPT_PWLEVELS - 1) << 3 | PAT_WRITE_BACK;
204 if (ept_enable_ad_bits)
205 eptp_val |= EPT_ENABLE_AD_BITS;
206
207 return (eptp_val);
208}

Callers 1

vmx_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected