๐๏ธKernel Arguments
How do the kernel arguments work? And how it affects the kernel?
Kernel Arguments are command-line parameters to the simulator that changes the behavior of the kernel according to the available arguments listed below:
attach
: Attaches a Visual Studio debugger to the current instance of the kernel (Windows only)quiet
: Starts the kernel quietlymaintenance
: Starts the kernel in maintenance mode which behaves like safe mode but with additional features turned offsafe
: Starts the kernel in safe mode which disables all modstestInteractive
: Opens the interactive test facade selectiondebug
: Enables debug modeterminaldebug
: Enables terminal debug modereset
: Wipes all settings and resets the kernel to factory settingsbypasssizedetection
: Bypasses the 80x24 console size detectionnoaltbuffer
: Prevents the kernel from using the alternative buffernoprebootsplash
: Prevents the kernel from displaying the pre-boot splashlang <lang>
: Selects a pre-boot environment languageverbosepreboot
: Shows extra pre-boot messages
Each argument is provided the ArgumentInfo
class that defines the argument and its properties.
It's been theorized that we can actually define the argument parameters using CommandArgumentInfo
. As of Beta 1, there is one kernel argument that actually uses parameters, but you have to surround said argument with the double quotation marks ""
.
The arguments are parsed each time the kernel starts up or gets rebooted. If there are any switches or argument parameters, they'll get parsed using the ProvidedArgumentsInfo
class.
To learn more about ProvidedArgumentsInfo
, click on the below link:
Last updated