Skip to contentSkip to conversation

doc: fix README.standalone

PATCH In review Masahiro Yamada 3 participants 3 messages Oct 21, 2014 – Oct 27, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: fix README.standalone

Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register is used on ARM to hold global_data.

---

 doc/README.standalone | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/README.standalone +1 -1
index 2be5f27..e3000ef 100644
@@ -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
    machine-dependent way. PowerPC, ARM, MIPS, Blackfin and Nios II
    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
    use such a register; instead, the pointer to the 'global_data'
    structure is passed as 'argv[-1]' pointer.
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 doc: fix README.standalone

Hello Masahiro,

Quoted 14 lines · Masahiro Yamada

Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register is used on ARM to hold global_data.

---

  doc/README.standalone | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
doc/README.standalone +0 -0
index 2be5f27..e3000ef 100644

doc/README.standalone Design Notes on Exporting U-Boot Functions to Standalone Applications: · line 27

Quoted 8 lines
doc/README.standalone +1 -1
@@ -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
     machine-dependent way. PowerPC, ARM, MIPS, Blackfin and Nios II
     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
     use such a register; instead, the pointer to the 'global_data'
     structure is passed as 'argv[-1]' pointer.

Thanks,
Jeroen

#2 lore raw
In reply to Masahiro Yamada
Quoted 5 lines · Masahiro Yamada

Since commit fe1378a961e5 (ARM: use r9 for gd), r9 register is used on ARM to hold global_data.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141027/db614938/attachment.pgp>