Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 1997 20:03:05 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Jonathan Mini <mini@d198-232.uoregon.edu>
Cc:        Mike Smith <mike@smith.net.au>, hackers@FreeBSD.ORG
Subject:   Re: x86 gods; advice? Suggestions? 
Message-ID:  <199711070933.UAA00302@word.smith.net.au>
In-Reply-To: Your message of "Fri, 07 Nov 1997 00:04:30 -0800." <19971107000430.02841@micron.mini.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> What privelege level is this running at? 

It has to run with DPL = 0.

> Why not just execute an illegal instruction and catch it? 

Because this is in the kernel context, and I've no way of knowing how 
to say "just for now I want illegal instructions to come here".

> (in my vm86 code, I use hlt for this all the time)

Yes, that's what JL uses to kill execution after his interrupt thunk 
(which is working wonderfully BTW).

mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711070933.UAA00302>