/[qemu]
ViewVC logotype

Revision 4239


Jump to revision: Previous Next
Author: aurel32
Date: Tue Apr 22 20:37:43 2008 UTC (15 years, 7 months ago)
Changed paths: 2
Log Message:
x86/x86-64 MMU PAE fixes

This patch fixes MMU emulation in PAE mode for > 4GB physical addresses:
- a20_mask should have the correct size to not clear the high part of
  the addresses.
- PHYS_ADDR_MASK should not clear the high part of the addresses.
- pdpe, pde and pte could be located anywhere in memory on x86-64, but
  only in the first 4GB on x86, define their pointer to as target_ulong.
- pml4e_addr could be located anywhere in memory, define its pointer
  as uint64_t.
- paddr represents a physical address and thus should be of type
  target_phys_addr_t.

Changed paths:

Path Details
Directorytrunk/target-i386/cpu.h modified , text changed
Directorytrunk/target-i386/helper2.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5