diff options
| author | amlal <amlal@el-mahrouss-logic.com> | 2024-03-23 16:56:06 +0100 |
|---|---|---|
| committer | amlal <amlal@el-mahrouss-logic.com> | 2024-03-23 16:56:06 +0100 |
| commit | d9477b8a80ee0dc9a6d05c0353aa989ceaedae8a (patch) | |
| tree | aa83b66e9a03af1f521fec878a934766d900f386 | |
| parent | cc90e0380480a0116a11a89877ad974520cbbba3 (diff) | |
unstable, secret: bump.
Signed-off-by: amlal <amlal@el-mahrouss-logic.com>
| -rw-r--r-- | Private/HALKit/AMD64/HalInterruptRouting.asm | 4 | ||||
| -rw-r--r-- | Private/HALKit/AMD64/HalKernelMain.cxx | 2 | ||||
| -rw-r--r-- | Private/HALKit/AMD64/HalKernelMouse.cxx | 4 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/Containers/ODF.hxx | 2 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/Containers/XIFF.hxx | 2 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/Defines.hxx (renamed from Public/SDK/System.Core/Headers/Defs.hxx) | 0 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/File.hxx | 2 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/Heap.hxx | 2 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/Thread.hxx | 32 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/UI/.gitkeep | 0 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/UI/Dialog.hxx | 8 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/UI/Imaging.hxx | 8 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/UI/Menu.hxx | 8 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/UI/Rsrc.hxx | 8 | ||||
| -rw-r--r-- | Public/SDK/System.Core/Headers/UI/Window.hxx | 8 |
15 files changed, 49 insertions, 41 deletions
diff --git a/Private/HALKit/AMD64/HalInterruptRouting.asm b/Private/HALKit/AMD64/HalInterruptRouting.asm index 05f14e36..06e40161 100644 --- a/Private/HALKit/AMD64/HalInterruptRouting.asm +++ b/Private/HALKit/AMD64/HalInterruptRouting.asm @@ -36,7 +36,7 @@ global _ke_power_on_self_test global ke_handle_irq global kInterruptVectorTable -extern _hal_mouse_handler +extern _hal_handle_mouse extern idt_handle_gpf extern idt_handle_pf extern ke_io_print @@ -109,7 +109,7 @@ IntNormal 31 __HCR_INT_32: push rax - call _hal_mouse_handler + call _hal_handle_mouse pop rax iretq diff --git a/Private/HALKit/AMD64/HalKernelMain.cxx b/Private/HALKit/AMD64/HalKernelMain.cxx index e78be6ec..5ceb57bd 100644 --- a/Private/HALKit/AMD64/HalKernelMain.cxx +++ b/Private/HALKit/AMD64/HalKernelMain.cxx @@ -21,7 +21,7 @@ EXTERN_C HCore::Void _hal_init_mouse(); EXTERN_C HCore::Void _hal_draw_mouse(); -EXTERN_C HCore::Void _hal_mouse_handler(); +EXTERN_C HCore::Void _hal_handle_mouse(); EXTERN_C HCore::VoidPtr kInterruptVectorTable[]; diff --git a/Private/HALKit/AMD64/HalKernelMouse.cxx b/Private/HALKit/AMD64/HalKernelMouse.cxx index cafebc9e..2033badc 100644 --- a/Private/HALKit/AMD64/HalKernelMouse.cxx +++ b/Private/HALKit/AMD64/HalKernelMouse.cxx @@ -14,8 +14,6 @@ EXTERN_C HCore::Void _hal_draw_mouse(); EXTERN_C HCore::Void _hal_init_mouse(); -EXTERN_C void ke_io_print(const char* bytes); - STATIC HCore::Int32 kPrevX = 0; STATIC HCore::Int32 kPrevY = 0; STATIC HCore::Int32 kX = 0; @@ -78,7 +76,7 @@ Void hal_handle_mouse() { } /// @brief Interrupt handler for the mouse. -EXTERN_C Void _hal_mouse_handler() { hal_handle_mouse(); } +EXTERN_C Void _hal_handle_mouse() { hal_handle_mouse(); } /// @brief Draws the kernel's mouse. EXTERN_C Void _hal_draw_mouse() { diff --git a/Public/SDK/System.Core/Headers/Containers/ODF.hxx b/Public/SDK/System.Core/Headers/Containers/ODF.hxx index 9bf61296..e0cb0bc1 100644 --- a/Public/SDK/System.Core/Headers/Containers/ODF.hxx +++ b/Public/SDK/System.Core/Headers/Containers/ODF.hxx @@ -5,7 +5,7 @@ #ifndef __ODF__ #define __ODF__ -#include <System.Core/Headers/Defs.hxx> +#include <System.Core/Headers/Defines.hxx> /** * @brief Open Document Format diff --git a/Public/SDK/System.Core/Headers/Containers/XIFF.hxx b/Public/SDK/System.Core/Headers/Containers/XIFF.hxx index e14868a6..2531abce 100644 --- a/Public/SDK/System.Core/Headers/Containers/XIFF.hxx +++ b/Public/SDK/System.Core/Headers/Containers/XIFF.hxx @@ -12,7 +12,7 @@ ------------------------------------------------------- */ -#include <System.Core/Headers/Defs.hxx> +#include <System.Core/Headers/Defines.hxx> /// @brief four-character code for XIFF. #define kFourCCLength_XIFF 4 diff --git a/Public/SDK/System.Core/Headers/Defs.hxx b/Public/SDK/System.Core/Headers/Defines.hxx index 3cbf22fd..3cbf22fd 100644 --- a/Public/SDK/System.Core/Headers/Defs.hxx +++ b/Public/SDK/System.Core/Headers/Defines.hxx diff --git a/Public/SDK/System.Core/Headers/File.hxx b/Public/SDK/System.Core/Headers/File.hxx index 4a8d57dd..f8efd75a 100644 --- a/Public/SDK/System.Core/Headers/File.hxx +++ b/Public/SDK/System.Core/Headers/File.hxx @@ -7,7 +7,7 @@ #ifndef __FILE_API__ #define __FILE_API__ -#include <System.Core/Headers/Defs.hxx> +#include <System.Core/Headers/Defines.hxx> namespace System { class FileInterface; diff --git a/Public/SDK/System.Core/Headers/Heap.hxx b/Public/SDK/System.Core/Headers/Heap.hxx index 5c93456e..14ee0e6c 100644 --- a/Public/SDK/System.Core/Headers/Heap.hxx +++ b/Public/SDK/System.Core/Headers/Heap.hxx @@ -6,7 +6,7 @@ #pragma once -#include <System.Core/Headers/Defs.hxx> +#include <System.Core/Headers/Defines.hxx> namespace System { class MemoryException; diff --git a/Public/SDK/System.Core/Headers/Thread.hxx b/Public/SDK/System.Core/Headers/Thread.hxx index ae6ba057..c32c6047 100644 --- a/Public/SDK/System.Core/Headers/Thread.hxx +++ b/Public/SDK/System.Core/Headers/Thread.hxx @@ -11,41 +11,11 @@ #ifndef __THREAD_API__ #define __THREAD_API__ -#include <System.Core/Headers/Defs.hxx> +#include <System.Core/Headers/Defines.hxx> /// @brief Thread Information Block, which holds information about the running thread. typedef PtrVoidType PtrThread; -/// @brief Creates a new thread. -/// @param StartProc -/// @param OptionalHeap -/// @param OptionalStack -/// @param Detach -/// @param Join -/// @return -PtrThread HcCreateThread(_Input PtrVoidType StartProc, - _Optional _InOut PtrVoidType OptionalHeap, - _Optional _InOut PtrVoidType OptionalStack, - _Optional _Input BooleanType Detach, - _Optional _Input BooleanType Join); - -/// @brief Destroys the thread object. -/// @param ThreadPtr -/// @return -BooleanType HcDestroyThread(_Input PtrThread ThreadPtr); - -/// @brief Stops the thread. -/// @param ThreadPtr -/// @return -BooleanType HcStopThread(_Input PtrThread ThreadPtr); - -/// @brief Resumes it. -/// @param ThreadPtr -/// @return -BooleanType HcResumeThread(_Input PtrThread ThreadPtr); - -QWordType HcProcessIdThread(_Input PtrThread ThreadPtr); - /// @brief Main application thread. CA_EXTERN_C PtrThread kMainThread; diff --git a/Public/SDK/System.Core/Headers/UI/.gitkeep b/Public/SDK/System.Core/Headers/UI/.gitkeep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/Public/SDK/System.Core/Headers/UI/.gitkeep diff --git a/Public/SDK/System.Core/Headers/UI/Dialog.hxx b/Public/SDK/System.Core/Headers/UI/Dialog.hxx new file mode 100644 index 00000000..2a02b434 --- /dev/null +++ b/Public/SDK/System.Core/Headers/UI/Dialog.hxx @@ -0,0 +1,8 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + diff --git a/Public/SDK/System.Core/Headers/UI/Imaging.hxx b/Public/SDK/System.Core/Headers/UI/Imaging.hxx new file mode 100644 index 00000000..2a02b434 --- /dev/null +++ b/Public/SDK/System.Core/Headers/UI/Imaging.hxx @@ -0,0 +1,8 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + diff --git a/Public/SDK/System.Core/Headers/UI/Menu.hxx b/Public/SDK/System.Core/Headers/UI/Menu.hxx new file mode 100644 index 00000000..2a02b434 --- /dev/null +++ b/Public/SDK/System.Core/Headers/UI/Menu.hxx @@ -0,0 +1,8 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + diff --git a/Public/SDK/System.Core/Headers/UI/Rsrc.hxx b/Public/SDK/System.Core/Headers/UI/Rsrc.hxx new file mode 100644 index 00000000..2a02b434 --- /dev/null +++ b/Public/SDK/System.Core/Headers/UI/Rsrc.hxx @@ -0,0 +1,8 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + diff --git a/Public/SDK/System.Core/Headers/UI/Window.hxx b/Public/SDK/System.Core/Headers/UI/Window.hxx new file mode 100644 index 00000000..2a02b434 --- /dev/null +++ b/Public/SDK/System.Core/Headers/UI/Window.hxx @@ -0,0 +1,8 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + |
