-/*
- * Macros to access high and low word values of an address
- */
-
-#define HIGH_CADDR(x) ha16(x)
-#define HIGH_ADDR(x) hi16(x)
-#define LOW_ADDR(x) lo16(x)
-
-#endif /* ASSEMBLER */
+/* GUS Mode Register */
+#define GUSModeReg 0x0430
+#define GUSMdmapen 0x00008000
+#define GUSMstgtdis 0x00000080
+#define GUSMstgttim 0x00000038
+#define GUSMstgttoff 0x00000004
+
+/* PowerTune */
+#define PowerTuneControlReg 0x0AA001
+#define PowerTuneStatusReg 0x408001
+
+/* Code inject */
+// The following bits are always on in the MSR when injected code is executing
+#define ijemon 0x00000010
+// The following bits are always off in the MSR when injected code it executing
+#define ijemoff 0x0000C620
+#define ijemtrap ijemon|1
+// The following is the inject exit trap
+#define ijtrap 0x0FFFC9C9
+
+/* Misc */
+#define srr1clr 0x783F0000