feat: owloysius - dynamic init function invocator
[lunaix-os.git] / lunaix-os / includes / sdbg / lsdbg.h
1 #ifndef __LUNAIX_LSDBG_H
2 #define __LUNAIX_LSDBG_H
3
4 #include <sys/interrupts.h>
5
6 #define SDBG_CLNT_HI 0x10
7 #define SDBG_CLNT_QUIT 0xff
8 #define SDBG_CLNT_RREG 0x11
9 #define SDBG_CLNT_STEP 0x12
10 #define SDBG_CLNT_CONT 0x13
11 #define SDBG_CLNT_BRKP 0x14
12
13 #define SDBG_SVER_MSG 0xa1
14 #define SDBG_SVER_WHATNEXT 0xa2
15
16 #define SDBG_STATE_START 0
17 #define SDBG_STATE_INSESSION 1
18 #define SDBG_STATE_WAIT_BRK 2
19
20 void
21 lunaix_sdbg_loop(isr_param* param);
22
23 #endif /* __LUNAIX_LSDBG_H */