diff options
Diffstat (limited to 'dev/boot/modules/BootNet')
| -rw-r--r-- | dev/boot/modules/BootNet/BootNet.cc | 2 | ||||
| -rw-r--r-- | dev/boot/modules/BootNet/BootNet.h | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/dev/boot/modules/BootNet/BootNet.cc b/dev/boot/modules/BootNet/BootNet.cc index b4c1408f..4b7e5c30 100644 --- a/dev/boot/modules/BootNet/BootNet.cc +++ b/dev/boot/modules/BootNet/BootNet.cc @@ -11,7 +11,7 @@ #include <BootKit/BootKit.h> #include <BootKit/BootThread.h> -EXTERN_C Int32 ModuleMain(NeOS::HEL::BootInfoHeader* handover) +EXTERN_C Int32 ModuleMain(Kernel::HEL::BootInfoHeader* handover) { NETBOOT_INTERNET_HEADER inet{}; diff --git a/dev/boot/modules/BootNet/BootNet.h b/dev/boot/modules/BootNet/BootNet.h index cde30658..4f795861 100644 --- a/dev/boot/modules/BootNet/BootNet.h +++ b/dev/boot/modules/BootNet/BootNet.h @@ -19,15 +19,15 @@ /// @brief the internet header is used to download updates OTA. typedef struct NETBOOT_INTERNET_HEADER { - NeOS::Char NB1; /// magic char 1 'N' - NeOS::Char NB2; /// magic char 2 'E' - NeOS::Char NB3; /// magic char 3 'T' - NeOS::Char NB4; /// magic char 4 'B' + 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' - NeOS::Char PatchName[kNetBootNameLen]; /// example: Modjo - NeOS::Int32 PatchLength; /// the patch length. - NeOS::Char PatchTarget[kNetBootNameLen]; /// the target file. - NeOS::Boolean EEPROM : 1; /// does it imply an EEPROM reprogram? - NeOS::Boolean Preflight : 1; /// is it a preflight packet. - NeOS::Char PatchData[]; /// non preflight packet has a patch blob for a **PatchTarget** + 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; |
