syscall.sh / parisc / time
time
get time in seconds
sys_time32(old_time32_t *tloc)
| number | 13 (0xd) |
|---|---|
| abi | 32 |
| entry point | sys_time32 |
| since | Linux 5.0 |
| man page | time(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 13, the syscall number |
r26 | old_time32_t *tloc |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/time