summaryrefslogtreecommitdiffhomepage
path: root/Boot/NetBoot/NetBoot.hxx
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-06-13 06:32:06 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-06-13 06:32:06 +0000
commit36ff25861676cd1f5fb94b901fa59b015c614bc5 (patch)
tree92d68c0e4ba1eeb0d608a917bfdc587909260e13 /Boot/NetBoot/NetBoot.hxx
parent4e75e05a20ddd0dbca982e8f3bc2ea8043ed3a3f (diff)
parenta0b3442fe9978093326dc29d0938f1116eadd147 (diff)
Merged in MHR-23 (pull request #15)
MHR-23
Diffstat (limited to 'Boot/NetBoot/NetBoot.hxx')
-rw-r--r--Boot/NetBoot/NetBoot.hxx17
1 files changed, 16 insertions, 1 deletions
diff --git a/Boot/NetBoot/NetBoot.hxx b/Boot/NetBoot/NetBoot.hxx
index d45f1de1..ccb43290 100644
--- a/Boot/NetBoot/NetBoot.hxx
+++ b/Boot/NetBoot/NetBoot.hxx
@@ -2,7 +2,7 @@
* ========================================================
*
* NetBoot
- * Copyright SoftwareLabs, all rights reserved.
+ * Copyright Zeta Electronics Corporation, all rights reserved.
*
* ========================================================
*/
@@ -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;
+