From 6d04a2a882754fc4cf69f30574f6cc3bfdc5e030 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Thu, 13 Mar 2025 22:41:40 +0100 Subject: x86: fix segment selector --- src/arch/x86_64.md | 4 ++-- 1 file 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). -- cgit v1.2.3