diff options
author | dzwdz | 2021-07-17 19:58:02 +0200 |
---|---|---|
committer | dzwdz | 2021-07-17 19:58:02 +0200 |
commit | 6200bd2d95ad6ff9a65f8b97b9335353e3a52c5e (patch) | |
tree | a4d0d718f42e918f9dafc6b01e66e436cb3db713 /src/kernel/main.c | |
parent | f66140abab48d3c3c7910d1842b1daf3571d73ad (diff) |
detect the highest used memory address, and only allocate pages above it
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index d2f2e7f..761e499 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -9,7 +9,7 @@ void r3_test(); void kmain(struct kmain_info info) { log_write(info.init.at, info.init.size); log_const("mem..."); - mem_init(); + mem_init(&info); log_const("creating process..."); struct process *proc = process_new(r3_test); |