|
0 O+ y1 W/ `3 D: ^6 X/ Q9 N% e你好,具体怎么写这段代码?之前的cmd文件,将所有段都放在DDR2中,其中哪一句对应的功能是预留给RBL引导程序的空间?请指导一下,谢谢。
! \& G1 r$ A+ S' ~7 R: h0 H* ~SECTIONS" q4 l3 `% H# r$ G
{6 |' K% V% f! L ^$ _! R6 S
GROUP (NEAR_DP_RELATIVE)
4 A( s6 U( V1 M$ g {" ^/ s& x" q4 N" a6 R, Z
.neardata, w5 Z+ i. N' D7 b
.rodata
8 T9 ]0 J9 z. \) @' j" m9 F .bss
" C. c9 A; w" G( s( z; v } > DDR2' k; Q9 x; _, o( P6 W
6 ~. f) o3 O0 b# V' e
.cinit > DDR2 // Initialization Tables/ } G$ s5 z% R+ h, u; f/ v2 b
.pinit > DDR2 // Constructor Tables# {' L9 e9 F4 X* @4 p5 C/ u' w( v
.init_array > DDR2
1 i5 M( Z0 b* h) L/ P .const > DDR2 // Constant Data
5 ]: w$ G' o1 |( s* O7 O5 ^0 i .switch > DDR2 // Jump Tables, z$ W u* m! ^% V8 c& @
.text > DDR2 // Executable Code1 u: b3 T a) u! E! s
.text:_c_int00: > 0xC3000000 // Entrypoint% }" l$ X) I* \' x( ^1 W' x4 h
$ g5 K' @' s/ }" w' U: D" w0 C .far > DDR2 // Far Global & Static Variables
: y5 ^" U5 n2 t' _/ v. g1 i .fardata > DDR2
- T8 |2 t: h1 D j# S2 W/ t' { .stack > DDR2 // Software System Stack
; }" ]8 c0 N6 h7 @2 B$ t. Y1 ^ .sysmem > DDR2 // Dynamic Memory Allocation Area- m( F& l9 K' a- U o+ ]+ L' E1 N
3 e8 A, n; q% W, s2 N" k
.cio > DDR2 // C I/O Buffer
7 P5 A* ~- ~3 A1 A9 O3 i3 { .vecs > DDR2 // Interrupt Vectors R! D# u( A* F/ M0 C
} |
|