syscall: add mmap and munmap

This commit is contained in:
Michael Shaw 2025-03-05 20:43:14 -05:00
commit 0870bd8737
6 changed files with 41 additions and 4 deletions

View file

@ -17,6 +17,8 @@
#define PAGE_PWT 0x8
#define PAGE_PCD 0x10
#define MAP_ANONYMOUS 0x20
#ifndef __ASM__
#define ALIGN(_a) __attribute__((aligned(_a)))