TEMU  3.0
The Terma Emulator
Device.h
Go to the documentation of this file.
1 //===------------------------------------------------------------*- C++ -*-===//
2 //
3 // TEMU: The Terma Emulator
4 // (c) Terma 2015
5 // Authors: Mattias Holm <maho (at) terma.com>
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef TEMU_DEVICE_H
10 #define TEMU_DEVICE_H
11 
12 #include "temu-c/Support/Objsys.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
24 typedef struct temu_DeviceIface {
25  void (*reset)(void *Obj, int ResetType);
26  void (*mapDevice)(void *Obj, uint64_t Address, uint64_t Len);
28 #define TEMU_DEVICE_IFACE_TYPE "DeviceIface"
29 TEMU_IFACE_REFERENCE_TYPE(temu_Device);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* ! TEMU_DEVICE_H */
TEMU_IFACE_REFERENCE_TYPE(temu_Device)
void(* mapDevice)(void *Obj, uint64_t Address, uint64_t Len)
Definition: Device.h:26
Definition: Device.h:24
void(* reset)(void *Obj, int ResetType)
Definition: Device.h:25
struct temu_DeviceIface temu_DeviceIface