瀏覽代碼

Update linux-initialization-2.md

wuyuxin 4 年之前
父節點
當前提交
af6b5d82b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Initialization/linux-initialization-2.md

+ 1 - 1
Initialization/linux-initialization-2.md

@@ -115,7 +115,7 @@ Where:
 * `Offset` - is offset to entry point of an interrupt handler;
 * `DPL` -    Descriptor Privilege Level;
 * `P` -      Segment Present flag;
-* `Segment selector` - a code segment selector in GDT or LDT (actually it always point to GDT in linux)
+* `Segment selector` - a code segment selector in GDT or LDT (actually in linux, it must point to a valid descriptor in your GDT.)
 ```C
 #define __KERNEL_CS	(GDT_ENTRY_KERNEL_CS*8) // 0000 0000 0001 0000
 #define GDT_ENTRY_KERNEL_CS 2