Willow Schlanger wrote:
> 
> This is a "human" patch because I don't know how to use any patching
> programs.

  diff -u old-file new-file


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


I just briefly checked docs from Intel.  From the 386 book
to the IASDM, the current code switch statement is correct.
That's not to say they are correct.

Which docs are you looking at?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to