Update of /cvsroot/lapetus/lapetus
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25519
Modified Files:
bios.h
Log Message:
-Removed volatile from bios defines of type void. Apparently GCC ignores it. I'll add it back if there's problems.
Index: bios.h
===================================================================
RCS file: /cvsroot/lapetus/lapetus/bios.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- bios.h 12 Feb 2007 05:02:06 -0000 1.1
+++ bios.h 1 Aug 2007 16:38:30 -0000 1.2
@@ -20,15 +20,15 @@
#ifndef BIOS_H
#define BIOS_H
-#define BIOS_RunCDPlayer() ((**(volatile void(**)(void))0x0600026C)())
+#define BIOS_RunCDPlayer() ((**(void(**)(void))0x0600026C)())
#define BIOS_IsMpegCardPresent() ((**(volatile int(**)(int))0x06000274)())
-#define BIOS_SetSCUInterrupt(vector, func) ((**(volatile void(**)(u32, void *))0x06000300)((vector), (func)))
+#define BIOS_SetSCUInterrupt(vector, func) ((**(void(**)(u32, void *))0x06000300)((vector), (func)))
#define BIOS_GetSCUInterrupt(vector) ((void*)(**(void(*(**)(u32))(u32))0x6000304)(vector))
-#define BIOS_SetSH2Interrupt(vector, func) ((**(volatile void(**)(u32, void *))0x06000310)((vector), (func)))
+#define BIOS_SetSH2Interrupt(vector, func) ((**(void(**)(u32, void *))0x06000310)((vector), (func)))
#define BIOS_GetSH2Interrupt(vector) ((void*)(**(void(*(**)(u32))(u32))0x6000314)(vector))
-#define BIOS_SetClockSpeed(mode) ((**(volatile void(**)(u32))0x06000320)((mode)))
+#define BIOS_SetClockSpeed(mode) ((**(void(**)(u32))0x06000320)((mode)))
#define BIOS_GetClockSpeed (*(volatile u32*)0x6000324)
-#define BIOS_SetSCUInterruptMask(bits) ((**(volatile void(**)(u32))0x06000340)((bits)))
+#define BIOS_SetSCUInterruptMask(bits) ((**(void(**)(u32))0x06000340)((bits)))
#define BIOS_ChangeSCUInterruptMask(mask, bits) ((**(volatile void(**)(u32, u32))0x06000344)((mask), (bits)))
#define BIOS_GetSCUInterruptMask() (*(volatile u32 *)0x06000348)
|