Ignore:
Timestamp:
May 14, 2002, 4:56:44 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6fae458
Parents:
78f8c91
Message:

2001-05-14 Till Straumann <strauman@…>

  • rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add the following:
    • support for the MPC74000 (AKA G4); there is no AltiVec? support yet, however.
    • the cache flushing assembly code uses hardware-flush on the G4. Also, a couple of hardcoded numerical values were replaced by more readable symbolic constants.
    • extended interrupt-disabled code section so enclose the entire cache flush/invalidate procedure (as recommended by the book). This is not (latency) critical as it is only used by init code but prevents possible corruption.
    • Trivial page table support as been added. (1:1 effective-virtual-physical address mapping which is only useful only on CPUs which feature hardware TLB replacement, e.g. >604. This allows for write-protecting memory regions, e.g. text/ro-data which makes catching corruptors a lot easier. It also frees one DBAT/IBAT and gives more flexibility for setting up address maps :-)
    • setdbat() allows changing BAT0 also (since the BSP may use a page table, BAT0 could be available...).
    • asm_setdbatX() violated the SVR ABI by using r20 as a scratch register; changed for r0
    • according to the book, a context synchronizing instruction is necessary prior to and after changing a DBAT -> isync added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/configure.ac

    r78f8c91 r0d776cd2  
    2929
    3030AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
     31|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
    3132|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
    3233|| test "$RTEMS_CPU_MODEL" = "mpc604" \
     
    4142AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
    4243|| test "$RTEMS_CPU_MODEL" = "mpc604" \
     44|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
    4345|| test "$RTEMS_CPU_MODEL" = "mpc750" )
    4446AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
Note: See TracChangeset for help on using the changeset viewer.