From ff66523bb076a246c2fc159f0f76947bd6f84fc1 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 29 Oct 2022 12:55:08 -0700 Subject: Control register values should not be "unsigned int" --- io/model.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'io/model.h') diff --git a/io/model.h b/io/model.h index c7199ea..8758a43 100644 --- a/io/model.h +++ b/io/model.h @@ -2,6 +2,7 @@ #include #include +#include #include "io/event.h" #include "isa/isa.h" @@ -11,5 +12,7 @@ struct iomodel { event_log log; std::uint64_t time = 0; - bool interact(std::array &ctlregs); + bool interact(std::array &ctlregs); + + void load_evt(std::istream &fh); }; -- cgit v1.2.3