summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-13 10:05:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-06-13 10:05:15 +0000
commite5727f39210c0832ad36e739800f4aa1320c3f12 (patch)
tree1f2c9d5fc93bc1cbab695df901cb967ba3873a45 /make/custom
parent773890639c8987212f7a3722fca23303b933bad7 (diff)
downloadrtems-e5727f39210c0832ad36e739800f4aa1320c3f12.tar.bz2
Added PPC_USE_DATA_CACHE.
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/dmv177.cfg11
1 files changed, 8 insertions, 3 deletions
diff --git a/make/custom/dmv177.cfg b/make/custom/dmv177.cfg
index 5798a04708..e3fa5c489b 100644
--- a/make/custom/dmv177.cfg
+++ b/make/custom/dmv177.cfg
@@ -51,7 +51,11 @@ RTEMS_BSP_FAMILY=dmv177
# of the special purpose registers to slightly optimize interrupt
# response time. The use of these registers can conflict with
# other tools like debuggers.
-
+#
+# PPC_USE_DATA_CACHE (RTEMS PowerPC port)
+# If defined, then the PowerPC specific code in RTEMS will use
+# data cache instructions to optimize the context switch code.
+# This code can conflict with debuggers or emulators.
define make-target-options
@echo "/* #define NDEBUG 1 */ " >>$@
@@ -63,6 +67,7 @@ define make-target-options
@echo "#define PPC_ABI PPC_ABI_EABI" >>$@
@echo "#define PPC_ASM PPC_ASM_ELF" >>$@
@echo "#define PPC_USE_SPRG 1" >>$@
+ @echo "#define PPC_USE_DATA_CACHE 0" >>$@
endef
# This contains the compiler options necessary to select the CPU model
@@ -83,8 +88,8 @@ HAS_MP=no
# to enable it.
HAS_KA9Q=no
-# The following is a linkcmds file which will work without using the
-# -specs system in gcc 2.8.
+# The following is a ld command file which works without using the
+# -specs system in gcc 2.8. IT HAS NEVER BEEN TESTED WITH THIS BSP!!!
# $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
# -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES)
# $(LD) $(XLDFLAGS) -Ttext 0x20000 \