From e3e25ba6822ec8545d8fad5d1d30115af874525b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 31 Mar 2025 19:06:39 +0200 Subject: boot/efi: a set of important patches regarding efi bootz. Signed-off-by: Amlal El Mahrouss --- dev/kernel/FirmwareKit/EFI/EFI.h | 14 +++----------- dev/kernel/KernelKit/DebugOutput.h | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'dev/kernel') diff --git a/dev/kernel/FirmwareKit/EFI/EFI.h b/dev/kernel/FirmwareKit/EFI/EFI.h index 3c3ffa09..1e6de42c 100644 --- a/dev/kernel/FirmwareKit/EFI/EFI.h +++ b/dev/kernel/FirmwareKit/EFI/EFI.h @@ -201,18 +201,10 @@ typedef enum EfiAllocateType typedef struct EfiMemoryDescriptor { - /// - /// Kind of the memory region. - /// Kind EFI_MEMORY_TYPE is defined in the - /// AllocatePages() function description. - /// + /// @brief Kind of the memory region. UInt32 Kind; - /// - /// Physical address of the first byte in the memory region. PhysicalStart - /// must be aligned on a 4 KiB boundary, and must not be above - /// 0xfffffffffffff000. Kind EFI_PHYSICAL_ADDRESS is defined in the - /// AllocatePages() function description - /// + + /// @brief Physical address of the first byte in the memory region. PhysicalStart EfiPhysicalAddress PhysicalStart; /// /// Virtual address of the first byte in the memory region. diff --git a/dev/kernel/KernelKit/DebugOutput.h b/dev/kernel/KernelKit/DebugOutput.h index cb22ac6b..448e6208 100644 --- a/dev/kernel/KernelKit/DebugOutput.h +++ b/dev/kernel/KernelKit/DebugOutput.h @@ -208,6 +208,6 @@ namespace Kernel #undef kout #endif // ifdef kout -#define kout Kernel::TerminalDevice::The() << "[NeKernel] *" << __FILE__ << "*: " +#define kout Kernel::TerminalDevice::The() #define kendl Kernel::TerminalDevice::The() << Kernel::end_line() -- cgit v1.2.3