filename | src/sh4/sh4mmio.h |
changeset | 859:b941c703ccd6 |
prev | 841:808d64b05073 |
next | 929:fd8cb0c82f5f |
next | 953:f4a156508ad1 |
author | nkeynes |
date | Thu Oct 30 00:06:49 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Change xlat_get_native_pc to pass in the expected code region - this lets the Mac unwind implementation range test the IP address (which works) rather than EBP (which doesn't for some reason). Remove the test in configure that prevents fomit-frame-pointer being used in Mac builds. |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4mmio.h Tue Sep 02 11:53:16 2008 +00001.2 +++ b/src/sh4/sh4mmio.h Thu Oct 30 00:06:49 2008 +00001.3 @@ -117,9 +117,16 @@1.4 LONG_PORT( 0x040, DMAOR, PORT_MRW, 0, "DMA operation register" )1.5 MMIO_REGION_END1.7 +#define FRQCR_CKOEN 0x08001.8 +#define FRQCR_PLL1EN 0x04001.9 +#define FRQCR_PLL2EN 0x02001.10 +#define FRQCR_IFC_MASK 0x01C01.11 +#define FRQCR_BFC_MASK 0x00381.12 +#define FRQCR_PFC_MASK 0x00071.13 +1.14 /* Clock Pulse Generator (page 233 [273] of sh7750h manual) */1.15 MMIO_REGION_BEGIN( 0xFFC00000, CPG, "Clock Pulse Generator" )1.16 - WORD_PORT( 0x000, FRQCR, PORT_MRW, UNDEFINED, "Frequency control" )1.17 + WORD_PORT( 0x000, FRQCR, PORT_MRW, 0x0E0A, "Frequency control" )1.18 BYTE_PORT( 0x004, STBCR, PORT_MRW, 0, "Standby control" )1.19 BYTE_PORT( 0x008, WTCNT, PORT_MRW, 0, "Watchdog timer counter" )1.20 BYTE_PORT( 0x00C, WTCSR, PORT_MRW, 0, "Watchdog timer control/status" )
.