ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
CPUStateCopyHelper.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2//
3// This file is part of ETISS. It is licensed under the BSD 3-Clause License; you may not use this file except in
4// compliance with the License. You should have received a copy of the license along with this project. If not, see the
5// LICENSE file.
6
7#include <vector>
8
9#include "etiss/Misc.h"
10
11namespace etiss
12{
13namespace fault
14{
15
17{
18 public:
19 etiss_del_como(CPUStateCopyHelper) private : std::list<std::pair<uint8_t *, size_t>> instructions_;
20 std::map<std::string, std::function<std::pair<uint8_t *, size_t>(std::string, ETISS_CPU *)>>
22 public:
23 void registerAllocator(std::string type,
24 std::function<std::pair<uint8_t *, size_t>(std::string, ETISS_CPU *)> allocator);
25};
26
27} // namespace fault
28} // namespace etiss
general configuration and logging
#define etiss_del_como(CLASS)
Definition Misc.h:52
etiss_del_como(CPUStateCopyHelper) private std::map< std::string, std::function< std::pair< uint8_t *, size_t >(std::string, ETISS_CPU *)> > allocatorMap_
type -> std::pair<uint8_t*,size_t>(*func)(std::string registername,ETISS_CPU * cpu)
void registerAllocator(std::string type, std::function< std::pair< uint8_t *, size_t >(std::string, ETISS_CPU *)> allocator)
forwards: include/jit/*
Definition Benchmark.h:17
basic cpu state structure needed for execution of any cpu architecture.
Definition CPU.h:51