« Previous | Next » 

Revision 3f2cbf0d

ID3f2cbf0d1a1340bed4a63e05b044c46df93f4768

Added by Jan Kiszka about 12 years ago

target-i386: Mask NX bit from cpu_get_phys_page_debug result

This was a long pending bug, now revealed by the assert in
phys_page_find that stumbled over the large page index returned by
cpu_get_phys_page_debug for NX-marked pages: We need to mask out NX and
all user-definable bits 52..62 from PDEs and the final PTE to avoid
corrupting physical addresses.

Reviewed-by: Avi Kivity <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences