024ce249bf
I would like all next commits be aware of SMM mode. It can't be implemented right now (too many questions w/o answers) but it will be done till next major release definitelly.
40 lines
1.5 KiB
C++
Executable File
40 lines
1.5 KiB
C++
Executable File
/////////////////////////////////////////////////////////////////////////
|
|
// $Id: smm.cc,v 1.1 2006-02-14 19:00:08 sshwarts Exp $
|
|
/////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) 2006 Stanislav Shwartsman
|
|
// Written by Stanislav Shwartsman <stl at fidonet.org.il>
|
|
//
|
|
// This library is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU Lesser General Public
|
|
// License as published by the Free Software Foundation; either
|
|
// version 2 of the License, or (at your option) any later version.
|
|
//
|
|
// This library is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
// Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
// License along with this library; if not, write to the Free Software
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#define NEED_CPU_REG_SHORTCUTS 1
|
|
#include "bochs.h"
|
|
#define LOG_THIS BX_CPU_THIS_PTR
|
|
|
|
|
|
void BX_CPU_C::RSM(bxInstruction_c *i)
|
|
{
|
|
invalidate_prefetch_q();
|
|
|
|
/* If we are not in System Management Mode, then #UD should be generated */
|
|
/* Bochs currently has no SMM */
|
|
|
|
BX_INFO(("RSM: System Management Mode not implemented yet"));
|
|
|
|
UndefinedOpcode(i);
|
|
}
|