Changeset 008c4b5 in rtems


Ignore:
Timestamp:
Feb 12, 2005, 10:26:37 PM (15 years ago)
Author:
Eric Norum <WENorum@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a859df85
Parents:
8af3643
Message:

Rearrange devLib address spaces.

Location:
c/src/lib/libbsp/m68k/uC5282
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/README

    r8af3643 r008c4b5  
    135135          |                                                  | 2FFF FFFF
    136136          +--------------------------------------------------+
    137 3000 0000 |  CS1* space (First 'VME' A24/D16 space)          | 30FF FFFF
    138 3100 0000 |  CS2* space (Second 'VME' A24/D16 space)         | 31FF FFFF
     1373000 0000 |  CS1* (devLib 'VME' A24 space)                   | 30FF FFFF
     1383100 0000 |  CS2* (devLib 'VME' A32 and A16 space)           | 31FF FFFF
    139139          .                                                  .
    140140          .                                                  .
  • c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c

    r8af3643 r008c4b5  
    443443    switch (am) {
    444444    default:    return -1;
    445     case VME_AM_SUP_SHORT_IO: offset = 0x31000000; break; /* A16/D16 */
     445    case VME_AM_SUP_SHORT_IO: offset = 0x31FF0000; break; /* A16/D16 */
    446446    case VME_AM_STD_SUP_DATA: offset = 0x30000000; break; /* A24/D16 */
    447     case VME_AM_EXT_SUP_DATA: return -1;                  /* A32/D32 */
     447    case VME_AM_EXT_SUP_DATA: offset = 0x31000000; break; /* A32/D32 */
    448448    }
    449449    *plocaladdr = vmeaddr + offset;
Note: See TracChangeset for help on using the changeset viewer.