summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/MSDOS.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 13:05:28 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 13:05:28 +0100
commit84cc6ff6f43b48383248282743efc514946db641 (patch)
treefa7f9099b87e235ba122d17b6a3b39234cd39883 /Private/KernelKit/MSDOS.hpp
parent3d798c5fc738768493df925d1f5d72256f2dec4e (diff)
Kernel: :boom: breaking changes, Update API and the HCORE based
macros, rename HCore to NewOS. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/MSDOS.hpp')
-rw-r--r--Private/KernelKit/MSDOS.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Private/KernelKit/MSDOS.hpp b/Private/KernelKit/MSDOS.hpp
index aa7f9b8c..1fe99a60 100644
--- a/Private/KernelKit/MSDOS.hpp
+++ b/Private/KernelKit/MSDOS.hpp
@@ -3,7 +3,7 @@
Copyright Mahrouss Logic
File: MSDOS.hpp
- Purpose: MS-DOS header for HCore.
+ Purpose: MS-DOS header for NewOS.
Revision History:
@@ -23,11 +23,11 @@
#define kMagMz0 'M'
#define kMagMz1 'Z'
-typedef HCore::UInt32 DosWord;
-typedef HCore::Long DosLong;
+typedef NewOS::UInt32 DosWord;
+typedef NewOS::Long DosLong;
typedef struct _DosHeader {
- HCore::UInt8 eMagic[2];
+ NewOS::UInt8 eMagic[2];
DosWord eMagLen;
DosWord ePagesCount;
DosWord eCrlc;
@@ -48,7 +48,7 @@ typedef struct _DosHeader {
DosLong eLfanew;
} DosHeader, *DosHeaderPtr;
-namespace HCore {
+namespace NewOS {
/// @brief Find the PE header inside the the blob.
inline auto rt_find_exec_header(DosHeaderPtr ptrDos) -> VoidPtr {
if (!ptrDos) return nullptr;
@@ -57,6 +57,6 @@ inline auto rt_find_exec_header(DosHeaderPtr ptrDos) -> VoidPtr {
return (VoidPtr)(&ptrDos->eLfanew + 1);
}
-} // namespace HCore
+} // namespace NewOS
#endif /* ifndef __MSDOS_EXEC__ */