blob: 5cc0cd104181e009c3221da2dc95dd3895593488 (
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 Mahrouss Logic, all rights reserved.
;; *
;; * ========================================================
;; */
[global rt_debug_fence]
[global __rt_debug_int_3]
;; //////////////////////////////////////////////////// ;;
__rt_debug_record_table:
db "DebugMgr/HCore", 0xa, 0xd, 0
__rt_debug_int_3:
push 0x6677 ;; Debug check error
;; then halt and goes back to L0, thens halts...
L0:
hlt
jmp $
rt_debug_fence:
mov [__rt_debug_record_table], rsi
push rsi
jmp [rbx]
pop rsi
ret
;; //////////////////////////////////////////////////// ;;
|