re-locate BX_SMP_PROCESSORS macro

This commit is contained in:
Stanislav Shwartsman 2008-10-20 19:13:08 +00:00
parent f81e35d966
commit 17d02735cb
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: bochs.h,v 1.234 2008-10-02 06:49:20 sshwarts Exp $
// $Id: bochs.h,v 1.235 2008-10-20 19:13:08 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -522,12 +522,6 @@ extern bx_bool bx_gui_sighandler;
#define BX_N_USB_HUBS 1
#define BX_N_PCI_SLOTS 5
#if BX_SUPPORT_SMP
#define BX_SMP_PROCESSORS (bx_cpu_count)
#else
#define BX_SMP_PROCESSORS 1
#endif
void bx_center_print(FILE *file, const char *line, unsigned maxwidth);
#include "instrument.h"

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: siminterface.h,v 1.218 2008-09-22 21:38:15 sshwarts Exp $
// $Id: siminterface.h,v 1.219 2008-10-20 19:13:08 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Intro to siminterface by Bryce Denney:
@ -239,6 +239,12 @@ typedef enum {
// base value for generated new parameter id
#define BXP_NEW_PARAM_ID 1001
#if BX_SUPPORT_SMP
#define BX_SMP_PROCESSORS (bx_cpu_count)
#else
#define BX_SMP_PROCESSORS 1
#endif
typedef enum {
BX_TOOLBAR_UNDEFINED,
BX_TOOLBAR_FLOPPYA,