summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/FirmwareKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-29 08:39:20 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-29 08:39:20 +0100
commit5b1bb6cc086047e99a1d246fd2d337bf76887bd8 (patch)
tree893b0b62b758aad059fb7889e3c5436e37c4f531 /dev/Kernel/FirmwareKit
parentc973c9de6ff9b52675d7144fc5d5a3b42ccf1c36 (diff)
META: Ran format command.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/FirmwareKit')
-rw-r--r--dev/Kernel/FirmwareKit/EFI/EFI.h19
-rw-r--r--dev/Kernel/FirmwareKit/EPM.h36
2 files changed, 26 insertions, 29 deletions
diff --git a/dev/Kernel/FirmwareKit/EFI/EFI.h b/dev/Kernel/FirmwareKit/EFI/EFI.h
index bca77f32..45788a0c 100644
--- a/dev/Kernel/FirmwareKit/EFI/EFI.h
+++ b/dev/Kernel/FirmwareKit/EFI/EFI.h
@@ -576,7 +576,7 @@ typedef struct EfiSimpleTextOutputProtocol
typedef struct
{
- UInt16 ScanCode;
+ UInt16 ScanCode;
EfiChar16Type UnicodeChar;
} EfiInputKey;
@@ -586,21 +586,18 @@ typedef EfiStatusType(EFI_API* EfiInputReadKey)(
typedef EfiStatusType(EFI_API* EfiInputReset)(
IN EfiSimpleTextInputProtocol* This,
- IN Boolean ExtendedChk );
+ IN Boolean ExtendedChk);
-typedef
-EfiStatusType
-(EFI_API *EfiWaitForEvent) (
- IN UInt32 NumberOfEvents,
- IN VoidPtr Event,
- OUT UInt32 *Index
- );
+typedef EfiStatusType(EFI_API* EfiWaitForEvent)(
+ IN UInt32 NumberOfEvents,
+ IN VoidPtr Event,
+ OUT UInt32* Index);
typedef struct EfiSimpleTextInputProtocol
{
- EfiInputReset Reset;
+ EfiInputReset Reset;
EfiInputReadKey ReadKeyStroke;
- EfiWaitForEvent WaitForKey;
+ EfiWaitForEvent WaitForKey;
} EfiSimpleTextInputProtocol;
/// @biref Open Volume procedure ptr.
diff --git a/dev/Kernel/FirmwareKit/EPM.h b/dev/Kernel/FirmwareKit/EPM.h
index 5be69baa..8987ae6f 100644
--- a/dev/Kernel/FirmwareKit/EPM.h
+++ b/dev/Kernel/FirmwareKit/EPM.h
@@ -80,18 +80,18 @@ typedef struct EPM_GUID
*/
struct PACKED EPM_BOOT_BLOCK
{
- Kernel::Char Magic[kEPMMagicLength];
- Kernel::Char Name[kEPMNameLength];
- EPM_GUID Guid;
- Kernel::Int32 Version;
- Kernel::Int64 NumBlocks;
- Kernel::Int64 SectorSz;
- Kernel::Int64 LbaStart; // base offset
- Kernel::Int64 LbaEnd; // addition of lba_start to get the end of partition.
- Kernel::Int16 Kind;
- Kernel::Int32 FsVersion;
- Kernel::Char Fs[kEPMFilesystemLength]; /* NeFS, ffs2... */
- Kernel::Char Reserved[kEPMReserveLen]; // to fill a full sector.
+ Kernel::Char Magic[kEPMMagicLength];
+ Kernel::Char Name[kEPMNameLength];
+ EPM_GUID Guid;
+ Kernel::Int32 Version;
+ Kernel::Int64 NumBlocks;
+ Kernel::Int64 SectorSz;
+ Kernel::Int64 LbaStart; // base offset
+ Kernel::Int64 LbaEnd; // addition of lba_start to get the end of partition.
+ Kernel::Int16 Kind;
+ Kernel::Int32 FsVersion;
+ Kernel::Char Fs[kEPMFilesystemLength]; /* NeFS, ffs2... */
+ Kernel::Char Reserved[kEPMReserveLen]; // to fill a full sector.
};
///! @brief Version kind enum.
@@ -99,12 +99,12 @@ struct PACKED EPM_BOOT_BLOCK
enum
{
- kEPMInvalid = 0x00,
- kEPMGenericOS = 0xcf, // Generic OS
- kEPMLinux = 0x8f, // Linux on EPM
- kEPMBSD = 0x9f, // Berkeley Soft. Distribution
- kEPMZkaOS = 0x1f, // This OS.
- kEPMInvalidOS = 0xff,
+ kEPMInvalid = 0x00,
+ kEPMGenericOS = 0xcf, // Generic OS
+ kEPMLinux = 0x8f, // Linux on EPM
+ kEPMBSD = 0x9f, // Berkeley Soft. Distribution
+ kEPMZkaOS = 0x1f, // This OS.
+ kEPMInvalidOS = 0xff,
};
typedef struct EPM_BOOT_BLOCK BOOT_BLOCK_STRUCT;