mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
Kernel: Add non standard value to sys$sysconf
Add `_SC_PHYS_PAGES` to sys$sysconf syscall. This value is needed for a port I'm working on.
This commit is contained in:
parent
c705afa43a
commit
7c0b360881
2 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,7 @@ enum {
|
|||
_SC_MAPPED_FILES,
|
||||
_SC_ARG_MAX,
|
||||
_SC_IOV_MAX,
|
||||
_SC_PHYS_PAGES,
|
||||
};
|
||||
|
||||
#define _SC_MONOTONIC_CLOCK _SC_MONOTONIC_CLOCK
|
||||
|
@ -60,6 +61,7 @@ enum {
|
|||
#define _SC_MAPPED_FILES _SC_MAPPED_FILES
|
||||
#define _SC_ARG_MAX _SC_ARG_MAX
|
||||
#define _SC_IOV_MAX _SC_IOV_MAX
|
||||
#define _SC_PHYS_PAGES _SC_PHYS_PAGES
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue