From 2af9beab1079b14bb7a97552cf00f06e84b36b34 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sat, 17 May 2003 00:34:12 +0000 Subject: [PATCH] Now compiles without newlib. Refined the Makefile a little. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3675 a1c6a512-1295-4272-9138-f99709370657 --- gdb/sh-stub.c | 8 ++++---- 1 file 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