diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-26 22:26:48 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-26 22:27:09 +0100 |
| commit | eba8b7ddd0a455d9e49f32dcae712c5612c0093c (patch) | |
| tree | 749a3d34546d055507a920bce4ab10e8a9945719 /Private/HALKit/AMD64/DebugManager.asm | |
| parent | dd192787a70a973f2474720aea49af3f6ddabb7a (diff) | |
Kernel: Major repository refactor.
Rework the repo into Private and Public modules.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/AMD64/DebugManager.asm')
| -rw-r--r-- | Private/HALKit/AMD64/DebugManager.asm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Private/HALKit/AMD64/DebugManager.asm b/Private/HALKit/AMD64/DebugManager.asm new file mode 100644 index 00000000..6c0bf149 --- /dev/null +++ b/Private/HALKit/AMD64/DebugManager.asm @@ -0,0 +1,32 @@ +;; /* +;; * ======================================================== +;; * +;; * hCore +;; * Copyright 2024 Mahrouss Logic, all rights reserved. +;; * +;; * ======================================================== +;; */ + +[global rt_debug_fence] +[global rt_debug_fence_end] +[global __rt_debug_int_3] + +;; //////////////////////////////////////////////////// ;; + +__rt_debug_record_table: + db "DebugMgr/hCore", 0xa, 0xd, 0 + ;; User Data goes there + resb 64 +__rt_debug_int_3: + push 0x6677 ;; Debug check error +;; then halt and goes back to L0, thens halts... +L0: + hlt + jmp $ + +rt_debug_fence: + push __rt_debug_record_table + jmp [rbx] +rt_debug_fence_end: + +;; //////////////////////////////////////////////////// ;;
\ No newline at end of file |
