remove another unused function

This commit is contained in:
Stanislav Shwartsman 2009-10-15 21:15:18 +00:00
parent a7680fe2ec
commit a666532324
3 changed files with 4 additions and 22 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: bochs.h,v 1.248 2009-04-26 06:56:27 vruppert Exp $
// $Id: bochs.h,v 1.249 2009-10-15 21:15:18 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -238,8 +238,6 @@ void print_tree(bx_param_c *node, int level = 0);
if (bx_guard.report.a20) bx_dbg_a20_report(val)
# define BX_DBG_IO_REPORT(port, size, op, val) \
if (bx_guard.report.io) bx_dbg_io_report(port, size, op, val)
# define BX_DBG_UCMEM_REPORT(addr, size, op, val) \
if (bx_guard.report.ucmem) bx_dbg_ucmem_report(addr, size, op, val)
# define BX_DBG_LIN_MEMORY_ACCESS(cpu, lin, phy, len, pl, rw, data) \
bx_dbg_lin_memory_access(cpu, lin, phy, len, pl, rw, data)
# define BX_DBG_PHY_MEMORY_ACCESS(cpu, phy, len, rw, data) \
@ -251,8 +249,7 @@ void print_tree(bx_param_c *node, int level = 0);
# define BX_DBG_DMA_REPORT(addr, len, what, val) /* empty */
# define BX_DBG_IAC_REPORT(vector, irq) /* empty */
# define BX_DBG_A20_REPORT(val) /* empty */
# define BX_DBG_IO_REPORT(addr, size, op, val) /* empty */
# define BX_DBG_UCMEM_REPORT(addr, size, op, val) /* empty */
# define BX_DBG_IO_REPORT(port, size, op, val) /* empty */
# define BX_DBG_LIN_MEMORY_ACCESS(cpu, lin, phy, len, pl, rw, data) /* empty */
# define BX_DBG_PHY_MEMORY_ACCESS(cpu, phy, len, rw, data) /* empty */
#endif // #if BX_DEBUGGER

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: dbg_main.cc,v 1.212 2009-10-15 20:50:33 sshwarts Exp $
// $Id: dbg_main.cc,v 1.213 2009-10-15 21:15:18 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -2621,7 +2621,6 @@ void bx_dbg_set_symbol_command(const char *symbol, Bit32u val)
bx_guard.report.irq = val;
bx_guard.report.a20 = val;
bx_guard.report.io = val;
bx_guard.report.ucmem = val;
bx_guard.report.dma = val;
return;
}
@ -3291,18 +3290,6 @@ void bx_dbg_io_report(Bit32u port, unsigned size, unsigned op, Bit32u val)
}
}
void bx_dbg_ucmem_report(bx_address addr, unsigned size, unsigned op, Bit32u val)
{
if (bx_guard.report.ucmem) {
dbg_printf("event at t=" FMT_LL "d UCmem addr=0x" FMT_ADDRX " size=%u op=%s val=0x%x\n",
bx_pc_system.time_ticks(),
addr,
size,
(op==BX_READ) ? "read" : "write",
(unsigned) val);
}
}
void bx_dbg_dma_report(bx_phy_address addr, unsigned len, unsigned what, Bit32u val)
{
if (bx_dbg_batch_dma.this_many == 0) {

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: debug.h,v 1.56 2009-10-15 20:50:33 sshwarts Exp $
// $Id: debug.h,v 1.57 2009-10-15 21:15:18 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -424,7 +424,6 @@ typedef struct {
bx_bool irq;
bx_bool a20;
bx_bool io;
bx_bool ucmem;
bx_bool dma;
} report;
@ -491,7 +490,6 @@ void bx_dbg_dma_report(bx_phy_address addr, unsigned len, unsigned what, Bit32u
void bx_dbg_iac_report(unsigned vector, unsigned irq);
void bx_dbg_a20_report(unsigned val);
void bx_dbg_io_report(Bit32u port, unsigned size, unsigned op, Bit32u val);
void bx_dbg_ucmem_report(Bit32u addr, unsigned size, unsigned op, Bit32u val);
void bx_dbg_disassemble_current(int which_cpu, int print_time);
#endif // #ifdef __cplusplus