2001-10-03 17:10:38 +04:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
2011-03-23 01:18:40 +03:00
|
|
|
// $Id$
|
2001-10-03 17:10:38 +04:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
2009-10-15 00:45:29 +04:00
|
|
|
// Copyright (c) 2006-2009 Stanislav Shwartsman
|
|
|
|
// Written by Stanislav Shwartsman [sshwarts at sourceforge net]
|
2001-04-10 05:04:59 +04:00
|
|
|
//
|
|
|
|
// 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
|
2009-02-09 13:35:55 +03:00
|
|
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2001-04-10 05:04:59 +04:00
|
|
|
|
|
|
|
|
|
|
|
#include "bochs.h"
|
|
|
|
|
2007-03-15 00:15:15 +03:00
|
|
|
#if BX_INSTRUMENTATION
|
|
|
|
|
2008-10-01 15:36:04 +04:00
|
|
|
void bx_instr_init_env(void) {}
|
|
|
|
void bx_instr_exit_env(void) {}
|
|
|
|
|
2008-11-18 23:55:59 +03:00
|
|
|
void bx_instr_initialize(unsigned cpu) {}
|
2008-04-16 01:27:11 +04:00
|
|
|
void bx_instr_exit(unsigned cpu) {}
|
2008-11-18 23:55:59 +03:00
|
|
|
void bx_instr_reset(unsigned cpu, unsigned type) {}
|
2005-07-07 22:40:35 +04:00
|
|
|
void bx_instr_hlt(unsigned cpu) {}
|
2007-12-14 00:41:32 +03:00
|
|
|
void bx_instr_mwait(unsigned cpu, bx_phy_address addr, unsigned len, Bit32u flags) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
|
|
|
void bx_instr_debug_promt() {}
|
2009-07-03 19:05:44 +04:00
|
|
|
void bx_instr_debug_cmd(const char *cmd) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
|
|
|
void bx_instr_cnear_branch_taken(unsigned cpu, bx_address new_eip) {}
|
|
|
|
void bx_instr_cnear_branch_not_taken(unsigned cpu) {}
|
|
|
|
void bx_instr_ucnear_branch(unsigned cpu, unsigned what, bx_address new_eip) {}
|
|
|
|
void bx_instr_far_branch(unsigned cpu, unsigned what, Bit16u new_cs, bx_address new_eip) {}
|
|
|
|
|
2008-03-03 18:09:30 +03:00
|
|
|
void bx_instr_opcode(unsigned cpu, const Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
|
|
|
void bx_instr_interrupt(unsigned cpu, unsigned vector) {}
|
2009-01-20 22:34:16 +03:00
|
|
|
void bx_instr_exception(unsigned cpu, unsigned vector, unsigned error_code) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
void bx_instr_hwinterrupt(unsigned cpu, unsigned vector, Bit16u cs, bx_address eip) {}
|
|
|
|
|
2007-12-14 00:53:55 +03:00
|
|
|
void bx_instr_tlb_cntrl(unsigned cpu, unsigned what, bx_phy_address new_cr3) {}
|
2008-01-17 01:54:46 +03:00
|
|
|
void bx_instr_clflush(unsigned cpu, bx_address laddr, bx_phy_address paddr) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
void bx_instr_cache_cntrl(unsigned cpu, unsigned what) {}
|
2002-10-16 21:37:35 +04:00
|
|
|
void bx_instr_prefetch_hint(unsigned cpu, unsigned what, unsigned seg, bx_address offset) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
2008-01-18 12:38:54 +03:00
|
|
|
void bx_instr_before_execution(unsigned cpu, bxInstruction_c *i) {}
|
|
|
|
void bx_instr_after_execution(unsigned cpu, bxInstruction_c *i) {}
|
|
|
|
void bx_instr_repeat_iteration(unsigned cpu, bxInstruction_c *i) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
|
|
|
void bx_instr_inp(Bit16u addr, unsigned len) {}
|
|
|
|
void bx_instr_inp2(Bit16u addr, unsigned len, unsigned val) {}
|
2008-12-29 21:02:01 +03:00
|
|
|
void bx_instr_outp(Bit16u addr, unsigned len, unsigned val) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
2007-12-14 00:30:05 +03:00
|
|
|
void bx_instr_lin_access(unsigned cpu, bx_address lin, bx_address phy, unsigned len, unsigned rw) {}
|
2002-09-28 04:54:05 +04:00
|
|
|
|
2003-02-13 18:04:11 +03:00
|
|
|
void bx_instr_phy_write(unsigned cpu, bx_address addr, unsigned len) {}
|
|
|
|
void bx_instr_phy_read(unsigned cpu, bx_address addr, unsigned len) {}
|
2005-03-17 23:50:57 +03:00
|
|
|
|
|
|
|
void bx_instr_wrmsr(unsigned cpu, unsigned addr, Bit64u value) {}
|
2007-03-15 00:15:15 +03:00
|
|
|
|
|
|
|
#endif
|