diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-05 09:46:50 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-05 09:46:50 +0200 |
| commit | abff64f38c988a5350cbeb243896c0ee30401058 (patch) | |
| tree | 02ef069ca9b529d16ab120000b9c79fdbdd29270 /dev | |
| parent | d8de88f25cfa7cc7a46ee8913ba1338f67aaeac5 (diff) | |
feat: launch: reworking launch program.
feat: boot: Use NB prefix instead of CB.
feat: kernel: Use more portable types.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/boot/src/HEL/ARM64/BootNB.S (renamed from dev/boot/src/HEL/ARM64/BootCB.S) | 0 | ||||
| -rw-r--r-- | dev/boot/src/HEL/POWER/BootNB.S (renamed from dev/boot/src/HEL/POWER/BootCB.S) | 0 | ||||
| -rw-r--r-- | dev/kernel/NeKit/Defines.h | 14 | ||||
| -rw-r--r-- | dev/launch/LaunchKit/LaunchKit.h | 4 | ||||
| -rw-r--r-- | dev/launch/src/LaunchSrv.cc | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/dev/boot/src/HEL/ARM64/BootCB.S b/dev/boot/src/HEL/ARM64/BootNB.S index d52c1dcf..d52c1dcf 100644 --- a/dev/boot/src/HEL/ARM64/BootCB.S +++ b/dev/boot/src/HEL/ARM64/BootNB.S diff --git a/dev/boot/src/HEL/POWER/BootCB.S b/dev/boot/src/HEL/POWER/BootNB.S index 3887ff10..3887ff10 100644 --- a/dev/boot/src/HEL/POWER/BootCB.S +++ b/dev/boot/src/HEL/POWER/BootNB.S diff --git a/dev/kernel/NeKit/Defines.h b/dev/kernel/NeKit/Defines.h index 27f4f127..c5f02e0a 100644 --- a/dev/kernel/NeKit/Defines.h +++ b/dev/kernel/NeKit/Defines.h @@ -35,13 +35,13 @@ using nullPtr = decltype(nullptr); using NullPtr = decltype(nullptr); using Int = int; -using Int32 = int; -using UShort = unsigned short; -using UInt16 = unsigned short; +using Int32 = __INT32_TYPE__; +using UShort = __UINT16_TYPE__; +using UInt16 = __UINT16_TYPE__; using Short = short; using Int16 = short; -using UInt = unsigned int; -using UInt32 = unsigned int; +using UInt = __UINT32_TYPE__; +using UInt32 = __UINT32_TYPE__; using Long = __INT64_TYPE__; using Int64 = __INT64_TYPE__; using ULong = __UINT64_TYPE__; @@ -49,8 +49,8 @@ using UInt64 = __UINT64_TYPE__; using Boolean = bool; using Bool = bool; using Char = char; -using UChar = unsigned char; -using UInt8 = unsigned char; +using UChar = __UINT8_TYPE__; +using UInt8 = __UINT8_TYPE__; using SSize = Int64; using SSizeT = Int64; diff --git a/dev/launch/LaunchKit/LaunchKit.h b/dev/launch/LaunchKit/LaunchKit.h index 2fa9607b..2efa7806 100644 --- a/dev/launch/LaunchKit/LaunchKit.h +++ b/dev/launch/LaunchKit/LaunchKit.h @@ -15,6 +15,6 @@ #define NELAUNCH_WARN(MSG) PrintOut(nullptr, "WARN: [LAUNCH] %s\n", MSG) namespace Launch { -using LaunchHandle = VoidPtr; -using KernelStatus = SInt32; +using LaunchAny = VoidPtr; +using LaunchStatus = SInt32; } // namespace Launch diff --git a/dev/launch/src/LaunchSrv.cc b/dev/launch/src/LaunchSrv.cc index f5c9ee3c..b79fedf5 100644 --- a/dev/launch/src/LaunchSrv.cc +++ b/dev/launch/src/LaunchSrv.cc @@ -11,7 +11,7 @@ extern "C" SInt32 nelaunch_startup_fn(Void) { /// @todo Start LaunchServices.fwrk services, make the launcher manageable too (via mgmt.launch) - NELAUNCH_INFO("Starting NeKernel services..."); + NELAUNCH_INFO("Registering NeKernel Launcher..."); return kErrorSuccess; } |
