Remove redundant RSP canonical check - will happen anyway in push function
This commit is contained in:
parent
64a80c8a2d
commit
685a10749d
@ -1,5 +1,5 @@
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// $Id: call_far.cc,v 1.32 2008-04-19 20:00:28 sshwarts Exp $
|
||||
// $Id: call_far.cc,v 1.33 2008-05-04 21:51:52 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (c) 2005 Stanislav Shwartsman
|
||||
@ -578,13 +578,6 @@ BX_CPU_C::call_gate64(bx_selector_t *gate_selector)
|
||||
{
|
||||
BX_DEBUG(("CALL GATE TO SAME PRIVILEGE"));
|
||||
|
||||
// make sure that push CS:RIP will not fail
|
||||
if (! IsCanonical(RSP)) {
|
||||
BX_ERROR(("call_gate64: canonical address failure %08x%08x",
|
||||
GET32H(RSP), GET32L(RSP)));
|
||||
exception(BX_SS_EXCEPTION, 0, 0);
|
||||
}
|
||||
|
||||
// push return address onto stack
|
||||
push_64(old_CS);
|
||||
push_64(old_RIP);
|
||||
|
Loading…
Reference in New Issue
Block a user