diff options
Diffstat (limited to 'Boot/NetBoot')
| -rw-r--r-- | Boot/NetBoot/Module.cxx | 2 | ||||
| -rw-r--r-- | Boot/NetBoot/NetBoot.hxx | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/Boot/NetBoot/Module.cxx b/Boot/NetBoot/Module.cxx index cf3a9542..472b9a5b 100644 --- a/Boot/NetBoot/Module.cxx +++ b/Boot/NetBoot/Module.cxx @@ -12,7 +12,7 @@ EXTERN_C Int32 ModuleMain(Void) { - /// - Find a network drive called "/Remote/NewOSKrnl" + /// - Find a network drive called "/Remote/newoskrnl" /// - Download our image /// - Boot from it. diff --git a/Boot/NetBoot/NetBoot.hxx b/Boot/NetBoot/NetBoot.hxx index 5cac6945..ccb43290 100644 --- a/Boot/NetBoot/NetBoot.hxx +++ b/Boot/NetBoot/NetBoot.hxx @@ -10,3 +10,18 @@ #pragma once #include <NewKit/Defines.hpp> + +/// @brief the internet header is used to download updates OTA. +typedef struct NetBootInternetHeader +{ + CharacterTypeUTF8 NB1; /// magic char 1 'N' + CharacterTypeUTF8 NB2; /// magic char 2 'E' + CharacterTypeUTF8 NB3; /// magic char 3 'T' + CharacterTypeUTF8 NB4; /// magic char 4 'B' + + CharacterTypeUTF8 PatchName[255]; /// example: ColdChoco + NewOS::Int32 PatchLength; /// the patch length. + CharacterTypeUTF8 PatchTarget[255]; /// the target file. + NewOS::Boolean ImpliesROM; /// does it implies EEPROM patching? +} NetBootInternetHeader; + |
