diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-18 21:39:29 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-18 21:39:29 +0200 |
| commit | da70596895d8135e08f8caac6978117697b4c021 (patch) | |
| tree | 2516785b5434df8453687f05dc8dd877438901ab /dev/ZKA/HALKit/RISCV | |
| parent | 005de79004c9d30e64bdee6e14e06f9d47d1f2ab (diff) | |
[REFACTOR]
Improved project structure.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/HALKit/RISCV')
| -rw-r--r-- | dev/ZKA/HALKit/RISCV/.keep | 0 | ||||
| -rw-r--r-- | dev/ZKA/HALKit/RISCV/APM/.gitkeep | 0 | ||||
| -rw-r--r-- | dev/ZKA/HALKit/RISCV/Hart.hxx | 24 | ||||
| -rw-r--r-- | dev/ZKA/HALKit/RISCV/ReadMe.md | 4 | ||||
| -rw-r--r-- | dev/ZKA/HALKit/RISCV/Storage/.gitkeep | 0 |
5 files changed, 28 insertions, 0 deletions
diff --git a/dev/ZKA/HALKit/RISCV/.keep b/dev/ZKA/HALKit/RISCV/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/dev/ZKA/HALKit/RISCV/.keep diff --git a/dev/ZKA/HALKit/RISCV/APM/.gitkeep b/dev/ZKA/HALKit/RISCV/APM/.gitkeep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/dev/ZKA/HALKit/RISCV/APM/.gitkeep diff --git a/dev/ZKA/HALKit/RISCV/Hart.hxx b/dev/ZKA/HALKit/RISCV/Hart.hxx new file mode 100644 index 00000000..0f5e021e --- /dev/null +++ b/dev/ZKA/HALKit/RISCV/Hart.hxx @@ -0,0 +1,24 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + + File: Hart.hxx + Purpose: RISC-V hardware threads. + + Revision History: + + 30/01/24: Added file (amlel) + +------------------------------------------- */ + +#pragma once + +#include <NewKit/Defines.hxx> + +typedef Kernel::Int32 Rv64HartType; + +/// @brief Set PC to specific hart. +/// @param hart the hart +/// @param epc the pc. +/// @return +EXTERN_C Kernel::Void hal_set_pc_to_hart(Rv64HartType hart, Kernel::VoidPtr epc); diff --git a/dev/ZKA/HALKit/RISCV/ReadMe.md b/dev/ZKA/HALKit/RISCV/ReadMe.md new file mode 100644 index 00000000..b099aa31 --- /dev/null +++ b/dev/ZKA/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/dev/ZKA/HALKit/RISCV/Storage/.gitkeep b/dev/ZKA/HALKit/RISCV/Storage/.gitkeep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/dev/ZKA/HALKit/RISCV/Storage/.gitkeep |
