diff options
author | Test_User <hax@andrewyu.org> | 2023-06-11 17:34:07 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2023-06-11 17:34:07 -0400 |
commit | 0532ef26472261178d87f188f1264a3697a49dac (patch) | |
tree | f5c4543e20d7cda114750909ee8665fed0b32637 /cpu/instructions | |
parent | 56b6e947440b68b01b7018ab2e2bfd6ec22633e1 (diff) | |
download | specification-0532ef26472261178d87f188f1264a3697a49dac.tar.gz specification-0532ef26472261178d87f188f1264a3697a49dac.zip |
Add config-related instructions, specify what happens if an IRQ that isn't handled is given
Diffstat (limited to 'cpu/instructions')
-rw-r--r-- | cpu/instructions/config/set_edt.txt | 11 | ||||
-rw-r--r-- | cpu/instructions/config/set_gdt.txt | 11 | ||||
-rw-r--r-- | cpu/instructions/config/set_irqt.txt | 11 | ||||
-rw-r--r-- | cpu/instructions/config/set_tdt.txt | 11 |
4 files changed, 44 insertions, 0 deletions
diff --git a/cpu/instructions/config/set_edt.txt b/cpu/instructions/config/set_edt.txt new file mode 100644 index 0000000..29e13aa --- /dev/null +++ b/cpu/instructions/config/set_edt.txt @@ -0,0 +1,11 @@ +Number of parameters: 2 + +Usage: + set_edt <ptr> <size> + +Effect: + Sets the edt to start at <ptr> and be <size> bytes long + <ptr> is the physical address + +Exceptions: + None diff --git a/cpu/instructions/config/set_gdt.txt b/cpu/instructions/config/set_gdt.txt new file mode 100644 index 0000000..781dc4a --- /dev/null +++ b/cpu/instructions/config/set_gdt.txt @@ -0,0 +1,11 @@ +Number of parameters: 2 + +Usage: + set_gdt <ptr> <size> + +Effect: + Sets the gdt to start at <ptr> and be <size> bytes long + <ptr> is the physical address + +Exceptions: + None diff --git a/cpu/instructions/config/set_irqt.txt b/cpu/instructions/config/set_irqt.txt new file mode 100644 index 0000000..ba4be38 --- /dev/null +++ b/cpu/instructions/config/set_irqt.txt @@ -0,0 +1,11 @@ +Number of parameters: 2 + +Usage: + set_irqt <ptr> <size> + +Effect: + Sets the irqt to start at <ptr> and be <size> bytes long + <ptr> is the physical address + +Exceptions: + None diff --git a/cpu/instructions/config/set_tdt.txt b/cpu/instructions/config/set_tdt.txt new file mode 100644 index 0000000..57b94d4 --- /dev/null +++ b/cpu/instructions/config/set_tdt.txt @@ -0,0 +1,11 @@ +Number of parameters: 2 + +Usage: + set_tdt <ptr> <size> + +Effect: + Sets the tdt to start at <ptr> and be <size> bytes long + <ptr> is the physical address + +Exceptions: + None |