|
@@ -21,7 +21,7 @@ Design Notes on Exporting U-Boot Functions to Standalone Applications:
|
|
2. The pointer to the jump table is passed to the application in a
|
|
2. The pointer to the jump table is passed to the application in a
|
|
machine-dependent way. PowerPC, ARM, MIPS and Blackfin architectures
|
|
machine-dependent way. PowerPC, ARM, MIPS and Blackfin architectures
|
|
use a dedicated register to hold the pointer to the 'global_data'
|
|
use a dedicated register to hold the pointer to the 'global_data'
|
|
- structure: r2 on PowerPC, r8 on ARM, k0 on MIPS, and P5 on Blackfin.
|
|
|
|
|
|
+ structure: r2 on PowerPC, r8 on ARM, k0 on MIPS, and P3 on Blackfin.
|
|
The x86 architecture does not use such a register; instead, the
|
|
The x86 architecture does not use such a register; instead, the
|
|
pointer to the 'global_data' structure is passed as 'argv[-1]'
|
|
pointer to the 'global_data' structure is passed as 'argv[-1]'
|
|
pointer.
|
|
pointer.
|