From: Coywolf Qi Hunt <coywolf@greatcn.org>
To: tao@acc.umu.se, alan@lxorguk.ukuu.org.uk
Cc: Linux-Kernel@vger.kernel.org
Subject: [PATCH] Fix GDT limit in setup.S for 2.0 and 2.2
Date: Mon, 23 Feb 2004 22:02:00 +0800 [thread overview]
Message-ID: <403A07D8.5050704@greatcn.org> (raw)
In-Reply-To: <403114D9.2060402@lovecn.org>
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
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
[-- Attachment #2: patch-cy0402233-2.0.39 --]
[-- Type: text/plain, Size: 304 bytes --]
--- 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
!
[-- Attachment #3: patch-cy0402234-2.2.25 --]
[-- Type: text/plain, Size: 306 bytes --]
--- 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)
!
next prev parent reply other threads:[~2004-02-23 14:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-16 19:07 [PATCH 2.4.24] Fix GDT limit in setup.S Coywolf Qi Hunt
2004-02-16 20:44 ` Richard B. Johnson
2004-02-19 0:54 ` Coywolf Qi Hunt
2004-02-19 1:18 ` Coywolf Qi Hunt
2004-02-19 8:33 ` { Linux not only practical, but an ideal. } " Coywolf Qi Hunt
2004-02-17 3:51 ` [2.0.40 2.2.25 2.4.25] Fix boot GDT limit 0x800 to 0x7ff in setup.S or not Coywolf Qi Hunt
2004-02-21 3:39 ` Coywolf Qi Hunt
2004-02-21 4:12 ` H. Peter Anvin
2004-02-23 5:30 ` Coywolf Qi Hunt
2004-02-23 14:02 ` Coywolf Qi Hunt [this message]
2004-02-23 14:21 ` [PATCH] Fix GDT limit in setup.S for 2.0 and 2.2 David Weinehall
2004-02-25 0:10 ` Pavel Machek
2004-02-23 14:43 ` Richard B. Johnson
2004-02-23 15:28 ` Richard B. Johnson
2004-02-23 16:21 ` Richard B. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=403A07D8.5050704@greatcn.org \
--to=coywolf@greatcn.org \
--cc=Linux-Kernel@vger.kernel.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=tao@acc.umu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox