diff options
author | William Bryan <wilbryan@us.ibm.com> | 2015-08-06 17:38:30 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2015-08-07 13:03:14 -0500 |
commit | 415a7a297bcd313516be30ae88277379f3377cc9 (patch) | |
tree | 5f7f7a8ecfb49e5ad6268d16efcc5ac5feadae1d /src/occ_405/linkocc.cmd | |
parent | c64c10490a90584ad69d12dd4fac1a4288a26c45 (diff) | |
download | talos-occ-415a7a297bcd313516be30ae88277379f3377cc9.tar.gz talos-occ-415a7a297bcd313516be30ae88277379f3377cc9.zip |
OCC405 Stripped Down and Compiles
Change-Id: Ic5c0536de429106975f5b5b0831c645d6f53e86c
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19650
Tested-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/linkocc.cmd')
-rwxr-xr-x | src/occ_405/linkocc.cmd | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/src/occ_405/linkocc.cmd b/src/occ_405/linkocc.cmd index 0deabc5..c44247c 100755 --- a/src/occ_405/linkocc.cmd +++ b/src/occ_405/linkocc.cmd @@ -83,6 +83,10 @@ OUTPUT_FORMAT(elf32-powerpc); #define writethrough_offset 0x10000000 #define writethrough_origin (origin - 0x10000000) +// This is the offset from the ppc405 EVPR where the debug pointers can be +// found. +#define SSX_DEBUG_PTRS_OFFSET 0x820 + // main()'s stack starts just below the boot branch. The bootloader will // align this address as needed. @@ -180,22 +184,22 @@ ppc405_mmu_asm.o(.text) #endif #define text_2000 \ -pgp_irq_init.o(.text) \ +occhw_irq_init.o(.text) \ ppc405_cache_init.o(.text) \ ppc405_breakpoint.o(.text) \ -pgp_cache.o(.text) \ +occhw_cache.o(.text) \ ssx_stack_init.o(.text) \ thread_text \ mmu_text \ -pgp_async.o(.text) \ -pgp_async_pore.o(.text) \ -pgp_async_ocb.o(.text) \ -pgp_async_pba.o(.text) \ -pgp_pmc.o(.text) \ -pgp_ocb.o(.text) \ -pgp_pba.o(.text) \ -pgp_id.o(.text) \ -pgp_centaur.o(.text) \ +occhw_async.o(.text) \ +//occhw_async_pore.o(.text) \ +occhw_async_ocb.o(.text) \ +occhw_async_pba.o(.text) \ +occhw_pmc.o(.text) \ +occhw_ocb.o(.text) \ +occhw_pba.o(.text) \ +occhw_id.o(.text) \ +//occhw_centaur.o(.text) \ ppc405_lib_core.o(.text) \ ssx_core.o(.text) @@ -241,7 +245,7 @@ ssx_core.o(.text) ssx_init.o(.text) \ ppc405_boot.o(.text) \ ppc405_init.o(.text) \ -pgp_init.o(.text) +occhw_init.o(.text) #ifndef PPC405_MMU_SUPPORT ASSERT((0), "OCC Application Firmware can not be compiled without \ @@ -289,10 +293,13 @@ SECTIONS .exceptions . : { ___vectors = .; - ppc405_exceptions.o(.vectors_0000) + ppc405_exceptions.o(.vectors_0000) pack_0000 . = ___vectors + 0x0100; ppc405_exceptions.o(.vectors_0100) + . = ___vectors + SSX_DEBUG_PTRS_OFFSET; + *(.debug_ptrs) + ppc405_exceptions.o(.irq_exit_traces) pack_0100 . = ___vectors + 0x0c00; ppc405_exceptions.o(.vectors_0c00) |