diff options
| -rw-r--r-- | KernelKit/CodeManager.hpp | 2 | ||||
| -rw-r--r-- | NewKit/String.hpp | 8 | ||||
| -rw-r--r-- | Source/ProcessManager.cxx | 2 | ||||
| -rw-r--r-- | newBoot/Source/Arch/NewCPU/Crt0.asm | 29 | ||||
| -rw-r--r-- | newBoot/Source/Arch/NewCPU/XPM.inc | 35 |
5 files changed, 6 insertions, 70 deletions
diff --git a/KernelKit/CodeManager.hpp b/KernelKit/CodeManager.hpp index 61b609c6..b48c6b17 100644 --- a/KernelKit/CodeManager.hpp +++ b/KernelKit/CodeManager.hpp @@ -56,7 +56,7 @@ namespace hCore namespace Utils { /// \brief Much like Mac OS's UPP. - /// It cover other architecture code. + /// It handles different kind of code. /// PowerPC <-> AMD64 for example. typedef struct UniversalProcedureTable { diff --git a/NewKit/String.hpp b/NewKit/String.hpp index a1a1ad44..4a13b640 100644 --- a/NewKit/String.hpp +++ b/NewKit/String.hpp @@ -59,10 +59,10 @@ namespace hCore return m_Data; } - private: - Char *m_Data{nullptr}; - Size m_Sz{0}; - Size m_Cur{0}; + private: + Char *m_Data{ nullptr }; + Size m_Sz{ 0 }; + Size m_Cur{ 0 }; friend class StringBuilder; diff --git a/Source/ProcessManager.cxx b/Source/ProcessManager.cxx index 1a2cb73f..c8509fd2 100644 --- a/Source/ProcessManager.cxx +++ b/Source/ProcessManager.cxx @@ -261,7 +261,7 @@ namespace hCore SizeT ret = process_ref.Run(); - kcout << StringBuilder::FromInt("ProcessHelper::Run() iterated over: % processes\r\n", ret); + kcout << StringBuilder::FromInt("ProcessHelper::StartScheduling() iterated over: % processes\r\n", ret); return true; } diff --git a/newBoot/Source/Arch/NewCPU/Crt0.asm b/newBoot/Source/Arch/NewCPU/Crt0.asm deleted file mode 100644 index c918f5c1..00000000 --- a/newBoot/Source/Arch/NewCPU/Crt0.asm +++ /dev/null @@ -1,29 +0,0 @@ -; ===================== -; -; newBoot (c) Mahrouss Logic. -; -; ===================== - -; This file is meant to be for ARC - -extern __AppMain - -__probe_hardware_threads: - lea 0x8100000 ; same as before, this alters the rr. - ret - -__init_hardware_threads: - lea 0x8000000 ; this alters return register, do not touch it. - ret - -__start: - jmp __probe_hardware_threads ; Probe and register these threads. - jmp __init_hardware_threads ; Setup, and hang any threads. - jmp __AppMain -L0: - spi ; stop process interrupt - hlt - jmp L0 - -;; put this at the end, XPM header. -%include "XPM.inc"
\ No newline at end of file diff --git a/newBoot/Source/Arch/NewCPU/XPM.inc b/newBoot/Source/Arch/NewCPU/XPM.inc deleted file mode 100644 index ac590456..00000000 --- a/newBoot/Source/Arch/NewCPU/XPM.inc +++ /dev/null @@ -1,35 +0,0 @@ -;* -; * ======================================================== -; * -; * newBoot -; * Copyright Mahrouss Logic, all rights reserved. -; * -; * ======================================================== -; * - -;; Root directory - -kBootBlockIdent: db "XPMNC", 0 -kBootBlockMagic: db "bootloader", 0 -kBootBlockGUID: db "C218439A-5939-4C9D-82AC-ADED46E9243C", 0 -kBootBlockVersion: dw 1 -kBootBlockNumBlocks: dw 1 -kBootBlockSectorSz: dw 4096 -kBootBlockSectorStart: dw 512 - -;; Boot directory - -kPartBlockName: db "bootloader_exec", 0 -kPartBlockMagic: dw 0xEDAD -kPartBlockSectorEnd: dw 0 -kPartBlockSectorStart: dw 1024 -kPartBlockSize: dw 0 -kPartBlockPartType: dw 1 -kPartBlockVer: dw 1 -kPartBlockFs: db "Files32", 0 - -kPartBlockReserved1: dq 0xFFFF -kPartBlockReserved2: dq 0xFFFF -kPartBlockReserved3: dq 0xFFFF - -;; End of directory |
