ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
CPUArchLibrary.h
Go to the documentation of this file.
1 
57 #ifndef ETISS_INCLUDE_HELPER_CPUARCHLIBRARY_H_
58 #define ETISS_INCLUDE_HELPER_CPUARCHLIBRARY_H_
59 
60 #include "etiss/helper/Misc.h"
61 
62 #include "etiss/CPUArch.h"
63 
64 extern "C"
65 {
66 
68  ETISS_LIBNAME, _countCPUArch)();
70  unsigned index);
72  unsigned index,
73  std::map<std::string, std::string> options);
75 }
76 
77 #endif
ETISS_PLUGIN_EXPORT etiss::CPUArch std::map< std::string, std::string > options
create new instance of the CPUArch type at index
ETISS_PLUGIN_EXPORT unsigned etiss_helper_merge(ETISS_LIBNAME, _countCPUArch)()
function to get number of CPUArch types supplied by a library
contains neccesary interfaces for instruction translation.
#define ETISS_LIBNAME
the interface to translate instructions of and processor architecture
Definition: CPUArch.h:162
#define ETISS_PLUGIN_EXPORT
Definition: pluginexport.h:15
contains general definitions needed for library function definitions.