Added comment about the use of some special purpose registers.
Haven't found a better place yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e525ca0a4d
commit
c9eb843c35
@ -159,4 +159,15 @@ enum ppc_processor_version {
|
||||
MPC8245 = 0x8081,
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
Use of (some) special purpose registers.
|
||||
|
||||
SPRG0: per CPU physical address pointer to an ppc_cpu_exception_context
|
||||
structure
|
||||
SPRG1: scratch
|
||||
SPRG2: current struct thread*
|
||||
SPRG3: TLS base pointer (only for userland threads)
|
||||
*/
|
||||
|
||||
#endif /* _KERNEL_ARCH_PPC_CPU_H */
|
||||
|
Loading…
Reference in New Issue
Block a user