mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
cpu_get_phys_page_debug should return target_phys_addr_t
instead of target_ulong to be consistent. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2633 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
80a34d67a5
commit
9b3c35e0e6
10 changed files with 20 additions and 18 deletions
|
@ -39,7 +39,7 @@ int cpu_alpha_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
|
|||
return 1;
|
||||
}
|
||||
|
||||
target_ulong cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
|
||||
target_phys_addr_t cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
|
||||
{
|
||||
return addr;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ void do_interrupt (CPUState *env)
|
|||
|
||||
#else
|
||||
|
||||
target_ulong cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
|
||||
target_phys_addr_t cpu_get_phys_page_debug (CPUState *env, target_ulong addr)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue