diff options
| author | Julian Blake Kongslie | 2022-10-31 19:55:32 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-10-31 19:55:32 -0700 |
| commit | 6b45e0f81267be6140f0f178579494ca6d24443b (patch) | |
| tree | c0ed8beeb65259e3069dd04ddff54b4b16593310 /isa/ctlreg.def | |
| parent | Level-trigger on TTO_FLAG instead of edge-trigger. (diff) | |
| download | biggolf-6b45e0f81267be6140f0f178579494ca6d24443b.tar.xz | |
Restructure a lot of the control registers
Diffstat (limited to '')
| -rw-r--r-- | isa/ctlreg.def | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/isa/ctlreg.def b/isa/ctlreg.def index d490073..e379b21 100644 --- a/isa/ctlreg.def +++ b/isa/ctlreg.def | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | REG(DATA_INSTRUCTION_FIELD_BUFFER) // (df << 3) | if_buffer | 1 | REG(FLAGS) // see FLAG_* consts in isa/isa.h |
| 2 | REG(DATA_INSTRUCTION_FIELD_SAVED) // (df_saved << 3) | if_saved | 2 | REG(FLAGS_SAVED) // see FLAG_* consts in isa/isa.h |
| 3 | REG(HALTED) | 3 | REG(HALTED) |
| 4 | REG(INT_ENABLE) // (int_enable_delay << 1) | int_enable | 4 | REG(TT_BITS) // see TT[IO]_* consts in isa/isa.h |
| 5 | REG(INT_PENDING) // only meaningful if interrupts disabled | 5 | REG(TT_FLAGS) // see TTF_* consts in isa/isa.h |
| 6 | REG(TT_BITS) // see TT[IO]_* consts in isa/isa.h | ||
| 7 | REG(TT_INT_ENABLE) // (status_enable << 1) | (int_enable) | ||
