summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/AXP
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-05-08 12:32:41 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-05-08 12:32:41 +0200
commit09dd11ddf800898c00ecb04a65fb5cd10fb481fa (patch)
treeeda0b4e23d6a71da7de3a78f0bb76ec3201dd2f9 /Private/HALKit/AXP
parentca83108fd138cc0398f900e6a6c0a53ad51aee31 (diff)
MHR-23: :boom: changes, reworked project tree.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/AXP')
-rw-r--r--Private/HALKit/AXP/CR.s11
-rw-r--r--Private/HALKit/AXP/CoreInterruptHandlerDEC.cpp0
-rw-r--r--Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp20
-rw-r--r--Private/HALKit/AXP/HAL.s13
-rw-r--r--Private/HALKit/AXP/Processor.hpp7
-rw-r--r--Private/HALKit/AXP/README1
-rw-r--r--Private/HALKit/AXP/README.TXT1
-rw-r--r--Private/HALKit/AXP/SYSCALL.s10
-rw-r--r--Private/HALKit/AXP/VM.s5
9 files changed, 0 insertions, 68 deletions
diff --git a/Private/HALKit/AXP/CR.s b/Private/HALKit/AXP/CR.s
deleted file mode 100644
index 4d68257d..00000000
--- a/Private/HALKit/AXP/CR.s
+++ /dev/null
@@ -1,11 +0,0 @@
-.globl read_lr1
-.globl read_lr0
-
-.section .text
- read_lr0:
- movq %r30, %cr3
- ret
-
- hal_read_cr0:
- movq %r30, %cr0
- ret \ No newline at end of file
diff --git a/Private/HALKit/AXP/CoreInterruptHandlerDEC.cpp b/Private/HALKit/AXP/CoreInterruptHandlerDEC.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/Private/HALKit/AXP/CoreInterruptHandlerDEC.cpp
+++ /dev/null
diff --git a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp b/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp
deleted file mode 100644
index 63a372e7..00000000
--- a/Private/HALKit/AXP/CoreSyscallHandlerDEC.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-#include <ArchKit/ArchKit.hpp>
-#include <HALKit/Alpha/Processor.hpp>
-
-NewOS::Array<void (*)(NewOS::Int32 id, NewOS::HAL::StackFrame*),
- kKernelMaxSystemCalls>
- kSyscalls;
-
-extern "C" void rt_syscall_handle(NewOS::HAL::StackFrame* stack)
-{
- for (NewOS::SizeT index = 0UL; index < kKernelMaxSystemCalls; ++index)
- {
- (kSyscalls[index].Leak().Leak())(stack->ID, stack);
- }
-}
diff --git a/Private/HALKit/AXP/HAL.s b/Private/HALKit/AXP/HAL.s
deleted file mode 100644
index 0178527f..00000000
--- a/Private/HALKit/AXP/HAL.s
+++ /dev/null
@@ -1,13 +0,0 @@
-.globl rt_wait_400ns
-
-.section .text
-rt_wait_400ns:
- jmp .L
-.L:
- jmp .L2
- wtint ;; wait for interrupt
-.L2:
-
- ret
-
-
diff --git a/Private/HALKit/AXP/Processor.hpp b/Private/HALKit/AXP/Processor.hpp
deleted file mode 100644
index a3f4030f..00000000
--- a/Private/HALKit/AXP/Processor.hpp
+++ /dev/null
@@ -1,7 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-#pragma once \ No newline at end of file
diff --git a/Private/HALKit/AXP/README b/Private/HALKit/AXP/README
deleted file mode 100644
index 91e7b134..00000000
--- a/Private/HALKit/AXP/README
+++ /dev/null
@@ -1 +0,0 @@
-This is for DEC Alpha.
diff --git a/Private/HALKit/AXP/README.TXT b/Private/HALKit/AXP/README.TXT
deleted file mode 100644
index 03c2b816..00000000
--- a/Private/HALKit/AXP/README.TXT
+++ /dev/null
@@ -1 +0,0 @@
-A Toy HAL to test the Kernel portability.
diff --git a/Private/HALKit/AXP/SYSCALL.s b/Private/HALKit/AXP/SYSCALL.s
deleted file mode 100644
index 19cab808..00000000
--- a/Private/HALKit/AXP/SYSCALL.s
+++ /dev/null
@@ -1,10 +0,0 @@
-.section .text
-system_handle_user_call:
- .cfi_startproc
-
- push %r0
- jmp %r1
- mov %r30, %r2
-
- .cfi_endproc
- retsys \ No newline at end of file
diff --git a/Private/HALKit/AXP/VM.s b/Private/HALKit/AXP/VM.s
deleted file mode 100644
index 7024086b..00000000
--- a/Private/HALKit/AXP/VM.s
+++ /dev/null
@@ -1,5 +0,0 @@
-.global hal_flush_tlb
-
-.section .text
-hal_flush_tlb:
- swppal \ No newline at end of file