aboutsummaryrefslogtreecommitdiff
path: root/hw/sh.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sh.h')
-rw-r--r--hw/sh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/sh.h b/hw/sh.h
index 116441a..5e3c22b 100644
--- a/hw/sh.h
+++ b/hw/sh.h
@@ -4,6 +4,9 @@
#include "sh_intc.h"
+#define A7ADDR(x) ((x) & 0x1fffffff)
+#define P4ADDR(x) ((x) | 0xe0000000)
+
/* sh7750.c */
struct SH7750State;