mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 05:08:22 +00:00
gettid syscall, fix issues with vmm and mmap syscall
This commit is contained in:
@@ -11,5 +11,6 @@ typedef struct {
|
||||
|
||||
syscallret syscall_libc_log(char* str);
|
||||
syscallret syscall_mmap(void* hint, size_t len, int prot, int flags, int fd, off_t offset);
|
||||
syscallret syscall_gettid();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -55,7 +55,7 @@ typedef struct {
|
||||
|
||||
void vmm_init();
|
||||
|
||||
bool vmm_dealwithrequest(void* addr);
|
||||
bool vmm_dealwithrequest(void* addr, long error, bool user);
|
||||
bool vmm_setused(void* addr, size_t pagec, size_t mmuflags);
|
||||
bool vmm_unmap(void* addr, size_t pagec);
|
||||
bool vmm_map(void* paddr, void* vaddr, size_t pagec, size_t mmuflags);
|
||||
|
||||
Reference in New Issue
Block a user