From owner-freebsd-hackers Fri Nov 7 01:37:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA21678 for hackers-outgoing; Fri, 7 Nov 1997 01:37:49 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA21665 for ; Fri, 7 Nov 1997 01:37:16 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id UAA00302; Fri, 7 Nov 1997 20:03:06 +1030 (CST) Message-Id: <199711070933.UAA00302@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Jonathan Mini cc: Mike Smith , hackers@FreeBSD.ORG Subject: Re: x86 gods; advice? Suggestions? In-reply-to: Your message of "Fri, 07 Nov 1997 00:04:30 -0800." <19971107000430.02841@micron.mini.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Nov 1997 20:03:05 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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