diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-04-18 17:45:08 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-04-18 17:45:08 +0000 |
commit | 6886103dd96067833a6c8d48ac4866f34a51a0d8 (patch) | |
tree | ff4a58e724a5453e728e5f302c7ab8760e7decef /firmware | |
parent | 965401aa6b1b496cf792cb13f682bb0aafa34752 (diff) |
Added type to PAIOR and PBIOR registers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@135 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/sh7034.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/sh7034.h b/firmware/sh7034.h index c33b7a91bf..cbc59a04d5 100644 --- a/firmware/sh7034.h +++ b/firmware/sh7034.h @@ -151,8 +151,8 @@ #define PADR 0x05FFFFC0 #define PBDR 0x05FFFFC2 #define PABIOR 0x05FFFFC4 -#define PAIOR 0x05FFFFC4 -#define PBIOR 0x05FFFFC6 +#define PAIOR (*((volatile unsigned short *)0x05FFFFC4)) +#define PBIOR (*((volatile unsigned short *)0x05FFFFC6)) #define PACR 0x05FFFFC8 #define PACR1 0x05FFFFC8 #define PACR2 0x05FFFFCA |