mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
More phys_ram_base removal.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7060 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
dc828ca1b5
commit
4465449097
9 changed files with 37 additions and 34 deletions
|
@ -193,8 +193,8 @@ qemu_irq *armv7m_init(int flash_size, int sram_size,
|
|||
regular ROM image and perform the normal CPU reset sequence.
|
||||
Otherwise jump directly to the entry point. */
|
||||
if (lowaddr == 0) {
|
||||
env->regs[13] = tswap32(*(uint32_t *)phys_ram_base);
|
||||
pc = tswap32(*(uint32_t *)(phys_ram_base + 4));
|
||||
env->regs[13] = ldl_phys(0);
|
||||
pc = ldl_phys(4);
|
||||
} else {
|
||||
pc = entry;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue