Allow to configure up to 255 CPUs (and let's hope it will work :))
This commit is contained in:
parent
36518ba6c6
commit
c88886b4d2
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: bochs.h,v 1.240 2009-01-19 13:13:32 vruppert Exp $
|
// $Id: bochs.h,v 1.241 2009-02-20 15:38:36 sshwarts Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||||
@ -356,7 +356,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
int n_logfn;
|
int n_logfn;
|
||||||
#define MAX_LOGFNS 128
|
#define MAX_LOGFNS 512
|
||||||
logfunc_t *logfn_list[MAX_LOGFNS];
|
logfunc_t *logfn_list[MAX_LOGFNS];
|
||||||
const char *logfn;
|
const char *logfn;
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: config.cc,v 1.154 2009-01-20 12:37:41 vruppert Exp $
|
// $Id: config.cc,v 1.155 2009-02-20 15:38:36 sshwarts Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||||
@ -426,8 +426,8 @@ void bx_init_options()
|
|||||||
bx_list_c *special_menus = new bx_list_c(root_param, "menu", "");
|
bx_list_c *special_menus = new bx_list_c(root_param, "menu", "");
|
||||||
|
|
||||||
#if BX_SUPPORT_SMP
|
#if BX_SUPPORT_SMP
|
||||||
#define BX_CPU_PROCESSORS_LIMIT 8
|
#define BX_CPU_PROCESSORS_LIMIT 255
|
||||||
#define BX_CPU_CORES_LIMIT 4
|
#define BX_CPU_CORES_LIMIT 8
|
||||||
#define BX_CPU_HT_THREADS_LIMIT 4
|
#define BX_CPU_HT_THREADS_LIMIT 4
|
||||||
#else
|
#else
|
||||||
#define BX_CPU_PROCESSORS_LIMIT 1
|
#define BX_CPU_PROCESSORS_LIMIT 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user