From e5727f39210c0832ad36e739800f4aa1320c3f12 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 13 Jun 1998 10:05:15 +0000 Subject: Added PPC_USE_DATA_CACHE. --- make/custom/dmv177.cfg | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'make/custom') 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 \ -- cgit v1.2.3