mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 10:01:32 +00:00
doc: fix README.standalone
Since commit fe1378a961
(ARM: use r9 for gd), r9 register
is used on ARM to hold global_data.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
17da712024
commit
6a10560ce7
1 changed files with 1 additions and 1 deletions
|
@ -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, Blackfin and Nios II
|
machine-dependent way. PowerPC, ARM, MIPS, Blackfin and Nios II
|
||||||
architectures use a dedicated register to hold the pointer to the
|
architectures use a dedicated register to hold the pointer to the
|
||||||
'global_data' structure: r2 on PowerPC, r8 on ARM, k0 on MIPS,
|
'global_data' structure: r2 on PowerPC, r9 on ARM, k0 on MIPS,
|
||||||
P3 on Blackfin and gp on Nios II. The x86 architecture does not
|
P3 on Blackfin and gp on Nios II. The x86 architecture does not
|
||||||
use such a register; instead, the pointer to the 'global_data'
|
use such a register; instead, the pointer to the 'global_data'
|
||||||
structure is passed as 'argv[-1]' pointer.
|
structure is passed as 'argv[-1]' pointer.
|
||||||
|
|
Loading…
Add table
Reference in a new issue