remove separate debug printout macros

This commit is contained in:
Markus Fröschle
2016-10-04 20:44:59 +00:00
parent b89fdda6d7
commit 5640859df8
8 changed files with 24 additions and 33 deletions

View File

@@ -10,6 +10,8 @@
#include "pci_ids.h"
#include "x86pcibios.h"
#include "debug.h"
#define USE_SDRAM
#define DIRECT_ACCESS
@@ -26,13 +28,6 @@
#define SYS_BIOS 0xF0000
#define SIZE_EMU 0x100000
#define DBG_BIOSEMU
#ifdef DBG_BIOSEMU
#define dbg(format, arg...) do { xprintf("DEBUG (%s()): " format, __FUNCTION__, ##arg);} while(0)
#else
#define dbg(format, arg...) do {;} while (0)
#endif /* DBG_BIOSEMU */
#define err(format, arg...) do { xprintf("ERROR (%s()): " format, __FUNCTION__, ##arg); } while(0)
typedef struct
{