lkml.org 
[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subject[PATCH] Fix GDT limit in setup.S for 2.0 and 2.2
Hello,

I posted this problem days ago. Just now I check FreeBSD code and find
theirs code goes no this problem. Please take my patches for 2.0 and 2.2
2.4 patch have been already sent to Anvin.

(patches for 2.0 and 2.2 enclosed)


Coywolf


--
Coywolf Qi Hunt
Admin of http://GreatCN.org and http://LoveCN.org
--- setup.S.orig 1999-06-14 01:21:00.000000000 +0800
+++ setup.S 2004-02-23 21:36:42.000000000 +0800
@@ -744,7 +744,7 @@
.word 0,0 ! idt base=0L

gdt_48:
- .word 0x800 ! gdt limit=2048, 256 GDT entries
+ .word 0x7ff ! gdt limit=2047, 256 GDT entries
.word 512+gdt,0x9 ! gdt base = 0X9xxxx

!--- setup.S.orig 2001-11-03 00:39:06.000000000 +0800
+++ setup.S 2004-02-23 21:42:22.000000000 +0800
@@ -907,7 +907,7 @@
.word 0,0 ! idt base=0L

gdt_48:
- .word 0x800 ! gdt limit=2048, 256 GDT entries
+ .word 0x7ff ! gdt limit=2047, 256 GDT entries
.word 0, 0 ! gdt base (filled in later)

!
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.120 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site