Back to home page

LXR

 
 

    


Warning, /bsps/powerpc/psim/README.md is written in an unsupported language. File is not indexed.

0001 psim
0002 ====
0003 ```
0004 BSP NAME:           psim
0005 BOARD:              PowerPC Simulator in GDB (psim)
0006 BUS:                N/A
0007 CPU FAMILY:         ppc
0008 CPU:                PowerPC 603, 603e, 604
0009 COPROCESSORS:       N/A
0010 MODE:               32 bit mode
0011 
0012 DEBUG MONITOR:      BUG mode (emulates Motorola debug monitor)
0013 ```
0014 
0015 PERIPHERALS
0016 -----------
0017 ```
0018 TIMERS:             PPC internal Timebase register
0019   RESOLUTION:         ???
0020 SERIAL PORTS:       simulated via bug
0021 REAL-TIME CLOCK:    PPC internal Decrementer register
0022 DMA:                none
0023 VIDEO:              none
0024 SCSI:               none
0025 NETWORKING:         none
0026 ```
0027 
0028 DRIVER INFORMATION
0029 ------------------
0030 ```
0031 CLOCK DRIVER:       PPC internal
0032 IOSUPP DRIVER:      N/A
0033 SHMSUPP:            N/A
0034 TIMER DRIVER:       PPC internal
0035 TTY DRIVER:         PPC internal
0036 ```
0037 
0038 STDIO
0039 -----
0040 ```
0041 PORT:               Console port 0
0042 ELECTRICAL:         na
0043 BAUD:               na
0044 BITS PER CHARACTER: na
0045 PARITY:             na
0046 STOP BITS:          na
0047 ```
0048 
0049 Notes
0050 -----
0051 The device tree for this BSP is included with rtems-tools and automated
0052 testing of psim is supported by the RTEMS Tester. See
0053 rtems-tools/tester/rtems/testing/bsps/psim-device-tree for specifics. This
0054 file must be kept in sync with startup/linkcmds and the MMU initialization
0055 in the BSP.
0056 
0057 For the multiprocessing tests to run, psim supports an area of UNIX
0058 shared memory and UNIX semaphore mapped into the PowerPC address space.
0059 
0060 
0061 
0062 Vectors
0063 =======
0064 The location of the vectors file object is critical.
0065 
0066 From the comments at the head of vectors.s:
0067 
0068   The issue with this file is getting it loaded at the right place.
0069   The first vector MUST be at address 0x????0100.
0070   How this is achieved is dependant on the tool chain.
0071 
0072   However the basic mechanism for ELF assemblers is to create a
0073   section called ".vectors", which will be loaded to an address
0074   between 0x????0000 and 0x????0100 (inclusive) via a link script.
0075 
0076   The basic mechanism for XCOFF assemblers is to place it in the
0077   normal text section, and arrange for this file to be located
0078   at an appropriate position on the linker command line.
0079 
0080   The variable 'PPC_VECTOR_FILE_BASE' must be defined to be the
0081   offset from 0x????0000 to the first location in the file.  This
0082   will usually be 0x0000 or 0x0100.
0083 
0084 Andrew Bray 18/8/1995