aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc
diff options
context:
space:
mode:
authorMarvin Borner2021-03-20 21:55:52 +0100
committerMarvin Borner2021-03-20 21:55:52 +0100
commit535018ae7247ede06606e4d8aced2d12c761f28f (patch)
tree7713c8e02ca26b2a51370e26cbc2a37437c53179 /kernel/inc
parent5132bac014d63331acf61bb60b9254023f76b869 (diff)
Reimplemented memory range validation
Diffstat (limited to 'kernel/inc')
-rw-r--r--kernel/inc/load.h1
-rw-r--r--kernel/inc/mm.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/load.h b/kernel/inc/load.h
index 28bdc54..54ace4e 100644
--- a/kernel/inc/load.h
+++ b/kernel/inc/load.h
@@ -105,7 +105,6 @@ struct elf_program {
u32 align;
};
-s32 bin_load(const char *path, struct proc *proc);
s32 elf_load(const char *path, struct proc *proc);
#endif
diff --git a/kernel/inc/mm.h b/kernel/inc/mm.h
index 5a307b2..e506331 100644
--- a/kernel/inc/mm.h
+++ b/kernel/inc/mm.h
@@ -112,6 +112,7 @@ void memory_backup_dir(struct page_dir **backup);
// Bypass should almost never be used
void memory_bypass_enable(void);
void memory_bypass_disable(void);
+u8 memory_is_user(u32 addr);
u8 memory_valid(const void *addr);
void memory_install(struct mem_info *mem_info, struct vid_info *vid_info);