X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/ddb4e08c76afcae5e40e0bcb418683dfb2a22aa8..4f966b9a6710d138d6e921bf2a1e40f2abc76f9a:/lunaix-os/includes/sdbg/lsdbg.h diff --git a/lunaix-os/includes/sdbg/lsdbg.h b/lunaix-os/includes/sdbg/lsdbg.h new file mode 100644 index 0000000..1667f31 --- /dev/null +++ b/lunaix-os/includes/sdbg/lsdbg.h @@ -0,0 +1,23 @@ +#ifndef __LUNAIX_LSDBG_H +#define __LUNAIX_LSDBG_H + +#include + +#define SDBG_CLNT_HI 0x10 +#define SDBG_CLNT_QUIT 0xff +#define SDBG_CLNT_RREG 0x11 +#define SDBG_CLNT_STEP 0x12 +#define SDBG_CLNT_CONT 0x13 +#define SDBG_CLNT_BRKP 0x14 + +#define SDBG_SVER_MSG 0xa1 +#define SDBG_SVER_WHATNEXT 0xa2 + +#define SDBG_STATE_START 0 +#define SDBG_STATE_INSESSION 1 +#define SDBG_STATE_WAIT_BRK 2 + +void +lunaix_sdbg_loop(isr_param* param); + +#endif /* __LUNAIX_LSDBG_H */