Skip to content
Snippets Groups Projects
Commit 616a89ea authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

target/i386: move paging mode constants from SVM to cpu.h


We will reuse the page walker for both SVM and regular accesses.  To do
so we will build a function that receives the currently active paging
mode; start by including in cpu.h the constants and the function to go
from cr4/hflags/efer to the paging mode.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 6ed6b0d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment