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

Function svm_paging_info

freebsd/amd64/vmm/amd/svm.c:754–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

752}
753
754static void
755svm_paging_info(struct vmcb *vmcb, struct vm_guest_paging *paging)
756{
757 struct vmcb_state *state;
758
759 state = &vmcb->state;
760 paging->cr3 = state->cr3;
761 paging->cpl = svm_cpl(state);
762 paging->cpu_mode = svm_vcpu_mode(vmcb);
763 paging->paging_mode = svm_paging_mode(state->cr0, state->cr4,
764 state->efer);
765}
766
767#define UNHANDLED 0
768

Callers 2

svm_handle_ioFunction · 0.85
svm_handle_inst_emulFunction · 0.85

Calls 3

svm_cplFunction · 0.85
svm_vcpu_modeFunction · 0.85
svm_paging_modeFunction · 0.85

Tested by

no test coverage detected