Fixed LDTR reset vales
This commit is contained in:
parent
fdac9efa9b
commit
173d126763
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: init.cc,v 1.121 2006-08-31 18:18:17 sshwarts Exp $
|
// $Id: init.cc,v 1.122 2006-08-31 18:21:16 sshwarts Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||||
@ -862,9 +862,9 @@ void BX_CPU_C::reset(unsigned source)
|
|||||||
BX_CPU_THIS_PTR ldtr.cache.u.system.base = 0x00000000;
|
BX_CPU_THIS_PTR ldtr.cache.u.system.base = 0x00000000;
|
||||||
BX_CPU_THIS_PTR ldtr.cache.u.system.limit = 0xFFFF;
|
BX_CPU_THIS_PTR ldtr.cache.u.system.limit = 0xFFFF;
|
||||||
#if BX_CPU_LEVEL >= 3
|
#if BX_CPU_LEVEL >= 3
|
||||||
BX_CPU_THIS_PTR tr.cache.u.system.limit_scaled = 0xFFFF;
|
BX_CPU_THIS_PTR ldtr.cache.u.system.limit_scaled = 0xFFFF;
|
||||||
BX_CPU_THIS_PTR tr.cache.u.system.avl = 0;
|
BX_CPU_THIS_PTR ldtr.cache.u.system.avl = 0;
|
||||||
BX_CPU_THIS_PTR tr.cache.u.system.g = 0; /* byte granular */
|
BX_CPU_THIS_PTR ldtr.cache.u.system.g = 0; /* byte granular */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* TR (Task Register) */
|
/* TR (Task Register) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user