diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-11-18 16:40:51 -0800 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-11-18 16:40:51 -0800 |
commit | 5bcc08d92ae9345d6863f555a3dd9ec960e0860f (patch) | |
tree | c0fc5dba61ee770d5757ffb9702d61d277d122a1 /sys/linux/port/arch/constants.h | |
parent | 4bf477d5ed372fd44697d2f0df245b61b4f3f7b3 (diff) |
feat: filling out system layer's interface
Diffstat (limited to 'sys/linux/port/arch/constants.h')
-rw-r--r-- | sys/linux/port/arch/constants.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sys/linux/port/arch/constants.h b/sys/linux/port/arch/constants.h deleted file mode 100644 index b8d3878..0000000 --- a/sys/linux/port/arch/constants.h +++ /dev/null @@ -1,45 +0,0 @@ -#pragma once - -/* open */ -#define sys·OCreate 0x40u -#define sys·ONoTTY 0x100u -#define sys·OTrunc 0x200u -#define sys·OAppend 0x400u -#define sys·ONoBlock 0x800u -#define sys·OSync 0x1000u -#define sys·OAsync 0x2000u -#define sys·OLargeFile 0x8000u -#define sys·ODirectory 0x10000u -#define sys·ONoFollow 0x20000u -#define sys·OTmpFile 0x410000u - -/* mmap */ -#define sys·ProtNone 0 -#define sys·ProtRead 1 -#define sys·ProtWrite 2 -#define sys·ProtExec 4 -#define sys·ProtGrowsDown 0x01000000 -#define sys·ProtGrowsUp 0x02000000 - -#define sys·MapFile 0 -#define sys·MapShared 0x01 -#define sys·MapPrivate 0x02 -#define sys·MapSharedValidate 0x03 -#define sys·MapType 0x0f -#define sys·MapFixed 0x10 -#define sys·MapAnon 0x20 -#define sys·MapNoReserve 0x4000 -#define sys·MapGrowsDown 0x0100 -#define sys·MapDenyWrite 0x0800 -#define sys·MapExecutable 0x1000 -#define sys·MapLocked 0x2000 -#define sys·MapPopulate 0x8000 -#define sys·MapNonBlock 0x10000 -#define sys·MapStack 0x20000 -#define sys·MapHugetlb 0x40000 -#define sys·MapSync 0x80000 -#define sys·MapFixedNoReplace 0x100000 - -#define sys·RemapCanMove 1 -#define sys·RemapFixed 2 -#define sys·RemapNoUnmap 4 |