summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/modules/BootNet/BootNet.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
commitba7b3ed69cd24970a28b72c54982735cd120e663 (patch)
tree934b7645435ab1bfd2d8eb99fa861fc09e3dd5b4 /dev/boot/modules/BootNet/BootNet.h
parent2205e801a6e84238dc8cbbb8f9de5a675eae1d81 (diff)
kernel: breaking: Change namespace from NeOS to Kernel.
sched: Fix redundancy in NeKernel's user scheduler macros, refactored the other files using the redundant macros too. part one of a series of commit for NeKernel. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/boot/modules/BootNet/BootNet.h')
-rw-r--r--dev/boot/modules/BootNet/BootNet.h20
1 files changed, 10 insertions, 10 deletions
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;