mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Make accesses with wrong width also work as apparently real hardware allows them when the fault is disabled.
Fix DMA register writes if target_phys_addr_t is 64-bit. Make more functions static. A timer hack to make PalmOS run in finite time (uses very short timer periods, much shorter than clocksource tick). Re-calculate internal clock rates on start-up. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3527 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e616a7e821
commit
b854bc196f
3 changed files with 59 additions and 20 deletions
15
hw/omap.h
15
hw/omap.h
|
@ -646,14 +646,23 @@ void omap_badwidth_write32(void *opaque, target_phys_addr_t addr,
|
|||
# define OMAP_RO_REG(paddr) \
|
||||
printf("%s: Read-only register " OMAP_FMT_plx "\n", \
|
||||
__FUNCTION__, paddr)
|
||||
# define OMAP_8B_REG(paddr) \
|
||||
|
||||
# define TCMI_VERBOSE 1
|
||||
|
||||
# ifdef TCMI_VERBOSE
|
||||
# define OMAP_8B_REG(paddr) \
|
||||
printf("%s: 8-bit register " OMAP_FMT_plx "\n", \
|
||||
__FUNCTION__, paddr)
|
||||
# define OMAP_16B_REG(paddr) \
|
||||
# define OMAP_16B_REG(paddr) \
|
||||
printf("%s: 16-bit register " OMAP_FMT_plx "\n", \
|
||||
__FUNCTION__, paddr)
|
||||
# define OMAP_32B_REG(paddr) \
|
||||
# define OMAP_32B_REG(paddr) \
|
||||
printf("%s: 32-bit register " OMAP_FMT_plx "\n", \
|
||||
__FUNCTION__, paddr)
|
||||
# else
|
||||
# define OMAP_8B_REG(paddr)
|
||||
# define OMAP_16B_REG(paddr)
|
||||
# define OMAP_32B_REG(paddr)
|
||||
# endif
|
||||
|
||||
#endif /* hw_omap_h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue