Kernel: Add command line option readonly

This prevents calls to write_sectors_impl and all dirty pages are always
kept in RAM.
This commit is contained in:
2024-11-27 13:31:55 +02:00
parent f985673dc3
commit 8dbbbc1a1a
5 changed files with 16 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ namespace Kernel
{
BootInfo g_boot_info;
bool g_disable_disk_write { false };
static MemoryMapEntry::Type bios_number_to_memory_type(uint32_t number)
{