diff options
author | Marvin Borner | 2019-11-23 00:36:28 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-23 00:36:28 +0100 |
commit | 45d9495e77dba212551ae9bc8e09b51e9ed6d324 (patch) | |
tree | 1e8ead9a55b41fa009c28823ca7a9ac0b1b5b2fe /src/kernel/lib/memory.c | |
parent | 4b178c0feb4c415be36be0e4c0def8c447ed42af (diff) |
Tried implementing memory based paging...
Also did many other fixes/improvements.
While I think I did most things correct,
the ACPI doesn't work anymore (triple fault) and
the resolution detection fails with 0x2... :c
Diffstat (limited to 'src/kernel/lib/memory.c')
-rw-r--r-- | src/kernel/lib/memory.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c index 3132e05..0659406 100644 --- a/src/kernel/lib/memory.c +++ b/src/kernel/lib/memory.c @@ -1,7 +1,6 @@ #include <stddef.h> #include <stdint.h> #include <kernel/paging/paging.h> -#include <kernel/io/io.h> void *memcpy(void *dest, const void *src, size_t count) { const char *sp = (const char *) src; @@ -51,7 +50,6 @@ void memory_init() { } total_memory = maxbase + maxlength; total_memory /= 1024; - serial_write_dec(total_memory); } uint32_t memory_get_free() { |