/******************************************************************** * Vector Table * Execution Starts Here. Must be Linked to the appropriate Location. * Startup is absolute address 0x00000000. ********************************************************************/ .section ".text" .section .text.vectors,"ax",@progbits .globl vectors // Base Label of Vector Table. /********************************************************************/ /* .section .vectors*/ /***************************** * Vector Table Offsets *****************************/ #define vector_base 0x00000000 // Physical Vector Table base Address #define begin_vector 0x00000 // Vector Address where execution begins. (Not Reset). /***************************** * Standard PowerPC Vectors *****************************/ #define vector_SYSTEM_RESET 0x00100 // System reset. /************************************************************ * STANDARD POWERPC VECTORS ************************************************************/ .org vector_base vectors: /************************************************************ * BOOTSTRAP_ENTRY * * MACRO, defines standard Entry Point to run once the * Program has been loaded by the Bootstrap. * ************************************************************/ .org begin_vector+vector_base .globl BOOTSTRAP_ENTRY_FUNC BOOTSTRAP_ENTRY_FUNC: .globl RESET_ENTRY_FUNC .type BOOTSTRAP_ENTRY_FUNC, @function b RESET_ENTRY_FUNC BOOTSTRAP_ENTRY_FUNC_END: /************************************************************ * RESET_ENTRY * * MACRO, defines standard Entry Point to run as a reset of * the application. * ************************************************************/ .org vector_SYSTEM_RESET+vector_base .globl RESET_ENTRY_FUNC RESET_ENTRY_FUNC: b RESET_ENTRY_FUNC RESET_ENTRY_FUNC_END: