summaryrefslogtreecommitdiffhomepage
path: root/HALKit/AMD64/DebugManager.asm
blob: 5b9c3cc631c27d4798b01e289e3e764c53abe126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
;; /*
;; *	========================================================
;; *
;; *	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
    resb 16
    dw 0x5566
__rt_debug_int_3:
    push 0x6677 ;; Debug check error
L0:
    hlt
    jmp $

rt_debug_fence:
    push __rt_debug_record_table
    jmp [rbx]
rt_debug_fence_end:

;; //////////////////////////////////////////////////// ;;