summaryrefslogtreecommitdiff
path: root/io/event.h
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-10-29 18:18:26 -0700
committerJulian Blake Kongslie2022-10-29 18:18:26 -0700
commit9f4aa97822adc791f700670ef0fc7636849563b7 (patch)
tree0b9d6c1bb1d7d596501df3b77ab3d7b9f191aa4f /io/event.h
parentControl register values should not be "unsigned int" (diff)
downloadbiggolf-9f4aa97822adc791f700670ef0fc7636849563b7.tar.xz
Understanding interrupt handling within SIMH (see echo_int.pal)
Add list of Bugs Add event log file parser More changes associated with widening the ctlregs (FIXME add a typedef) Add some keyboard instructions
Diffstat (limited to '')
-rw-r--r--io/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/event.h b/io/event.h
index 2da3323..e17c333 100644
--- a/io/event.h
+++ b/io/event.h
@@ -9,7 +9,7 @@ struct event {
9 ctlreg reg; 9 ctlreg reg;
10 std::uint_fast32_t mask; 10 std::uint_fast32_t mask;
11 std::uint_fast32_t value; 11 std::uint_fast32_t value;
12 event(ctlreg reg, std::uint_fast32_t value, std::uint_fast32_t mask=~0) 12 event(ctlreg reg, std::uint_fast32_t value, std::uint_fast32_t mask=~(std::uint_fast32_t)0)
13 : reg(reg) 13 : reg(reg)
14 , mask(mask) 14 , mask(mask)
15 , value(value) 15 , value(value)