Got rid of very old BX_SUPPORT_TASKING define. That originated
way back when I first added paging support.
This commit is contained in:
parent
9b0869bbc5
commit
293cbc01ea
@ -158,16 +158,6 @@
|
||||
#define BX_DEFAULT_MEM_MEGS 4
|
||||
|
||||
|
||||
//
|
||||
// x86 hardware tasking. There is some tasking support now.
|
||||
// I'm trying to get Linux to boot. The default for this
|
||||
// is now 1, but if you don't need x86 tasking (DOS, Win'95),
|
||||
// then set this to 0.
|
||||
//
|
||||
|
||||
#define BX_SUPPORT_TASKING 1
|
||||
|
||||
|
||||
// CPU level emulation. Default level is set in
|
||||
// the configure script. BX_CPU_LEVEL defines the CPU level
|
||||
// to emulate. BX_CPU_LEVEL_HACKED is a hack to define the
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: tasking.cc,v 1.9 2001-11-11 04:57:05 bdenney Exp $
|
||||
// $Id: tasking.cc,v 1.10 2002-09-09 19:48:58 uid94540 Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -34,8 +34,6 @@
|
||||
|
||||
|
||||
|
||||
#if BX_SUPPORT_TASKING
|
||||
|
||||
#if BX_CPU_LEVEL >= 2
|
||||
|
||||
// Notes:
|
||||
@ -958,29 +956,3 @@ BX_CPU_C::get_SS_ESP_from_TSS(unsigned pl, Bit16u *ss, Bit32u *esp)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#else // BX_SUPPORT_TASKING
|
||||
|
||||
|
||||
// for non-support of hardware tasking
|
||||
|
||||
#if BX_CPU_LEVEL >= 2
|
||||
/* corresponds to SWITCH_TASKS algorithm in Intel documentation */
|
||||
void
|
||||
BX_CPU_C::task_switch(bx_selector_t *selector,
|
||||
bx_descriptor_t *descriptor, unsigned source,
|
||||
Bit32u dword1, Bit32u dword2)
|
||||
{
|
||||
UNUSED(selector);
|
||||
UNUSED(descriptor);
|
||||
UNUSED(source);
|
||||
UNUSED(dword1);
|
||||
UNUSED(dword2);
|
||||
|
||||
BX_INFO(("task_switch(): not complete"));
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // BX_SUPPORT_TASKING
|
||||
|
Loading…
x
Reference in New Issue
Block a user