224 |
|
|
225 |
extern CharDriverState *serial_hds[MAX_SERIAL_PORTS]; |
extern CharDriverState *serial_hds[MAX_SERIAL_PORTS]; |
226 |
|
|
227 |
|
/* parallel ports */ |
228 |
|
|
229 |
|
#define MAX_PARALLEL_PORTS 3 |
230 |
|
|
231 |
|
extern CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; |
232 |
|
|
233 |
/* network redirectors support */ |
/* network redirectors support */ |
234 |
|
|
235 |
#define MAX_NICS 8 |
#define MAX_NICS 8 |
638 |
typedef struct SerialState SerialState; |
typedef struct SerialState SerialState; |
639 |
SerialState *serial_init(int base, int irq, CharDriverState *chr); |
SerialState *serial_init(int base, int irq, CharDriverState *chr); |
640 |
|
|
641 |
|
/* parallel.c */ |
642 |
|
|
643 |
|
typedef struct ParallelState ParallelState; |
644 |
|
ParallelState *parallel_init(int base, int irq, CharDriverState *chr); |
645 |
|
|
646 |
/* i8259.c */ |
/* i8259.c */ |
647 |
|
|
648 |
void pic_set_irq(int irq, int level); |
void pic_set_irq(int irq, int level); |