Use qemu-log.h
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5413 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fdb0d09d02
commit
3b3fb32229
@ -109,8 +109,7 @@ void cpu_loop(CPUState *env);
|
||||
void init_paths(const char *prefix);
|
||||
const char *path(const char *pathname);
|
||||
|
||||
extern int loglevel;
|
||||
extern FILE *logfile;
|
||||
#include "qemu-log.h"
|
||||
|
||||
/* commpage.c */
|
||||
void commpage_init(void);
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "sysemu.h"
|
||||
#include "audio/audio.h"
|
||||
#include "boards.h"
|
||||
#include "qemu-log.h"
|
||||
|
||||
//#define DEBUG_BOARD_INIT
|
||||
|
||||
@ -59,8 +60,6 @@
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
|
||||
extern FILE *logfile;
|
||||
|
||||
typedef struct {
|
||||
uint32_t leds;
|
||||
uint32_t brk;
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "sysemu.h"
|
||||
#include "boards.h"
|
||||
#include "flash.h"
|
||||
#include "qemu-log.h"
|
||||
|
||||
#ifdef TARGET_WORDS_BIGENDIAN
|
||||
#define BIOS_FILENAME "mips_bios.bin"
|
||||
@ -35,8 +36,6 @@ static const int ide_irq[2] = { 14, 15 };
|
||||
static int serial_io[MAX_SERIAL_PORTS] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8 };
|
||||
static int serial_irq[MAX_SERIAL_PORTS] = { 4, 3, 4, 3 };
|
||||
|
||||
extern FILE *logfile;
|
||||
|
||||
static PITState *pit; /* PIT i8254 */
|
||||
|
||||
/* i8254 PIT is attached to the IRQ0 at PIC i8259 */
|
||||
|
4
hw/ppc.c
4
hw/ppc.c
@ -26,13 +26,11 @@
|
||||
#include "qemu-timer.h"
|
||||
#include "sysemu.h"
|
||||
#include "nvram.h"
|
||||
#include "qemu-log.h"
|
||||
|
||||
//#define PPC_DEBUG_IRQ
|
||||
//#define PPC_DEBUG_TB
|
||||
|
||||
extern FILE *logfile;
|
||||
extern int loglevel;
|
||||
|
||||
static void cpu_ppc_tb_stop (CPUState *env);
|
||||
static void cpu_ppc_tb_start (CPUState *env);
|
||||
|
||||
|
@ -29,9 +29,7 @@
|
||||
#include "sysemu.h"
|
||||
#include "block.h"
|
||||
#include "boards.h"
|
||||
|
||||
extern int loglevel;
|
||||
extern FILE *logfile;
|
||||
#include "qemu-log.h"
|
||||
|
||||
#define BIOS_FILENAME "ppc405_rom.bin"
|
||||
#undef BIOS_SIZE
|
||||
|
@ -27,9 +27,7 @@
|
||||
#include "pc.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "sysemu.h"
|
||||
|
||||
extern int loglevel;
|
||||
extern FILE *logfile;
|
||||
#include "qemu-log.h"
|
||||
|
||||
#define DEBUG_OPBA
|
||||
#define DEBUG_SDRAM
|
||||
|
@ -25,9 +25,7 @@
|
||||
#include "ppc.h"
|
||||
#include "ppc4xx.h"
|
||||
#include "sysemu.h"
|
||||
|
||||
extern int loglevel;
|
||||
extern FILE *logfile;
|
||||
#include "qemu-log.h"
|
||||
|
||||
//#define DEBUG_MMIO
|
||||
//#define DEBUG_UNASSIGNED
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "pci.h"
|
||||
#include "ppc.h"
|
||||
#include "boards.h"
|
||||
#include "qemu-log.h"
|
||||
|
||||
//#define HARD_DEBUG_PPC_IO
|
||||
//#define DEBUG_PPC_IO
|
||||
@ -44,9 +45,6 @@
|
||||
#define KERNEL_LOAD_ADDR 0x01000000
|
||||
#define INITRD_LOAD_ADDR 0x01800000
|
||||
|
||||
extern int loglevel;
|
||||
extern FILE *logfile;
|
||||
|
||||
#if defined (HARD_DEBUG_PPC_IO) && !defined (DEBUG_PPC_IO)
|
||||
#define DEBUG_PPC_IO
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user