source: rtems/bsps/powerpc/psim/README.vectors @ 762fa62

5
Last change on this file since 762fa62 was eb36d11, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 25, 2018 at 1:06:08 PM

bsps: Move documentation, etc. files to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 844 bytes
Line 
1The location of the vectors file object is critical.
2
3From the comments at the head of vectors.s:
4
5  The issue with this file is getting it loaded at the right place.
6  The first vector MUST be at address 0x????0100.
7  How this is achieved is dependant on the tool chain.
8
9  However the basic mechanism for ELF assemblers is to create a
10  section called ".vectors", which will be loaded to an address
11  between 0x????0000 and 0x????0100 (inclusive) via a link script.
12
13  The basic mechanism for XCOFF assemblers is to place it in the
14  normal text section, and arrange for this file to be located
15  at an appropriate position on the linker command line.
16
17  The variable 'PPC_VECTOR_FILE_BASE' must be defined to be the
18  offset from 0x????0000 to the first location in the file.  This
19  will usually be 0x0000 or 0x0100.
20
21Andrew Bray 18/8/1995
Note: See TracBrowser for help on using the repository browser.