23 #include "pedigree/kernel/debugger/libudis86/types.h" 25 uint8_t inp_next(
struct ud *);
26 uint8_t inp_peek(
struct ud *);
27 uint8_t inp_uint8(
struct ud *);
28 uint16_t inp_uint16(
struct ud *);
29 uint32_t inp_uint32(
struct ud *);
30 uint64_t inp_uint64(
struct ud *);
31 void inp_move(
struct ud *,
size_t);
32 void inp_back(
struct ud *);
45 #define inp_start(u) u->inp_ctr = 0 50 #define inp_reset(u) \ 53 u->inp_curr -= u->inp_ctr; \ 58 #define inp_sess(u) (u->inp_sess) 61 #define inp_curr(u) ((u)->inp_cache[(u)->inp_curr])