uregs[] Array
The uregs[] array enables you to access individual user registers. The following tables list indices into the uregs[] array corresponding to each supported Oracle Solaris system architecture.
Table 12-1 SPARC uregs[] Constants
| Constant | Register |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 12-2 x86 uregs[] Constants
| Constant | Register |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On AMD64 platforms, the uregs array has the same content as it does on x86 platforms, plus the additional elements listed in the following table:
Table 12-3 AMD64 uregs[] Constants
| Constant | Register |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The aliases listed in the following table can be used on all platforms:
| Constant | Register |
|---|---|
|
|
program counter register |
|
|
stack pointer register |
|
|
first return code |
|
|
second return code |