http://developer.intel.com/design/intarch/techinfo/pentium/specupdt/doc_ch.h
appears to be Not Found.
Here's from 24547103.pdf:
Type Name Valid?
0 Reserved No
1 Available 16-bit TSS Yes
2 LDTYes
3 Busy 16-bit TSS Yes
4 16-bit call gate Yes
5 16-bit/32-bit task gate Yes
6 16-bit interrupt gate No ---
7 16-bit trap gate No ---
8 Reserved No
9 Available 32-bit TSS Yes <----
A Reserved No
B Busy 32-bit TSS Yes
C 32-bit call gate Yes <----
D Reserved No ----
E 32-bit interrupt gate No ----
F 32-bit trap gate No ----
So it looks like I'm PARTLY wrong. I was using the 386 manual, and it
seems that it got 6,7,D,E,F wrong. Sorry about that.
1. Go to http://developer.intel.com/design/litcentr/index.htm.
2. Download 24547103.pdf
a. Find the Intel® Pentium® 4 Processor section (or any earlier
version; they're all the same in this regard)
b. Choose "Manuals" in that drop-down list
c. Click "go" in that section
d. Click "IA-32 Intel Architecture Software Developer�s Manual Volume
2: Instruction Set Reference Manual"
e. Download
ftp://download.intel.com/design/Pentium4/manuals/24547103.pdf
by clicking "U.S. FTP Server"
NOTE: you can skip to step 'e' if you like
3. Open 24547103.pdf
4. Go to page 406 (of 956)
5. Go to the next page (page 407)
6. There you will see the table I pasted above
7. Notice that 9 and 12 (C) are VALID. Windows uses these and plex86 can
be made more stable by making that correction (32-bit call gate and
available 32-bit TSS).
8. We were both partly right and partly wrong. Sorry, I should use a
later manual than the 386 one.
9. Bye!
"Parker, Ron" wrote:
>
> Kevin,
>
> Try these. The following link is to part of the 386 docs, which appear to
> be wrong, as is the mail that Willow originally sent,
> http://webster.cs.ucr.edu/Page_asm/Doc386/LAR.HTM.
>
> The following errata, correct what is wrong in this document, basically the
> trap and interrups are flip-flopped. See point 5 of the following:
> http://developer.intel.com/design/intarch/techinfo/pentium/specupdt/doc_ch.h
> tm.
>
> If you need more info, let me know. I will send it when I have a little
> more time available to write.
>
> -----Original Message-----
> From: Kevin Lawton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 11:00 AM
> To: Willow Schlanger; [EMAIL PROTECTED]
> Subject: Re: [plex86] Bug Fix in protect_ctrl.cc
>
> Willow,
>
> I haven't heard back from you on this. You claim the docs support
> your mods below. Which docs are you using? Please send the
> title and page number. I don't see anything that supports your
> comments.
>
> -Kevin
>
> Willow Schlanger wrote:
> >
> > This is a "human" patch because I don't know how to use any patching
> > programs.
> >
> > Look in protect_ctrl.cc and find this:
> >
> > void
> > LAR_GvEw(vm_t *vm)
> > {
> >
> > Then skip to this:
> >
> > else { /* system or gate segment */
> > switch ( cache.desc.type ) {
> > case 1: /* available TSS */
> > case 2: /* LDT */
> > case 3: /* busy TSS */
> > case 4: /* 286 call gate */
> > case 5: /* task gate */
> >
> > And add this (if you don't believe me, check the docs):