diff options
| author | Amlal <amlal@zka.com> | 2024-07-17 11:47:56 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-07-17 11:47:56 +0200 |
| commit | 9e9a4f09ae2ea33ffc12855071753a987a6b798d (patch) | |
| tree | bf70c29f8dbdbf47b7d3ceb8130681d65d2f0c0a /Kernel/HALKit | |
| parent | 7753fb12b4350b26c2182e4de870451b3328a1fc (diff) | |
[IMP] Automount FS property.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Kernel/HALKit')
| -rw-r--r-- | Kernel/HALKit/AMD64/HalKernelMain.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Kernel/HALKit/AMD64/HalKernelMain.cxx b/Kernel/HALKit/AMD64/HalKernelMain.cxx index fcd12247..9c7f571e 100644 --- a/Kernel/HALKit/AMD64/HalKernelMain.cxx +++ b/Kernel/HALKit/AMD64/HalKernelMain.cxx @@ -27,6 +27,7 @@ Kernel::Property cKernelVersion; +Kernel::Property cAutoFormatDisk; /// @brief This symbol is the kernel main symbol. EXTERN_C void KeMain(); @@ -216,12 +217,17 @@ EXTERN_C void hal_init_platform( kSyscalls[cLPCSanitizeMsg].Leak().Leak()->fHooked = true; // newoskrnl version 1.00 - // Kernel::StringView strVer(cMaxPropLen); strVer += "\\Properties\\KernelVersion"; cKernelVersion.GetKey() = strVer; - cKernelVersion.GetValue() = 1100; + cKernelVersion.GetValue() = 100; + + Kernel::StringView strAutoMount(cMaxPropLen); + strAutoMount += "\\Properties\\AutoMountFS?"; + + cAutoFormatDisk.GetKey() = strAutoMount; + cAutoFormatDisk.GetValue() = Yes; Kernel::HAL::hal_system_get_cores(kHandoverHeader->f_HardwareTables.f_RsdPtr); |
