summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit/RISCV
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-05-11 06:43:54 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-05-11 06:43:54 +0000
commitca675beb41dba8d7d16c5793b55d1672f38be3b4 (patch)
treec995ada42729ac2059a0ed87a4539d1a7e10b14a /Kernel/HALKit/RISCV
parent2b4a4792abf51487ab4a16106f9376f43acf381a (diff)
parentbc57a29a24b98b00ba17710ba84ec2188ab73504 (diff)
Merged in MHR-23 (pull request #12)
MHR-23: Merge work.
Diffstat (limited to 'Kernel/HALKit/RISCV')
-rw-r--r--Kernel/HALKit/RISCV/.keep0
-rw-r--r--Kernel/HALKit/RISCV/APM/.gitkeep0
-rw-r--r--Kernel/HALKit/RISCV/Hart.hxx18
-rw-r--r--Kernel/HALKit/RISCV/ReadMe.md4
-rw-r--r--Kernel/HALKit/RISCV/Storage/.gitkeep0
5 files changed, 22 insertions, 0 deletions
diff --git a/Kernel/HALKit/RISCV/.keep b/Kernel/HALKit/RISCV/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Kernel/HALKit/RISCV/.keep
diff --git a/Kernel/HALKit/RISCV/APM/.gitkeep b/Kernel/HALKit/RISCV/APM/.gitkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Kernel/HALKit/RISCV/APM/.gitkeep
diff --git a/Kernel/HALKit/RISCV/Hart.hxx b/Kernel/HALKit/RISCV/Hart.hxx
new file mode 100644
index 00000000..a77bb5eb
--- /dev/null
+++ b/Kernel/HALKit/RISCV/Hart.hxx
@@ -0,0 +1,18 @@
+/* -------------------------------------------
+
+ Copyright SoftwareLabs
+
+ File: Hart.hxx
+ Purpose: RISC-V hardware threads.
+
+ Revision History:
+
+ 30/01/24: Added file (amlel)
+
+------------------------------------------- */
+
+#pragma once
+
+#include <NewKit/Defines.hpp>
+
+typedef NewOS::Int32 Rv64HartType;
diff --git a/Kernel/HALKit/RISCV/ReadMe.md b/Kernel/HALKit/RISCV/ReadMe.md
new file mode 100644
index 00000000..b099aa31
--- /dev/null
+++ b/Kernel/HALKit/RISCV/ReadMe.md
@@ -0,0 +1,4 @@
+RISCV64 Hardware Abstraction Layer
+
+- Supported CPU: RISCV64
+- Supported Firmware: CoreBoot \ No newline at end of file
diff --git a/Kernel/HALKit/RISCV/Storage/.gitkeep b/Kernel/HALKit/RISCV/Storage/.gitkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Kernel/HALKit/RISCV/Storage/.gitkeep