]> Git Repo - qemu.git/commit - target/i386/arch_memory_mapping.c
target-i386: fix bits 39:32 of the final physical address when using 4M page
authorWen Congyang <[email protected]>
Sat, 22 Dec 2012 07:13:54 +0000 (15:13 +0800)
committerLuiz Capitulino <[email protected]>
Wed, 9 Jan 2013 17:12:20 +0000 (15:12 -0200)
commit6ad53bdf5830bfc30221aee8d4ced9a9eaf8fe03
treeb7db31edc04799a878b0a4ec10f1f7bab4d25355
parent7cd5da7eef152a533c5774effd2e7bbfa5976c86
target-i386: fix bits 39:32 of the final physical address when using 4M page

((pde & 0x1fe000) << 19) is the bits 39:32 of the final physical address, and
we shouldn't use unit32_t to calculate it. Convert the type to hwaddr to fix
this problem.

Signed-off-by: Wen Congyang <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
target-i386/arch_memory_mapping.c
This page took 0.02535 seconds and 4 git commands to generate.