ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
etiss
include
etiss
IntegratedLibrary
fault
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
11
namespace
etiss
12
{
13
namespace
fault
14
{
15
16
class
CPUStateCopyHelper
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
*)>>
21
allocatorMap_
;
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
Misc.h
general configuration and logging
etiss_del_como
#define etiss_del_como(CLASS)
Definition
Misc.h:52
etiss::fault::CPUStateCopyHelper
Definition
CPUStateCopyHelper.h:17
etiss::fault::CPUStateCopyHelper::allocatorMap_
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)
Definition
CPUStateCopyHelper.h:19
etiss::fault::CPUStateCopyHelper::registerAllocator
void registerAllocator(std::string type, std::function< std::pair< uint8_t *, size_t >(std::string, ETISS_CPU *)> allocator)
etiss
forwards: include/jit/*
Definition
Benchmark.h:17
ETISS_CPU
basic cpu state structure needed for execution of any cpu architecture.
Definition
CPU.h:51
Generated on Sat Nov 15 2025 19:30:10 for ETISS 0.11.2 by
1.9.8