#213 closed enhancement (fixed)
Support for 7400 PowerPC (AKA G4); misc enhancements for 60x family
Reported by: | strauman | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | lowest | Milestone: | 2 |
Component: | score | Version: | unknown |
Severity: | minor | Keywords: | |
Cc: | bugs@… | Blocked By: | |
Blocking: |
Description
- 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 to 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) (useful only on CPUs which feature hardware TLB replacement, i.e. >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...).
- according to the book, a context synchronizing instruction is necessary prior to and after changing a DBAT -> isync added
Release:
RTEMS-ss-20020301
Environment:
Target: powerpc-rtems
Host: i386-linux
How-To-Repeat:
n.a.
Attachments (1)
Change History (2)
comment:1 Changed on 05/14/02 at 15:58:07 by Joel Sherrill
Status: | assigned → closed |
---|
Note: See
TracTickets for help on using
tickets.
State-Changed-From-To: open->closed
State-Changed-Why: Patch applied. Thank you.