7 |
|
|
8 |
extern FILE *logfile; |
extern FILE *logfile; |
9 |
|
|
10 |
|
static PITState *pit; |
11 |
|
|
12 |
static void pic_irq_request(void *opaque, int level) |
static void pic_irq_request(void *opaque, int level) |
13 |
{ |
{ |
14 |
if (level) { |
if (level) { |
244 |
isa_mem_base = 0x10000000; |
isa_mem_base = 0x10000000; |
245 |
|
|
246 |
isa_pic = pic_init(pic_irq_request, cpu_single_env); |
isa_pic = pic_init(pic_irq_request, cpu_single_env); |
247 |
|
pit = pit_init(0x40, 0); |
248 |
serial_init(0x3f8, 4, serial_hds[0]); |
serial_init(0x3f8, 4, serial_hds[0]); |
249 |
vga_initialize(NULL, ds, phys_ram_base + ram_size, ram_size, |
vga_initialize(NULL, ds, phys_ram_base + ram_size, ram_size, |
250 |
vga_ram_size, 0, 0); |
vga_ram_size, 0, 0); |