ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
CVirtualStruct.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 <stdint.h>
8
25typedef const char *const *(*VirtualStruct_names)(void *handle);
38typedef const char *const *(*VirtualStruct_prettyNames)(void *handle);
39
43typedef uint64_t (*VirtualStruct_read)(void *handle, uint32_t index);
47typedef void (*VirtualStruct_write)(void *handle, uint32_t index);
48
53typedef void (*VirtualStruct_setListenerCallback)(void *handle, void *callbackHandle,
54 void (*callback)(void *handle, void *callbackHandle, uint32_t index));
static __inline__ uint32_t
Definition arm_cde.h:25
static __inline__ uint64_t
Definition arm_cde.h:31
uint64_t(* VirtualStruct_read)(void *handle, uint32_t index)
read the value of the field at the given index
void(* VirtualStruct_setListenerCallback)(void *handle, void *callbackHandle, void(*callback)(void *handle, void *callbackHandle, uint32_t index))
setter function to register the callback handle for listener supported fields.
void(* VirtualStruct_write)(void *handle, uint32_t index)
write the value of the field at the given index