(temporary) remove debug output
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
#error "unknown machine!"
|
#error "unknown machine!"
|
||||||
#endif /* MACHINE_FIREBEE */
|
#endif /* MACHINE_FIREBEE */
|
||||||
|
|
||||||
//#define DEBUG
|
//// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
extern char _SYS_SRAM[];
|
extern char _SYS_SRAM[];
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include "dma.h"
|
#include "dma.h"
|
||||||
#include "cache.h"
|
#include "cache.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef DEBUG_H
|
#ifndef DEBUG_H
|
||||||
#define DEBUG_H
|
// #define DEBUG_H
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#include "bas_types.h"
|
#include "bas_types.h"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
#include "interrupts.h"
|
#include "interrupts.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#undef OHCI_USE_NPS /* force NoPowerSwitching mode */
|
#undef OHCI_USE_NPS /* force NoPowerSwitching mode */
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include "interrupts.h"
|
#include "interrupts.h"
|
||||||
#include "wait.h"
|
#include "wait.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#define pci_config_wait() do { __asm__ __volatile("tpf" ::: "memory"); } while (0)
|
#define pci_config_wait() do { __asm__ __volatile("tpf" ::: "memory"); } while (0)
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
#include "bas_string.h"
|
#include "bas_string.h"
|
||||||
#include "exceptions.h" /* for set_ipl() */
|
#include "exceptions.h" /* for set_ipl() */
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
extern void run_bios(struct radeonfb_info *rinfo);
|
extern void run_bios(struct radeonfb_info *rinfo);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include "i2c.h"
|
#include "i2c.h"
|
||||||
#include "driver_mem.h"
|
#include "driver_mem.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include "bas_string.h"
|
#include "bas_string.h"
|
||||||
#include "video.h"
|
#include "video.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#ifndef INT_MAX
|
#ifndef INT_MAX
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
/* Copyright (C) 2012, mfro, all rights reserved. */
|
/* Copyright (C) 2012, mfro, all rights reserved. */
|
||||||
|
|
||||||
// #define DEBUG_MMC
|
// // #define DEBUG_MMC
|
||||||
#ifdef DEBUG_MMC
|
#ifdef DEBUG_MMC
|
||||||
#define debug_printf(format, arg...) do { xprintf("DEBUG: " format "\r\n", ##arg); } while (0)
|
#define debug_printf(format, arg...) do { xprintf("DEBUG: " format "\r\n", ##arg); } while (0)
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
#include "video.h"
|
#include "video.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/* imported routines */
|
/* imported routines */
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#include "dma.h"
|
#include "dma.h"
|
||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#ifndef MAX_ISR_ENTRY
|
#ifndef MAX_ISR_ENTRY
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "video.h"
|
#include "video.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#define UNUSED(x) (void)(x) /* Unused variable */
|
#define UNUSED(x) (void)(x) /* Unused variable */
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "usb_hub.h"
|
#include "usb_hub.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
struct hci
|
struct hci
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "usb_hub.h"
|
#include "usb_hub.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
static struct usb_hub_device hub_dev[USB_MAX_BUS][USB_MAX_HUB];
|
static struct usb_hub_device hub_dev[USB_MAX_BUS][USB_MAX_HUB];
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
|
|
||||||
//#define DEBUG_USBKBD
|
//// #define DEBUG_USBKBD
|
||||||
#ifdef DEBUG_USBKBD
|
#ifdef DEBUG_USBKBD
|
||||||
#define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0)
|
#define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0)
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
#include "driver_mem.h"
|
#include "driver_mem.h"
|
||||||
|
|
||||||
// #define DEBUG
|
// // #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
extern void ltoa(char *buf, long n, unsigned long base);
|
extern void ltoa(char *buf, long n, unsigned long base);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#include "driver_mem.h"
|
#include "driver_mem.h"
|
||||||
#include "bas_string.h"
|
#include "bas_string.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#include "bas_printf.h"
|
#include "bas_printf.h"
|
||||||
#include "bas_string.h"
|
#include "bas_string.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#define name_matches(v, s, l) \
|
#define name_matches(v, s, l) \
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "edid.h"
|
#include "edid.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
#include "bas_string.h"
|
#include "bas_string.h"
|
||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/* MD - Memory Descriptor */
|
/* MD - Memory Descriptor */
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
#include "fb.h"
|
#include "fb.h"
|
||||||
#include "radeonfb.h"
|
#include "radeonfb.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#ifdef _USE_VIDEL_
|
#ifdef _USE_VIDEL_
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include "pci_ids.h"
|
#include "pci_ids.h"
|
||||||
#include "x86pcibios.h"
|
#include "x86pcibios.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
struct rom_header
|
struct rom_header
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
#include "x86emu.h"
|
#include "x86emu.h"
|
||||||
#include "x86emu_regs.h"
|
#include "x86emu_regs.h"
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
static __inline uint16_t le16dec(const void *buf)
|
static __inline uint16_t le16dec(const void *buf)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
extern unsigned short offset_port;
|
extern unsigned short offset_port;
|
||||||
|
|
||||||
#define DEBUG
|
// #define DEBUG
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
int x86_pcibios_handler(struct X86EMU *emu)
|
int x86_pcibios_handler(struct X86EMU *emu)
|
||||||
|
|||||||
Reference in New Issue
Block a user