Linux Standard Base Core Specification for PPC32 3.1 | ||
---|---|---|
<<< Previous | Chapter 8. Low Level System Information | Next >>> |
LSB-conforming applications shall use the Process initialization as defined in Chapter 3, Section "Process Initialization" of the System V Application Binary Interface PowerPC Processor Supplement.
Contrary to what is stated in the Registers part of chapter 3 of the System V Application Binary Interface PowerPC Processor Supplement there are no values set in registers r3, r4, r5, r6 and r7. Instead the values specified to appear in all of those registers except r7 are placed on the stack. The value to be placed into register r7, the termination function pointer is not passed to the process.
Figure 3-31 in System V Application Binary Interface PowerPC Processor Supplement is incorrect. The initial stack must look like the following.
In addition to the types defined in Chapter 3, Section "Process Initialization", Subsection "Process Stack" of the System V Application Binary Interface PowerPC Processor Supplement the following are also supported:
Table 8-2. Extra Auxiliary Types
Name | Value | Comment |
---|---|---|
AT_NOTELF | 10 | Program is not ELF |
AT_UID | 11 | Real uid |
AT_EUID | 12 | Effective uid |
AT_GID | 13 | Real gid |
AT_EGID | 14 | Effective gid |
AT_PLATFORM | 15 | String identifying CPU for optimizations |
AT_HWCAP | 16 | Arch dependent hints at CPU capabilities |
AT_CLKTCK | 17 | Frequency at which times() increments |
AT_DCACHEBSIZE | 19 | The a_val member of this entry gives the data cache block size for processors on the system on which this program is running. If the processors have unified caches, AT_DCACHEBSIZE is the same as AT_UCACHEBSIZE |
AT_ICACHEBSIZE | 20 | The a_val member of this entyr gives the instruction cache block size for processors on the system on which this program is running. If the processors have unified caches, AT_DCACHEBSIZE is the same as AT_UCACHEBSIZE. |
AT_UCACHEBSIZE | 21 | The a_val member of this entry is zero if the processors on the system on which this program is running do not have a unified instruction and data cache. Otherwise it gives the cache block size. |
AT_IGNOREPPC | 22 | All entries of this type should be ignored. |
The last three entries in the table above override the values specified in System V Application Binary Interface PowerPC Processor Supplement.
<<< Previous | Home | Next >>> |
Operating System Interface | Up | Coding Examples |