mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Disable phsyical memory handling in userspace emulation.
Code to handle physical memory access is not meaningful in usrmode emulation, so disable it. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
20cb400d41
commit
b3755a915e
5 changed files with 21 additions and 9 deletions
|
@ -10,6 +10,8 @@
|
|||
#include "bswap.h"
|
||||
#include "qemu-queue.h"
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
||||
/* address in the RAM (different from a physical address) */
|
||||
typedef unsigned long ram_addr_t;
|
||||
|
||||
|
@ -106,4 +108,6 @@ void cpu_physical_memory_write_rom(target_phys_addr_t addr,
|
|||
#define IO_MEM_SUBPAGE (2)
|
||||
#define IO_MEM_SUBWIDTH (4)
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* !CPU_COMMON_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue