- fix compiling with --enable-pci --enable-debugger

This commit is contained in:
Christophe Bothamy 2002-11-15 22:11:24 +00:00
parent 34f8d7e447
commit e8880cf9b3
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: dbg_main.cc,v 1.86 2002-11-07 15:58:05 shap Exp $
// $Id: dbg_main.cc,v 1.87 2002-11-15 22:11:24 cbothamy Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -2681,7 +2681,7 @@ bx_dbg_dump_cpu_command(void)
#if BX_PCI_SUPPORT
if (bx_options.Oi440FXSupport->get ()) {
bx_devices.pci->print_i440fx_state();
DEV_pci_print_i440fx_state();
}
#endif

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: plugin.h,v 1.6 2002-11-13 18:39:35 vruppert Exp $
// $Id: plugin.h,v 1.7 2002-11-15 22:11:23 cbothamy Exp $
/////////////////////////////////////////////////////////////////////////
//
// This file provides macros and types needed for plugins. It is based on
@ -155,6 +155,7 @@ extern "C" {
(bx_devices.pluginPciBridge->register_pci_handlers(b,c,d,e,f))
#define DEV_pci_rd_memtype(addr) bx_devices.pluginPciBridge->rd_memType(addr)
#define DEV_pci_wr_memtype(addr) bx_devices.pluginPciBridge->wr_memType(addr)
#define DEV_pci_print_i440fx_state() bx_devices.pluginPciBridge->print_i440fx_state()
#if BX_HAVE_DLFCN_H