diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-27 22:51:16 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-27 22:51:16 +0200 |
| commit | cd87ca26b1d8f4472543f8ea64c1b9bebd9bcc33 (patch) | |
| tree | b97e7b4d3175e5b7f207cc394a6eb8e64a741443 /dev/kernel/FirmwareKit | |
| parent | 69265679315389a82387e963cc69a2b7343356b5 (diff) | |
fix: FirmwareKit/BootNet: Fix BootNet alias.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/FirmwareKit')
| -rw-r--r-- | dev/kernel/FirmwareKit/NeBoot/BootNet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev/kernel/FirmwareKit/NeBoot/BootNet.h b/dev/kernel/FirmwareKit/NeBoot/BootNet.h index 250d0bc8..ad8f07c5 100644 --- a/dev/kernel/FirmwareKit/NeBoot/BootNet.h +++ b/dev/kernel/FirmwareKit/NeBoot/BootNet.h @@ -24,13 +24,18 @@ typedef struct _BOOTNET_INTERNET_HEADER { Kernel::Char NB2; /// magic char 2 'N' Kernel::Char NB3; /// magic char 3 'E' Kernel::Char NB4; /// magic char 4 'T' + Kernel::UInt16 Version; + Kernel::Char Name[kBootNetNameLen]; /// example: Modjo + Kernel::Int32 Length; /// the patch length. Kernel::Char Target[kBootNetNameLen]; /// the target file. + Kernel::Boolean ImpliesProgram : 1; /// does it imply reprogramming? + Kernel::Boolean Preflight : 1; /// is it a preflight packet. Kernel::Char Data[1]; /// non preflight packet has a patch blob for a **PatchTarget** } PACKED BOOTNET_INTERNET_HEADER; -using BOOT_INTERNET_HEADER_PTR = BOOT_INTERNET_HEADER; +using BOOTNET_INTERNET_HEADER_PTR = BOOTNET_INTERNET_HEADER*; |
