summaryrefslogtreecommitdiff
path: root/cpu/access_control/gdt.txt
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-01-05 03:29:26 -0500
committerTest_User <hax@andrewyu.org>2023-01-05 03:29:26 -0500
commit0d290b91117fb0002e247b7a48a38eb40fc48fbd (patch)
tree5e36c882826194853835c1d1fc056bcbe7f01717 /cpu/access_control/gdt.txt
parentb0ca4d17f93970881edf05f3cff206d47b7fa564 (diff)
downloadspecification-0d290b91117fb0002e247b7a48a38eb40fc48fbd.tar.gz
specification-0d290b91117fb0002e247b7a48a38eb40fc48fbd.zip
Add hardware task switching, get rid of software interrupts
Diffstat (limited to 'cpu/access_control/gdt.txt')
-rw-r--r--cpu/access_control/gdt.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/access_control/gdt.txt b/cpu/access_control/gdt.txt
index c803ace..cd4ca6d 100644
--- a/cpu/access_control/gdt.txt
+++ b/cpu/access_control/gdt.txt
@@ -1,7 +1,7 @@
Each entry is n*4 bits long, where n is the current mode in bits
-TODO: Specify a limit for them
-It uses the following format:
+Each entry uses the following format:
+ width: same number of bits as current mode
(higher address)
+---------------------+-------------------------+
| upper 4 bits: flags | lower 1/2: base address |