first steps towards a QEMU target backend
- This commit only enables linking against QEMU. The abstraction layer is completely dysfunctional at this time. - QEMU's build system needs to be patched in order to create a static library. This patch is currently not included in the Fail* repository. - QEMU's JIT compilation may complicate or even preclude the implementation of some of Fail*'s backend abstractions. Only a minimal subset (serial I/O, memory, memory writes, save/restore) is planned for the first phase. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1615 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
20
src/core/sal/qemu/QEMUConfig.hpp
Normal file
20
src/core/sal/qemu/QEMUConfig.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* \brief Type definitions and configuration settings for the
|
||||
* qemu-system-x86_64 target backend.
|
||||
*/
|
||||
|
||||
#ifndef __QEMU_CONFIG_HPP__
|
||||
#define __QEMU_CONFIG_HPP__
|
||||
|
||||
// FIXME: qemu/targphys.h defines address types (but relies on a global preprocessor macro)
|
||||
|
||||
namespace fail {
|
||||
|
||||
typedef uint64_t guest_address_t; //!< the guest memory address type
|
||||
typedef unsigned char* host_address_t; //!< the host memory address type
|
||||
typedef uint64_t register_data_t; //!< register data type (64 bit)
|
||||
typedef int timer_t; //!< type of timer IDs
|
||||
|
||||
} // end-of-namespace: fail
|
||||
|
||||
#endif // __QEMU_CONFIG_HPP__
|
||||
Reference in New Issue
Block a user