deal with different reset vector addresses
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1052 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
cc6b6c4c83
commit
06550b75e5
|
@ -5,26 +5,16 @@
|
||||||
#include "ppcreg.h"
|
#include "ppcreg.h"
|
||||||
#include <ppc_asm.tmpl>
|
#include <ppc_asm.tmpl>
|
||||||
|
|
||||||
.section ".rom.data", "a", @progbits
|
.section ".rom.reset", "ax", @progbits
|
||||||
.section ".rom.text", "ax", @progbits
|
|
||||||
|
|
||||||
.globl _start
|
.globl _start
|
||||||
.type _start, @function
|
|
||||||
.globl __bss_end
|
|
||||||
.globl __start_address_check
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Locate at hreset vector
|
|
||||||
*/
|
|
||||||
.space (0x100)
|
|
||||||
|
|
||||||
_start:
|
_start:
|
||||||
b system_reset
|
b system_reset
|
||||||
|
|
||||||
/*
|
%%EXCEPTION_VECTOR_TABLE%%
|
||||||
* Space for exception table
|
|
||||||
*/
|
.section ".rom.data", "a", @progbits
|
||||||
.space (0x3000)
|
.section ".rom.text", "ax", @progbits
|
||||||
|
|
||||||
system_reset:
|
system_reset:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue