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):

Reply via email to