Vystem 0.2

This commit is contained in:
2026-05-27 19:34:54 +02:00
parent a43c08b893
commit d238606b75
372 changed files with 51320 additions and 83217 deletions

View File

@@ -2,6 +2,7 @@
#include "memory/page.h"
#include "kernel/log.h"
#include "std/mem.h"
#include "std/print.h"
__attribute__((section(".bss")))
static sh_uint8 memory_map_buffer[64*1024];
static sh_uint8 *physical_bitmap;
@@ -667,3 +668,6 @@ SH_STATUS sh_page_get_memory_stats(sh_page_MEM_STATS *mem_stats) {
mem_stats->memory_installed_bytes=physical_memory_installed;
return SH_STATUS_SUCCESS;
}
sh_uint64 sh_page_get_installed_memory_bytes() {
return physical_memory_installed;
}