(temporary) remove debug output

This commit is contained in:
Markus Fröschle
2016-11-17 17:54:37 +00:00
parent 070757f147
commit aab09e3a7e
24 changed files with 24 additions and 24 deletions

View File

@@ -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[];

View File

@@ -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"
/* /*

View File

@@ -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"

View File

@@ -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 */

View File

@@ -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)

View File

@@ -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);

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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 */

View File

@@ -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

View File

@@ -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 */

View File

@@ -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

View File

@@ -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];

View File

@@ -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

View File

@@ -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);

View File

@@ -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"

View File

@@ -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) \

View File

@@ -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"
/* /*

View File

@@ -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 */

View File

@@ -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_

View File

@@ -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

View File

@@ -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)

View File

@@ -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)