diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-31 23:16:01 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-31 23:16:01 -0700 |
commit | d8d9dfa855c83fe52c7b8d26ef1f52dafdec8fa0 (patch) | |
tree | 8a1e92e16ed909be84ad30b530970230f552aa22 /linux/bootstrap | |
parent | 971062583a431f916a742b161cc524f4e52d2a9e (diff) | |
download | mu-d8d9dfa855c83fe52c7b8d26ef1f52dafdec8fa0.tar.gz |
some hacky checks for common errors
They're not really baked into the regular compilation process; I have to remember to run them if I see strange behavior.
Diffstat (limited to 'linux/bootstrap')
-rw-r--r-- | linux/bootstrap/033check_operands.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/bootstrap/033check_operands.cc b/linux/bootstrap/033check_operands.cc index c764fc61..62618204 100644 --- a/linux/bootstrap/033check_operands.cc +++ b/linux/bootstrap/033check_operands.cc @@ -145,6 +145,10 @@ void init_permitted_arguments() { put(Permitted_arguments, "99", 0x00); // return put(Permitted_arguments, "c3", 0x00); + // enable/disable interrupts + // not really part of SubX; just needed in low-level boot.subx + put(Permitted_arguments, "fa", 0x00); + put(Permitted_arguments, "fb", 0x00); //// Class B: just op and disp8 // imm32 imm8 disp32 |disp16 disp8 subop modrm |