diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-03-13 22:41:40 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-03-13 22:41:40 +0100 |
commit | 6d04a2a882754fc4cf69f30574f6cc3bfdc5e030 (patch) | |
tree | 876d2b4a75dbcd997214743e6ad78d0365d580b4 /src | |
parent | d532a9b880d36571d3fa98d075589ff7483922bc (diff) | |
download | notes-6d04a2a882754fc4cf69f30574f6cc3bfdc5e030.tar.gz notes-6d04a2a882754fc4cf69f30574f6cc3bfdc5e030.zip |
x86: fix segment selector
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86_64.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86_64.md b/src/arch/x86_64.md index 8bcc308..56e4f63 100644 --- a/src/arch/x86_64.md +++ b/src/arch/x86_64.md @@ -383,8 +383,8 @@ itself. # Segment Selector (cs, ds, es, ss, fs, gs). [15:3] I Descriptor Index - [2:1] TI Table Indicator (0=GTD | 1=LDT) - [0] RPL Requested Privilege Level + [2] TI Table Indicator (0=GTD | 1=LDT) + [1:0] RPL Requested Privilege Level # Segment Descriptor (2 x 4 byte words). |