X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=doc%2FREADME.standalone;h=885c92fb3a27d969c0b60bbbf2174dedcb2deccb;hb=b7659ef2e764f62fc334f0d970721496823e4888;hp=3495f54f588474b1194a6f4da33f671caea6028b;hpb=4c58eb5552220e425c8af6ac8d2839244a2f57b1;p=u-boot diff --git a/doc/README.standalone b/doc/README.standalone index 3495f54f58..885c92fb3a 100644 --- a/doc/README.standalone +++ b/doc/README.standalone @@ -21,9 +21,10 @@ 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 and Blackfin architectures use a dedicated register to hold the pointer to the 'global_data' - structure: r29 on PowerPC, r8 on ARM, k0 on MIPS, and P5 on Blackfin. - The x86 architecture does not use such a register; instead, the pointer - to the 'global_data' structure is passed as 'argv[-1]' pointer. + 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 + pointer to the 'global_data' structure is passed as 'argv[-1]' + pointer. The application can access the 'global_data' structure in the same way as U-Boot does: