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:
@@ -85,6 +85,8 @@ static void parse_command_line()
|
||||
cmdline.disable_usb = true;
|
||||
else if (argument == "noacpi")
|
||||
cmdline.disable_acpi = true;
|
||||
else if (argument == "readonly")
|
||||
Kernel::g_disable_disk_write = true;
|
||||
else if (argument == "nodebug")
|
||||
g_disable_debug = true;
|
||||
else if (argument.starts_with("ps2="))
|
||||
|
||||
Reference in New Issue
Block a user