]> Git Repo - qemu.git/commit - target/i386/arch_memory_mapping.c
target-i386: Fix mask of pte index in memory mapping
authorQiao Nuohan <[email protected]>
Thu, 30 May 2013 15:07:54 +0000 (17:07 +0200)
committerLuiz Capitulino <[email protected]>
Fri, 31 May 2013 13:02:31 +0000 (09:02 -0400)
commitbff63471ced94e3a6de76b1a7375a875178d6cdc
tree3f6f111d33fc6c5ce79d395a9d0dfbbe1709264b
parentfbc2ed9518efcdcdcbf0adb9539c17a65addd20a
target-i386: Fix mask of pte index in memory mapping

Function walk_pte() needs pte index to calculate virtual address.
However, pte index of PAE paging or IA-32e paging is 9 bit, so the mask
should be 0x1ff.

Signed-off-by: Qiao Nuohan <[email protected]>
Reviewed-by: Jesse Larrew <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
target-i386/arch_memory_mapping.c
This page took 0.025989 seconds and 4 git commands to generate.