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

Function svm_npt_init

freebsd/amd64/vmm/amd/npt.c:56–67  ·  view source on GitHub ↗

* AMD nested page table init. */

Source from the content-addressed store, hash-verified

54 * AMD nested page table init.
55 */
56int
57svm_npt_init(int ipinum)
58{
59 int enable_superpage = 1;
60
61 npt_flags = ipinum & NPT_IPIMASK;
62 TUNABLE_INT_FETCH("hw.vmm.npt.enable_superpage", &enable_superpage);
63 if (enable_superpage)
64 npt_flags |= PMAP_PDE_SUPERPAGE;
65
66 return (0);
67}
68
69static int
70npt_pinit(pmap_t pmap)

Callers 1

svm_modinitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected