delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/11/06:32:06

Sender: bill AT taniwha DOT tssc DOT co DOT nz
Message-ID: <35066194.2C68F3BE@taniwha.tssc.co.nz>
Date: Wed, 11 Mar 1998 23:04:04 +1300
From: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>, djgpp-workers AT delorie DOT com,
Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: Temporary files considered unsafe
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980311114522 DOT 7344Y-100000 AT is>

Eli Zaretskii wrote:
> I'm really vague on these issues, but doesn't protected mode require a
> TSS?

Only one is actually required, and then only if the OS ever leaves ring
0 (? have to try it in my kernel), as it is used to store the location
of the ring 0,1&2  stacks for ring chages, otherwise, the TSS is not
needed. In fact, I think SOP is enter PM and THEN create a valid TSS and
load the TR (that's the way I did it).

> If we can easily get the VM id number and if that number is unique (i.e.
> not reused if I e.g. close a DOS box and open it again), then the VM id
> and the PSP should be enough; we don't need the time part at all.

Hmmm, I don't know, but I think it's re-used (knowing MS, probably just
an index into an array).

Bill
-- 
Leave others their otherness.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019