forked from lolo859/vystem
Vystem 0.2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user