From 9034d32c7b60dedbdbdb66f42d9b147cb2aa9a60 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 28 Mar 2025 05:17:08 +0100 Subject: bootz: rename NetBoot module to BootNet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the NetBoot module to BootNet to avoid confusion with Apple's NetBoot and better reflect the module's role within BootZ. Updates include: - Renamed module directory: NetBoot/ → BootNet/ - Renamed files and headers: NetBoot.cc → BootNet.cc, etc. - Updated build output: netboot.sys → bootnet.sys - Replaced all references in build scripts, source includes, and user-visible strings - Fixed typo in SysChk.cc copyright This unifies naming across modules and reinforces BootZ's modular identity. Signed-off-by: Amlal El Mahrouss --- dev/boot/modules/NetBoot/NetBoot.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 dev/boot/modules/NetBoot/NetBoot.h (limited to 'dev/boot/modules/NetBoot/NetBoot.h') diff --git a/dev/boot/modules/NetBoot/NetBoot.h b/dev/boot/modules/NetBoot/NetBoot.h deleted file mode 100644 index e250ef27..00000000 --- a/dev/boot/modules/NetBoot/NetBoot.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * ======================================================== - * - * NetBoot - * Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved. - * - * ======================================================== - */ - -#pragma once - -#include - -#define kNetBootINetMagic "NETB" -#define kNetBootINetMagicLength (4) - -#define kNetBootNameLen (256U) - -/// @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' - - 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** -} ATTRIBUTE(packed) NETBOOT_INTERNET_HEADER; -- cgit v1.2.3