« Previous | Next » 

Revision f2f8560c

IDf2f8560c7a5303065a2a3207ec475dfb3a622a0e

Added by Paolo Bonzini over 10 years ago

target-i386: fix disassembly with PAE=1, PG=0

CR4.PAE=1 will not enable paging if CR0.PG=0, but the "if" chain
in x86_cpu_get_phys_page_debug says otherwise. Check CR0.PG
before everything else.

Fixes "-d in_asm" for a code section at the beginning of OVMF.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Richard Henderson <>
Reviewed-by: Max Filippov <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences