diff options
Diffstat (limited to 'io/model.h')
| -rw-r--r-- | io/model.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | #include <array> | 3 | #include <array> |
| 4 | #include <cstdint> | 4 | #include <cstdint> |
| 5 | #include <istream> | ||
| 5 | 6 | ||
| 6 | #include "io/event.h" | 7 | #include "io/event.h" |
| 7 | #include "isa/isa.h" | 8 | #include "isa/isa.h" |
| @@ -11,5 +12,7 @@ struct iomodel { | |||
| 11 | 12 | ||
| 12 | event_log log; | 13 | event_log log; |
| 13 | std::uint64_t time = 0; | 14 | std::uint64_t time = 0; |
| 14 | bool interact(std::array<unsigned int, NUM_CTLREGS> &ctlregs); | 15 | bool interact(std::array<std::uint_fast32_t, NUM_CTLREGS> &ctlregs); |
| 16 | |||
| 17 | void load_evt(std::istream &fh); | ||
| 15 | }; | 18 | }; |
