Ignore:
Timestamp:
02/01/05 15:12:55 (18 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
50fea8b
Parents:
7a6d1a3
Message:

Place FEC buffer descriptors in static RAM. No more cache concerns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/start/start.S

    r7a6d1a3 r7c7184a  
    314314    PUBLIC (start)
    315315SYM(start):
    316     move.w  #0x2700,sr                  | Disable interrupts
    317 
    318     move.l  #__SRAMBASE+1,d0     | Enable the MCF5282 internal SRAM
    319     movec   d0,%rambar          | ...so we have a stack
    320     move.l  #__SRAMBASE+SRAM_SIZE-4,sp   | Overwrite the fake stack pointer
     316    move.w  #0x2700,sr                 | Disable interrupts
    321317
    322318    /*
     
    324320     * moved the IPSBAR, we're doomed........
    325321     */
    326     move.l  #__IPSBAR+1,d0      | Enable the MCF5282 internal peripherals
     322    move.l  #__IPSBAR+1,d0             | Enable the MCF5282 internal peripherals
    327323    move.l  d0,DEFAULT_IPSBAR
    328    
     324    move.l  #__SRAMBASE+0x201,d0       | Enable the MCF5282 internal SRAM
     325    movec   d0,%rambar                 | CPU-space copy of RAMBAR
     326    move.l  d0,DEFAULT_IPSBAR+8        | Memory-space copy of RAMBAR
     327    move.l  #__SRAMBASE+SRAM_SIZE-4,sp | Overwrite the fake stack pointer
     328
    329329    /*
    330330     * Copy the vector table to address 0 (VBR must be 0 mod 2^20)
Note: See TracChangeset for help on using the changeset viewer.