summaryrefslogtreecommitdiffhomepage
path: root/Private/Builtins
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 10:05:31 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 10:05:31 +0100
commitbaf2afd8cd672dcb9c13d956dfdd73b61dfee558 (patch)
tree0734d2fe6d480e9805121e1c7d5e42f20bf4e8f4 /Private/Builtins
parent98347089c7e4e2b306d25a0db77e00aa2ea50882 (diff)
unstable, secret: See below.
System.Core: - Add RunTime init function. - Add ReadMe.md Kernel: - Improve TLS code, use Encoder class instead of casting directly. - Refactor process team to include processscheduler.hpp instead. ObjectKit: - Rename Object.hxx to ObjectKit.hxx Builtins/AHCI: - Rename API.hxx to Interface.hxx Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/Builtins')
-rw-r--r--Private/Builtins/AHCI/API.hxx24
-rw-r--r--Private/Builtins/AHCI/Interface.hxx28
2 files changed, 28 insertions, 24 deletions
diff --git a/Private/Builtins/AHCI/API.hxx b/Private/Builtins/AHCI/API.hxx
deleted file mode 100644
index 90e68bad..00000000
--- a/Private/Builtins/AHCI/API.hxx
+++ /dev/null
@@ -1,24 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
- File: API.hxx
- Purpose: AHCI API.
-
- Revision History:
-
- 03/17/24: Added file (amlel)
-
-------------------------------------------- */
-
-#pragma once
-
-#include <AHCI/Defines.hxx>
-#include <NewKit/Defines.hpp>
-#include <ObjectKit/Object.hxx>
-
-#define kObjectAHCINamespace "AHCI_DRV\\"
-
-namespace HCore::Builtins {
-inline Boolean ke_get_ahci_handle(ObjectPtr* ppAhciObject);
-} // namespace HCore::Builtins \ No newline at end of file
diff --git a/Private/Builtins/AHCI/Interface.hxx b/Private/Builtins/AHCI/Interface.hxx
new file mode 100644
index 00000000..72be3d6a
--- /dev/null
+++ b/Private/Builtins/AHCI/Interface.hxx
@@ -0,0 +1,28 @@
+/* -------------------------------------------
+
+ Copyright Mahrouss Logic
+
+ File: Interface.hxx
+ Purpose: AHCI Interface.
+
+ Revision History:
+
+ 03/17/24: Added file (amlel)
+
+------------------------------------------- */
+
+#pragma once
+
+#include <AHCI/Defines.hxx>
+#include <NewKit/Defines.hpp>
+#include <ObjectKit/ObjectKit.hxx>
+#include <HintKit/CompilerHint.hxx>
+
+#define kObjectAHCINamespace "AHCI\\"
+
+namespace HCore::Builtins {
+/// @brief Returns an AHCI handle.
+/// @param pointerAhciObject the handle to pass.
+/// @return
+inline Boolean HcGetHandleAHCI(_InOut ObjectPtr* pointerAhciObject);
+} // namespace HCore::Builtins \ No newline at end of file