Order Number: AN1809/DRev. 0, 3/2000 Semiconductor Products Sector This document contains information on a new product under development by Motorola.
10 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Sample Boot Sequence PRAM_BASE ppcinit.h The start address of the address ra
A Minimal PowerPCª Boot Sequence for 11 Executing Compiled C Programs Sample Boot Sequence Table 7 shows the default BAT register values. Table 7.
12 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Sample Boot Sequence Each of these options can be conÞgured in order to cust
A Minimal PowerPCª Boot Sequence for 13 Executing Compiled C Programs Sample Boot Sequence 4.4 Code Relocation The code relocation depends on varia
14 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Sample Boot Sequence The transition from .S and .c Þles to .o Þles is accomp
A Minimal PowerPCª Boot Sequence for 15 Executing Compiled C Programs Sample Boot Sequence The example .text section is located at 0xFFF0_0000 in th
16 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Sample Boot Sequence *(.dynamic);_final_data_end = .;}/* Now save off the st
A Minimal PowerPCª Boot Sequence for 17 Executing Compiled C Programs Sample Boot Sequence 4.6 Using the Sample Boot Sequence Using the sample boot
18 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Sample Boot Sequence 4.7 Limitations of the Sample Boot Sequence The sample
A Minimal PowerPCª Boot Sequence for 19 Executing Compiled C Programs Source Files Part V Source FilesThe following sections contain the complete s
2 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Overview Part I Overview The procedures discussed in this document perform o
20 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files // hereÕs the real startup code, located outside the exception vect
A Minimal PowerPCª Boot Sequence for 21Executing Compiled C ProgramsSource Files// turn off the L2I global invalidate bitmfspr r3, l2crrlwinm r3,r3,0,
22 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files // get the start address of the main routine of the code we want to
A Minimal PowerPCª Boot Sequence for 23Executing Compiled C ProgramsSource Filesaddis r1,r0,STACK_LOC@h // STACK_LOC defined in ppcinit.hori r1
24 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files //-----------------------------------------------------------------
A Minimal PowerPCª Boot Sequence for 25Executing Compiled C ProgramsSource Filescont1:lwzx r5,0,r4stwx r5,0,r3lwzx r8,0,r3cmp 0,0,r8,r5bne erroraddi r
26 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files setup_bats:addis r0,r0,0x0000addis r4,r0,IBAT0L_VAL@hori r4,r4,IBAT
A Minimal PowerPCª Boot Sequence for 27Executing Compiled C ProgramsSource Filesaddis r4,r0,IBAT3L_VAL@hori r4,r4,IBAT3L_VAL@l addis r3,r0,IBAT3
28 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files #ifdef MPC603erlwinm r6,r5,0,22,20mtspr hid0,r6#endifblr//---------
A Minimal PowerPCª Boot Sequence for 29Executing Compiled C ProgramsSource Files//--------------------------------------------------------------------
A Minimal PowerPCª Boot Sequence for 3 Executing Compiled C Programs PowerPC Processor Initialization 2.2 Memory Management Unit A boot program wil
30 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files * RAM type = burst SRAM * Output Hold = 0.5ns * * These may need
A Minimal PowerPCª Boot Sequence for 31Executing Compiled C ProgramsSource Files#define DBAT0L_VALIBAT0L_VAL#define DBAT0U_VALIBAT0U_VAL#define IBAT1L
32 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files #define dbat3u 542#define dbat3l 543#define pvr 287#define l2cr 101
A Minimal PowerPCª Boot Sequence for 33Executing Compiled C ProgramsSource Files#define L2CR_L2I 0x00200000 /* bit 10 Global invalidate bit */#define
34 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files DATA_START = DEFINED(DATA_START) ? DATA_START : (((ADDR(.text) + SI
A Minimal PowerPCª Boot Sequence for 35Executing Compiled C ProgramsSource Files .debug_pubnames 0 : {*(.debug_pubnames)} .debug_sfnames 0 : {*(.deb
36 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files LDFLAGS += -Wl,--defsym,DATA_START=$(DATA_START) \-Wl,--defsym,IMAG
A Minimal PowerPCª Boot Sequence for 37Executing Compiled C ProgramsSource Files
38 A Minimal PowerPCª Boot Sequence for Executing Compiled C ProgramsSource Files
A Minimal PowerPCª Boot Sequence for 39Executing Compiled C ProgramsSource Files
4 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s PowerPC Processor Initialization The procedure for initializing a pair of BAT
Information in this document is provided solely to enable system and software implementers to use PowerPC microprocessors. There are no expressor impl
A Minimal PowerPCª Boot Sequence for 5 Executing Compiled C Programs PowerPC Processor Initialization In addition, the programmer may specify the me
6 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s PowerPC Processor Initialization When the MMU setup completes, the MMU may be
A Minimal PowerPCª Boot Sequence for 7 Executing Compiled C Programs PowerPC EABI Compliance Part III PowerPC EABI Compliance The PowerPC EABI spec
8 A Minimal PowerPCª Boot Sequence for Executing Compiled C Program s Sample Boot Sequence Much of the required EABI register setup is accomplished
A Minimal PowerPCª Boot Sequence for 9 Executing Compiled C Programs Sample Boot Sequence 4.1 ConÞgurable Options The design of the sample boot seq
Commentaires sur ces manuels