aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorwdenk2003-02-28 00:49:47 +0000
committerwdenk2003-02-28 00:49:47 +0000
commit6069ff265362ef6239749b5f598b137f407b821e (patch)
tree991432052f2aa7da45d8c1d51db9f80478d7e75d /examples
parent2a9e02ead3024f33658f1f4110834d0601dd6b2f (diff)
* Add support for 16 MB flash configuration of TRAB board
* Patch by Erwin Rol, 27 Feb 2003: Add support for RTEMS * Add image information to README * Fix dual PCMCIA slot support (when running with just one slot populated) * Add VFD type detection to trab board * extend drivers/cs8900.c driver to synchronize ethaddr environment variable with value in the EEPROM * Start adding MIPS support files
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile4
-rw-r--r--examples/syscall.S32
2 files changed, 35 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index b7d6f94e403..e6a3023913f 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -27,6 +27,10 @@ include $(TOPDIR)/config.mk
SREC = hello_world.srec
+ifeq ($(CPU),mips)
+SREC =
+endif
+
# The following example is pretty 8xx specific...
ifeq ($(CPU),mpc8xx)
SREC += timer.srec
diff --git a/examples/syscall.S b/examples/syscall.S
index a952fd7744c..510807bc9a7 100644
--- a/examples/syscall.S
+++ b/examples/syscall.S
@@ -37,7 +37,37 @@ mon_free:
stmfd sp!, {fp, ip, lr, pc}
sub fp, ip, #4
ldmea fp, {fp, sp, pc}
-#else /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
+#elif defined(CONFIG_MIPS)/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
+#warning MIPS version not implemented yet
+ .global mon_getc
+ .type mon_getc,function
+mon_getc:
+ .global mon_tstc
+ .type mon_tstc,function
+mon_tstc:
+ .global mon_putc
+ .type mon_putc,function
+mon_putc:
+ .global mon_puts
+ .type mon_puts,function
+mon_puts:
+ .global mon_printf
+ .type mon_printf,function
+mon_printf:
+ .global mon_install_hdlr
+ .type mon_install_hdlr,function
+mon_install_hdlr:
+ .global mon_free_hdlr
+ .type mon_free_hdlr,function
+mon_free_hdlr:
+ .global mon_malloc
+ .type mon_malloc,function
+mon_malloc:
+ .global mon_free
+ .type mon_free,function
+mon_free:
+
+#else
#ifdef CONFIG_I386 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
#define SYMBOL_NAME(X) X