gem5 build system improved
Encapsulated gem5-specific code into wrapper functions to separate the build process (Fail: CMake, gem5: scons). Added some gem5-related FIXMEs. Another CMake related FIXME added. +some cosmetics. Change-Id: Id84b480127b1f13aed6a0ee97f3583f410d531c5
This commit is contained in:
@ -6,15 +6,20 @@
|
||||
#ifndef __GEM5_CONFIG_HPP__
|
||||
#define __GEM5_CONFIG_HPP__
|
||||
|
||||
#include "base/types.hh"
|
||||
#include <stdint.h>
|
||||
|
||||
namespace fail {
|
||||
|
||||
typedef Addr guest_address_t; //!< the guest memory address type
|
||||
/**
|
||||
* The guest memory address type
|
||||
*
|
||||
* @note Keep this sync with src/base/types.hh:68 ("typedef uint64_t Addr;")
|
||||
*/
|
||||
typedef uint64_t guest_address_t;
|
||||
// TODO: Set Host Address Type
|
||||
typedef void* host_address_t; //!< the host memory address type
|
||||
typedef uint64_t register_data_t; //!< register data type (gem5 always uses 64 bit for registers)
|
||||
typedef int timer_t; //!< type of timer IDs
|
||||
typedef uint64_t register_data_t; //!< register data type (gem5 always uses 64 bit for registers)
|
||||
typedef int timer_t; //!< type of timer IDs
|
||||
|
||||
} // end-of-namespace: fail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user