linker: xtensa: move IDT_LIST region
Move the IDT_LIST memory region to the location recommended by `intlist.ld`. The documentation specifies that this region should not overlap other regions, and there is no guarantee that the area after the `SRAM` region is not used. The end of the address space is much less likely to be a valid RAM address. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
parent
b2dc1fc9fb
commit
9505ee89a3
5 changed files with 5 additions and 5 deletions
|
@ -87,7 +87,7 @@
|
||||||
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
||||||
* section will be stripped off in the final image.
|
* section will be stripped off in the final image.
|
||||||
*/
|
*/
|
||||||
#define IDT_BASE (RAM_BASE + RAM_SIZE)
|
#define IDT_BASE 0xFFFFDFFF
|
||||||
|
|
||||||
/* size of the Interrupt Descriptor Table (IDT) */
|
/* size of the Interrupt Descriptor Table (IDT) */
|
||||||
#define IDT_SIZE 0x2000
|
#define IDT_SIZE 0x2000
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
||||||
* section will be stripped off in the final image.
|
* section will be stripped off in the final image.
|
||||||
*/
|
*/
|
||||||
#define IDT_BASE (RAM_BASE + RAM_SIZE)
|
#define IDT_BASE 0xFFFFDFFF
|
||||||
|
|
||||||
/* size of the Interrupt Descriptor Table (IDT) */
|
/* size of the Interrupt Descriptor Table (IDT) */
|
||||||
#define IDT_SIZE 0x2000
|
#define IDT_SIZE 0x2000
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
||||||
* section will be stripped off in the final image.
|
* section will be stripped off in the final image.
|
||||||
*/
|
*/
|
||||||
#define IDT_BASE (RAM_BASE + RAM_SIZE)
|
#define IDT_BASE 0xFFFFDFFF
|
||||||
|
|
||||||
/* size of the Interrupt Descriptor Table (IDT) */
|
/* size of the Interrupt Descriptor Table (IDT) */
|
||||||
#define IDT_SIZE 0x2000
|
#define IDT_SIZE 0x2000
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
||||||
* section will be stripped off in the final image.
|
* section will be stripped off in the final image.
|
||||||
*/
|
*/
|
||||||
#define IDT_BASE (RAM_BASE + RAM_SIZE)
|
#define IDT_BASE 0xFFFFDFFF
|
||||||
|
|
||||||
/* size of the Interrupt Descriptor Table (IDT) */
|
/* size of the Interrupt Descriptor Table (IDT) */
|
||||||
#define IDT_SIZE 0x2000
|
#define IDT_SIZE 0x2000
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
* Interrupt Descriptor Table (IDT). This is a bogus address as this
|
||||||
* section will be stripped off in the final image.
|
* section will be stripped off in the final image.
|
||||||
*/
|
*/
|
||||||
#define IDT_BASE (RAM_BASE + RAM_SIZE)
|
#define IDT_BASE 0xFFFFDFFF
|
||||||
|
|
||||||
/* size of the Interrupt Descriptor Table (IDT) */
|
/* size of the Interrupt Descriptor Table (IDT) */
|
||||||
#define IDT_SIZE 0x2000
|
#define IDT_SIZE 0x2000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue