LibC: Add all of the missing POSIX definitions in unistd.h and limits.h

This commit is contained in:
2025-06-01 05:05:08 +03:00
parent df7f245cf8
commit 91756c057e
4 changed files with 768 additions and 139 deletions

View File

@@ -12,6 +12,7 @@
#error
#endif
#undef PAGE_SIZE
#define PAGE_SIZE ((uintptr_t)4096)
#define PAGE_SIZE_SHIFT 12
#define PAGE_ADDR_MASK (~(uintptr_t)0xFFF)