more 'accessed' bit fix
This commit is contained in:
parent
d44dc8b83c
commit
461d5a0ef2
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: segment_ctrl_pro.cc,v 1.115 2009-07-27 13:28:25 sshwarts Exp $
|
||||
// $Id: segment_ctrl_pro.cc,v 1.116 2009-07-28 14:55:27 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -558,12 +558,12 @@ BX_CPU_C::load_ss(bx_selector_t *selector, bx_descriptor_t *descriptor, Bit8u cp
|
||||
// Add cpl to the selector value.
|
||||
selector->value = (0xfffc & selector->value) | cpl;
|
||||
|
||||
touch_segment(selector, descriptor);
|
||||
|
||||
BX_CPU_THIS_PTR sregs[BX_SEG_REG_SS].selector = *selector;
|
||||
BX_CPU_THIS_PTR sregs[BX_SEG_REG_SS].cache = *descriptor;
|
||||
BX_CPU_THIS_PTR sregs[BX_SEG_REG_SS].selector.rpl = cpl;
|
||||
|
||||
touch_segment(selector, descriptor);
|
||||
|
||||
#if BX_SUPPORT_X86_64
|
||||
if (BX_CPU_THIS_PTR cpu_mode == BX_MODE_LONG_64) {
|
||||
loadSRegLMNominal(BX_SEG_REG_SS, selector->value, cpl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user