summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/FirmwareKit/EFI/API.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-03 15:44:28 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-03 15:44:28 +0100
commitc7fe1ab6e2f97a7f0bfc6aaf97374f841fb63c0d (patch)
treeedfef006c63d73ef6b48b537b6f21295db6ffe9a /src/kernel/FirmwareKit/EFI/API.h
parent92bbadf36f8bdffed9090cb345e57fc252c5a133 (diff)
feat: syschk, hal{x64}: ATA PIO patches, reworked I/O system.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/FirmwareKit/EFI/API.h')
-rw-r--r--src/kernel/FirmwareKit/EFI/API.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/FirmwareKit/EFI/API.h b/src/kernel/FirmwareKit/EFI/API.h
index bbd0588b..fce2b411 100644
--- a/src/kernel/FirmwareKit/EFI/API.h
+++ b/src/kernel/FirmwareKit/EFI/API.h
@@ -1,4 +1,4 @@
-// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
@@ -71,8 +71,6 @@ inline void ThrowError(const EfiCharType* ErrorCode, const EfiCharType* Reason)
} // namespace Boot
inline void fw_init_efi(EfiSystemTable* SystemTable) {
- if (!SystemTable) return;
-
ST = SystemTable;
BS = ST->BootServices;
}