- fixed usage of variable 'apic_id_mask' for compatibility with win32 plugin target

This commit is contained in:
Volker Ruppert 2010-05-15 09:23:50 +00:00
parent 35f8e91cad
commit cdb7e0eb96
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: bochs.h,v 1.253 2010-04-13 17:56:50 sshwarts Exp $
// $Id: bochs.h,v 1.254 2010-05-15 09:23:50 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001-2009 The Bochs Project
@ -445,6 +445,9 @@ void CDECL bx_signal_handler(int signum);
int bx_atexit(void);
BOCHSAPI extern bx_debug_t bx_dbg;
// determinted by XAPIC option
BOCHSAPI extern Bit32u apic_id_mask;
// memory access type (read/write/execute/rw)
#define BX_READ 0
#define BX_WRITE 1

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: apic.cc,v 1.143 2010-04-08 15:50:39 sshwarts Exp $
// $Id: apic.cc,v 1.144 2010-05-15 09:23:50 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002-2009 Zwane Mwaikambo, Stanislav Shwartsman
@ -27,7 +27,6 @@
#if BX_SUPPORT_APIC
extern Bit32u apic_id_mask;
extern bx_bool simulate_xapic;
#define LOG_THIS this->

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: ioapic.cc,v 1.52 2010-05-14 12:10:00 sshwarts Exp $
// $Id: ioapic.cc,v 1.53 2010-05-15 09:23:50 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002-2009 The Bochs Project
@ -34,8 +34,6 @@
bx_ioapic_c *theIOAPIC = NULL;
extern Bit32u apic_id_mask;
int libioapic_LTX_plugin_init(plugin_t *plugin, plugintype_t type, int argc, char *argv[])
{
theIOAPIC = new bx_ioapic_c();