Changeset 2caa006 in rtems


Ignore:
Timestamp:
Feb 5, 1999, 12:29:47 AM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b5e4eb7
Parents:
ecec2ba
Message:

Added instruction and data cache enable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/dmv177.cfg

    recec2ba r2caa006  
    5353#     other tools like debuggers.
    5454#
    55 #  PPC_USE_DATA_CACHE (RTEMS PowerPC port)
     55#  PPC_USE_DATA_CACHE (RTEMS PowerPC port/BSP)
    5656#     If defined, then the PowerPC specific code in RTEMS will use
    5757#     data cache instructions to optimize the context switch code.
    58 #     This code can conflict with debuggers or emulators.
     58#     This code can conflict with debuggers or emulators.  It is known
     59#     to break the Corelis PowerPC emulator with at least some combinations
     60#     of PowerPC 603e revisions and emulator versions.
     61#     The BSP actually contains the call that enables this.
     62#
     63#  PPC_USE_INSTRUCTION_CACHE (RTEMS PowerPC port/BSP)
     64#     If defined, then the PowerPC specific code in RTEMS will use
     65#     data cache instructions to optimize the context switch code.
     66#     This code can conflict with debuggers or emulators.
     67#     The BSP actually contains the call that enables this.
    5968
    6069define make-target-options
     
    6978        @echo "#define PPC_USE_SPRG 0"                             >>$@
    7079        @echo "#define PPC_USE_DATA_CACHE 0"                       >>$@
     80        @echo "#define PPC_USE_INSTRUCTION_CACHE 1"                >>$@
    7181endef
    7282
     
    7585#
    7686CPU_CFLAGS = -mcpu=603
     87#CFLAGS_DEBUG_OPTIMIZE_V=
    7788
    7889# optimize flag: typically -0, could use -O4 or -fast
Note: See TracChangeset for help on using the changeset viewer.