diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-22 22:11:14 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-22 22:11:14 +0200 |
| commit | d67240d20d1d4bbe33134e640fd632cfd5fc6795 (patch) | |
| tree | 999395dbf586a8cb704376024de60f7d80f21f4e /dev/boot | |
| parent | 70756582de9f79eb2961c7aa91f1b0cdfe11cfc4 (diff) | |
dev, kernel: WiP changes done to kernel and SysChk module.
- Getting SysChk to work again.
- Refactor scheduler.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/boot')
| -rw-r--r-- | dev/boot/modules/SysChk/SysChk.cc | 2 | ||||
| -rw-r--r-- | dev/boot/src/HEL/AMD64/BootEFI.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dev/boot/modules/SysChk/SysChk.cc b/dev/boot/modules/SysChk/SysChk.cc index 1b1de6f4..9bdeb38d 100644 --- a/dev/boot/modules/SysChk/SysChk.cc +++ b/dev/boot/modules/SysChk/SysChk.cc @@ -31,6 +31,8 @@ EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover) NE_UNUSED(handover); #if defined(__ATA_PIO__) + fw_init_efi((EfiSystemTable*)handover->f_FirmwareCustomTables[1]); + Boot::BootTextWriter writer; Boot::BDiskFormatFactory<BootDeviceATA> partition_factory; diff --git a/dev/boot/src/HEL/AMD64/BootEFI.cc b/dev/boot/src/HEL/AMD64/BootEFI.cc index 85b7f729..ae6d4deb 100644 --- a/dev/boot/src/HEL/AMD64/BootEFI.cc +++ b/dev/boot/src/HEL/AMD64/BootEFI.cc @@ -164,7 +164,7 @@ EFI_EXTERN_C EFI_API Int32 BootloaderMain(EfiHandlePtr image_handle, Int32 trials = 5 * 10000000; - writer.Write("BootZ: Allocating sufficent memory, trying with 4GB...\r"); + writer.Write("BootZ: Allocating sufficent memory, trying 4GB...\r"); while (BS->AllocatePool(EfiLoaderData, handover_hdr->f_BitMapSize, &handover_hdr->f_BitMapStart) != kEfiOk) { |
