summaryrefslogtreecommitdiffstats
path: root/gdb
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-05-17 00:34:12 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-05-17 00:34:12 +0000
commit2af9beab1079b14bb7a97552cf00f06e84b36b34 (patch)
treeb23c23874ff191b0dce7fc0baf010f1b5a663145 /gdb
parent1dc42d1fcbe293513c45cdef1a0278ae3e4ecf1a (diff)
downloadrockbox-2af9beab1079b14bb7a97552cf00f06e84b36b34.tar.gz
rockbox-2af9beab1079b14bb7a97552cf00f06e84b36b34.tar.bz2
rockbox-2af9beab1079b14bb7a97552cf00f06e84b36b34.zip
Now compiles without newlib. Refined the Makefile a little.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3675 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'gdb')
-rw-r--r--gdb/sh-stub.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/sh-stub.c b/gdb/sh-stub.c
index 61c63596bc..86255b74e1 100644
--- a/gdb/sh-stub.c
+++ b/gdb/sh-stub.c
@@ -415,11 +415,11 @@ static char remcomOutBuffer[BUFMAX];
#define ATA_NSECTOR (*((volatile unsigned char*)0x06100102))
#define ATA_COMMAND (*((volatile unsigned char*)0x06100107))
-#ifdef RECORDER
+/* You may need to change this depending on your ATA I/O address
+** 0x200 - 0x06200206
+** 0x300 - 0x06200306
+*/
#define ATA_CONTROL (*((volatile unsigned char*)0x06200206))
-#else
-#define ATA_CONTROL (*((volatile unsigned char*)0x06200306))
-#endif
#define ATA_ALT_STATUS ATA_CONTROL
#define STATUS_BSY 0x80