Files
fail/src/core/sal/bochs/BochsConfig.hpp
Horst Schirmeier 67f30a171e x86+bochs: add IDs and accessors for FPU and SSE registers
Change-Id: I33146929255337f679ff80152ed4d83106621ffb
2018-12-11 17:14:59 +01:00

30 lines
786 B
C++

/**
* \file BochsConfig.hpp
* \brief Type definitions and configuration settings for
* the Bochs simulator.
*/
#ifndef __BOCHS_CONFIG_HPP__
#define __BOCHS_CONFIG_HPP__
#include "bochs.h"
#include "config.h"
namespace fail {
typedef bx_address guest_address_t; //!< the guest memory address type
typedef Bit8u* host_address_t; //!< the host memory address type
//! register data type (64 bit, regardless of BX_SUPPORT_X86_64: FPU and vector
//! registers are that size or larger also for 32-bit machines)
typedef Bit64u register_data_t;
typedef int timer_t; //!< type of timer IDs
// 'Publish' 64 bit ability (if enabled in Bochs):
#if BX_SUPPORT_X86_64
#define SIM_SUPPORT_64
#endif
} // end-of-namespace: fail
#endif // __BOCHS_CONFIG_HPP__