Revision b1d8e52e hw/ppc_prep.c
b/hw/ppc_prep.c | ||
---|---|---|
84 | 84 |
/* ISA IO ports bridge */ |
85 | 85 |
#define PPC_IO_BASE 0x80000000 |
86 | 86 |
|
87 |
#if 0 |
|
87 | 88 |
/* Speaker port 0x61 */ |
88 |
int speaker_data_on; |
|
89 |
int dummy_refresh_clock; |
|
89 |
static int speaker_data_on; |
|
90 |
static int dummy_refresh_clock; |
|
91 |
#endif |
|
90 | 92 |
|
91 | 93 |
static void speaker_ioport_write (void *opaque, uint32_t addr, uint32_t val) |
92 | 94 |
{ |
... | ... | |
518 | 520 |
return ret; |
519 | 521 |
} |
520 | 522 |
|
521 |
CPUWriteMemoryFunc *PPC_prep_io_write[] = { |
|
523 |
static CPUWriteMemoryFunc *PPC_prep_io_write[] = {
|
|
522 | 524 |
&PPC_prep_io_writeb, |
523 | 525 |
&PPC_prep_io_writew, |
524 | 526 |
&PPC_prep_io_writel, |
525 | 527 |
}; |
526 | 528 |
|
527 |
CPUReadMemoryFunc *PPC_prep_io_read[] = { |
|
529 |
static CPUReadMemoryFunc *PPC_prep_io_read[] = {
|
|
528 | 530 |
&PPC_prep_io_readb, |
529 | 531 |
&PPC_prep_io_readw, |
530 | 532 |
&PPC_prep_io_readl, |
Also available in: Unified diff