Kernel/LibC: userspace malloc now uses mmap to get memory

We could remove syscalls to allocate more memory. This was not
something the kernel should have done.
This commit is contained in:
Bananymous
2023-09-23 02:26:23 +03:00
parent af4af1cae9
commit 6bb2c80bdd
6 changed files with 225 additions and 45 deletions

View File

@@ -12,9 +12,6 @@ __BEGIN_DECLS
#define SYS_CLOSE 5
#define SYS_OPEN 6
#define SYS_OPENAT 7
#define SYS_ALLOC 8
#define SYS_REALLOC 9
#define SYS_FREE 10
#define SYS_SEEK 11
#define SYS_TELL 12
#define SYS_GET_TERMIOS 13