Basic SAL files and makefile modifications for adding gem5.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1457 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
22
src/core/sal/gem5/Gem5Config.hpp
Normal file
22
src/core/sal/gem5/Gem5Config.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
/**
|
||||
* \brief Type definitions and configuration settings for
|
||||
* the gem5 simulator.
|
||||
*/
|
||||
|
||||
#ifndef __GEM5_CONFIG_HPP__
|
||||
#define __GEM5_CONFIG_HPP__
|
||||
|
||||
#include "base/types.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
|
||||
namespace fail {
|
||||
|
||||
typedef Addr guest_address_t; //!< the guest memory address type
|
||||
// TODO: Set Host Address Type
|
||||
typedef void* host_address_t; //!< the host memory address type
|
||||
typedef ArmISA::AnyReg register_data_t; //!< register data type (32 bit)
|
||||
typedef int timer_t; //!< type of timer IDs
|
||||
|
||||
} // end-of-namespace: fail
|
||||
|
||||
#endif // __GEM5_CONFIG_HPP__
|
||||
Reference in New Issue
Block a user