Revision 3b3fb322
b/darwin-user/qemu.h | ||
---|---|---|
109 | 109 |
void init_paths(const char *prefix); |
110 | 110 |
const char *path(const char *pathname); |
111 | 111 |
|
112 |
extern int loglevel; |
|
113 |
extern FILE *logfile; |
|
112 |
#include "qemu-log.h" |
|
114 | 113 |
|
115 | 114 |
/* commpage.c */ |
116 | 115 |
void commpage_init(void); |
b/hw/mips_malta.c | ||
---|---|---|
36 | 36 |
#include "sysemu.h" |
37 | 37 |
#include "audio/audio.h" |
38 | 38 |
#include "boards.h" |
39 |
#include "qemu-log.h" |
|
39 | 40 |
|
40 | 41 |
//#define DEBUG_BOARD_INIT |
41 | 42 |
|
... | ... | |
59 | 60 |
|
60 | 61 |
#define MAX_IDE_BUS 2 |
61 | 62 |
|
62 |
extern FILE *logfile; |
|
63 |
|
|
64 | 63 |
typedef struct { |
65 | 64 |
uint32_t leds; |
66 | 65 |
uint32_t brk; |
b/hw/mips_r4k.c | ||
---|---|---|
15 | 15 |
#include "sysemu.h" |
16 | 16 |
#include "boards.h" |
17 | 17 |
#include "flash.h" |
18 |
#include "qemu-log.h" |
|
18 | 19 |
|
19 | 20 |
#ifdef TARGET_WORDS_BIGENDIAN |
20 | 21 |
#define BIOS_FILENAME "mips_bios.bin" |
... | ... | |
35 | 36 |
static int serial_io[MAX_SERIAL_PORTS] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8 }; |
36 | 37 |
static int serial_irq[MAX_SERIAL_PORTS] = { 4, 3, 4, 3 }; |
37 | 38 |
|
38 |
extern FILE *logfile; |
|
39 |
|
|
40 | 39 |
static PITState *pit; /* PIT i8254 */ |
41 | 40 |
|
42 | 41 |
/* i8254 PIT is attached to the IRQ0 at PIC i8259 */ |
b/hw/ppc.c | ||
---|---|---|
26 | 26 |
#include "qemu-timer.h" |
27 | 27 |
#include "sysemu.h" |
28 | 28 |
#include "nvram.h" |
29 |
#include "qemu-log.h" |
|
29 | 30 |
|
30 | 31 |
//#define PPC_DEBUG_IRQ |
31 | 32 |
//#define PPC_DEBUG_TB |
32 | 33 |
|
33 |
extern FILE *logfile; |
|
34 |
extern int loglevel; |
|
35 |
|
|
36 | 34 |
static void cpu_ppc_tb_stop (CPUState *env); |
37 | 35 |
static void cpu_ppc_tb_start (CPUState *env); |
38 | 36 |
|
b/hw/ppc405_boards.c | ||
---|---|---|
29 | 29 |
#include "sysemu.h" |
30 | 30 |
#include "block.h" |
31 | 31 |
#include "boards.h" |
32 |
|
|
33 |
extern int loglevel; |
|
34 |
extern FILE *logfile; |
|
32 |
#include "qemu-log.h" |
|
35 | 33 |
|
36 | 34 |
#define BIOS_FILENAME "ppc405_rom.bin" |
37 | 35 |
#undef BIOS_SIZE |
b/hw/ppc405_uc.c | ||
---|---|---|
27 | 27 |
#include "pc.h" |
28 | 28 |
#include "qemu-timer.h" |
29 | 29 |
#include "sysemu.h" |
30 |
|
|
31 |
extern int loglevel; |
|
32 |
extern FILE *logfile; |
|
30 |
#include "qemu-log.h" |
|
33 | 31 |
|
34 | 32 |
#define DEBUG_OPBA |
35 | 33 |
#define DEBUG_SDRAM |
b/hw/ppc4xx_devs.c | ||
---|---|---|
25 | 25 |
#include "ppc.h" |
26 | 26 |
#include "ppc4xx.h" |
27 | 27 |
#include "sysemu.h" |
28 |
|
|
29 |
extern int loglevel; |
|
30 |
extern FILE *logfile; |
|
28 |
#include "qemu-log.h" |
|
31 | 29 |
|
32 | 30 |
//#define DEBUG_MMIO |
33 | 31 |
//#define DEBUG_UNASSIGNED |
b/hw/ppc_prep.c | ||
---|---|---|
31 | 31 |
#include "pci.h" |
32 | 32 |
#include "ppc.h" |
33 | 33 |
#include "boards.h" |
34 |
#include "qemu-log.h" |
|
34 | 35 |
|
35 | 36 |
//#define HARD_DEBUG_PPC_IO |
36 | 37 |
//#define DEBUG_PPC_IO |
... | ... | |
44 | 45 |
#define KERNEL_LOAD_ADDR 0x01000000 |
45 | 46 |
#define INITRD_LOAD_ADDR 0x01800000 |
46 | 47 |
|
47 |
extern int loglevel; |
|
48 |
extern FILE *logfile; |
|
49 |
|
|
50 | 48 |
#if defined (HARD_DEBUG_PPC_IO) && !defined (DEBUG_PPC_IO) |
51 | 49 |
#define DEBUG_PPC_IO |
52 | 50 |
#endif |
Also available in: Unified diff