syscall.sh / alpha / getpagesize
getpagesize
get memory page size
sys_getpagesize(void)
| number | 64 (0x40) |
|---|---|
| abi | common |
| entry point | sys_getpagesize |
| since | Linux 5.0 |
| man page | getpagesize(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 64, the syscall number |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/getpagesize