summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/modules/BootNet/BootNet.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/boot/modules/BootNet/BootNet.h')
-rw-r--r--dev/boot/modules/BootNet/BootNet.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/boot/modules/BootNet/BootNet.h b/dev/boot/modules/BootNet/BootNet.h
index 4f795861..c8432d93 100644
--- a/dev/boot/modules/BootNet/BootNet.h
+++ b/dev/boot/modules/BootNet/BootNet.h
@@ -17,17 +17,17 @@
#define kNetBootNameLen (256U)
/// @brief the internet header is used to download updates OTA.
-typedef struct NETBOOT_INTERNET_HEADER
+typedef struct BOOTNET_INTERNET_HEADER
{
Kernel::Char NB1; /// magic char 1 'N'
Kernel::Char NB2; /// magic char 2 'E'
Kernel::Char NB3; /// magic char 3 'T'
Kernel::Char NB4; /// magic char 4 'B'
- Kernel::Char PatchName[kNetBootNameLen]; /// example: Modjo
- Kernel::Int32 PatchLength; /// the patch length.
- Kernel::Char PatchTarget[kNetBootNameLen]; /// the target file.
- Kernel::Boolean EEPROM : 1; /// does it imply an EEPROM reprogram?
- Kernel::Boolean Preflight : 1; /// is it a preflight packet.
- Kernel::Char PatchData[]; /// non preflight packet has a patch blob for a **PatchTarget**
-} ATTRIBUTE(packed) NETBOOT_INTERNET_HEADER;
+ Kernel::Char Name[kNetBootNameLen]; /// example: Modjo
+ Kernel::Int32 Length; /// the patch length.
+ Kernel::Char Target[kNetBootNameLen]; /// the target file.
+ Kernel::Boolean ImpliesEEPROM : 1; /// does it imply an EEPROM reprogram?
+ Kernel::Boolean Preflight : 1; /// is it a preflight packet.
+ Kernel::Char Data[]; /// non preflight packet has a patch blob for a **PatchTarget**
+} ATTRIBUTE(packed) BOOTNET_INTERNET_HEADER;