diff options
| author | Julian Blake Kongslie | 2022-10-29 18:18:26 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-10-29 18:18:26 -0700 |
| commit | 9f4aa97822adc791f700670ef0fc7636849563b7 (patch) | |
| tree | 0b9d6c1bb1d7d596501df3b77ab3d7b9f191aa4f /io/event.h | |
| parent | Control register values should not be "unsigned int" (diff) | |
| download | biggolf-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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) |
