escc: don't use reserved _t suffix
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
43a3470457
commit
8e39a033fb
|
@ -88,13 +88,13 @@
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
chn_a, chn_b,
|
chn_a, chn_b,
|
||||||
} chn_id_t;
|
} ChnID;
|
||||||
|
|
||||||
#define CHN_C(s) ((s)->chn == chn_b? 'b' : 'a')
|
#define CHN_C(s) ((s)->chn == chn_b? 'b' : 'a')
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
ser, kbd, mouse,
|
ser, kbd, mouse,
|
||||||
} chn_type_t;
|
} ChnType;
|
||||||
|
|
||||||
#define SERIO_QUEUE_SIZE 256
|
#define SERIO_QUEUE_SIZE 256
|
||||||
|
|
||||||
|
@ -108,8 +108,8 @@ typedef struct ChannelState {
|
||||||
qemu_irq irq;
|
qemu_irq irq;
|
||||||
uint32_t reg;
|
uint32_t reg;
|
||||||
uint32_t rxint, txint, rxint_under_svc, txint_under_svc;
|
uint32_t rxint, txint, rxint_under_svc, txint_under_svc;
|
||||||
chn_id_t chn; // this channel, A (base+4) or B (base+0)
|
ChnID chn; // this channel, A (base+4) or B (base+0)
|
||||||
chn_type_t type;
|
ChnType type;
|
||||||
struct ChannelState *otherchn;
|
struct ChannelState *otherchn;
|
||||||
uint8_t rx, tx, wregs[SERIAL_REGS], rregs[SERIAL_REGS];
|
uint8_t rx, tx, wregs[SERIAL_REGS], rregs[SERIAL_REGS];
|
||||||
SERIOQueue queue;
|
SERIOQueue queue;
|
||||||
|
|
Loading…
Reference in New Issue