www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/14/15:05:06

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2038
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!lamarck.sura.net!news.mountain.net!usenet
From: Sherm.Pendley (grinch AT access DOT mountain DOT net)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DPMI question
Date: 12 Sep 1995 23:43:42 GMT
Organization: MountainNet, Inc. Morgantown WV 800.444.1458
Lines: 20
References: <DEt18B DOT HsB AT jade DOT mv DOT net>
Nntp-Posting-Host: slip-3.mountain.net
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

>   mat AT ardi DOT com (Mat Hostetter) writes:
>  >>>>> "Steve" == Steve Larsen <larsen AT sal DOT cs DOT utah DOT edu> writes:

>      Steve> P.S.  Another quick one.  Today while trying to get this
>      Steve> working, I was hitting an interesting problem.  I was
>      Steve> getting a protection fault while loading a segment register
>      Steve> (es).  Are the segment registers somehow protected while in
>      Steve> protected mode?
>  
>  Yes.  Only load legitimate selector values into segment registers.

This deserves some elaboration.  Loading an invalid value into a segment
selector shouldn't cause a GP fault.  Attempting to access a segment
through a selector which contains an invalid value does cause a fault.

At least, according to the documentation I have on hand...

Grinch


- Raw text -


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