summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/arm/s3c24xx/include/s3c2400.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/arm/s3c24xx/include/s3c2400.h (renamed from c/src/lib/libcpu/arm/s3c2400/include/s3c2400.h)6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/arm/s3c2400/include/s3c2400.h b/c/src/lib/libcpu/arm/s3c24xx/include/s3c2400.h
index b8243a7790..092dcffe5c 100644
--- a/c/src/lib/libcpu/arm/s3c2400/include/s3c2400.h
+++ b/c/src/lib/libcpu/arm/s3c24xx/include/s3c2400.h
@@ -8,6 +8,8 @@
#ifndef S3C2400_H_
#define S3C2400_H_
+/* to be used in assembly code */
+#define rINTOFFSET_ADDR 0x14400014
/* Memory control */
#define rBWSCON (*(volatile unsigned *)0x14000000)
#define rBANKCON0 (*(volatile unsigned *)0x14000004)
@@ -427,7 +429,7 @@
}
/* Wait until rINTPND is changed for the case that the ISR is very short. */
-#ifndef __asm__
+#ifndef ASM
/* Typedefs */
typedef union {
struct _reg {
@@ -654,7 +656,7 @@ typedef union {
} reg;
unsigned long all;
} IISSFIF;
-#endif //__asm__
+#endif //ASM
#define LCD_WIDTH 240
#define LCD_HEIGHT 320