aboutsummaryrefslogtreecommitdiff
path: root/notes.txt
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2024-02-06 05:01:47 -0600
committerNic Gaffney <gaffney_nic@protonmail.com>2024-02-06 05:01:47 -0600
commitfb72d05d3d8b4b37a4a8dc4cf4355eb0a3fafeef (patch)
tree9ba651f7331425cecadc8be630156f873e1b22be /notes.txt
parentecf636f2797647d5dfc38a4562cae53fe275217d (diff)
downloadgftos-fb72d05d3d8b4b37a4a8dc4cf4355eb0a3fafeef.tar.gz
Updated gitignore
Diffstat (limited to 'notes.txt')
-rw-r--r--notes.txt23
1 files changed, 0 insertions, 23 deletions
diff --git a/notes.txt b/notes.txt
deleted file mode 100644
index 9016799..0000000
--- a/notes.txt
+++ /dev/null
@@ -1,23 +0,0 @@
- /* Defenitions:
- * Segment:
- * A logically contiguous chunk of memory with consistent properties from the cpus perspective
- * - Just a bunch of memory dedicated for a specific purpose
- * Segment Register:
- * A register of the CPU that refers to a segment for a particular purpose (CS, DS, SS, ES)
- * or for general use. (FS, GS)
- * - Code segment, Data segment, ...
- * Segment Selector:
- * A reference to a descriptor, which you can load into a segment register; the selector is an offset
- * into a descriptor table pointing to one of its entries.
- * These entries are typically 8 bytes long, therefore
- * bits 3 and up only declare the descriptor table entry offset
- * bit 2 specifies GDT or LDT
- * bits 0-1 declare ring level that needs to correspond to the descriptor table entry's DPL field.
- * GENERAL PROTECTION FAULT if it doesn't
- * If it does correspond then the CPL level of the selector used is changed accordingly
- * - A pointer to an entry in the DT
- * Segment Descriptor:
- * An entry in a descriptor table.
- * These are a binary data structure that tells the CPU the attributes of a given segment
- * - A binary number that describes a segment
- */