From owner-freebsd-current Mon Dec 7 15:01:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28803 for freebsd-current-outgoing; Mon, 7 Dec 1998 15:01:12 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [207.149.232.62]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28798 for ; Mon, 7 Dec 1998 15:01:09 -0800 (PST) (envelope-from rgrimes@GndRsh.aac.dev.com) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.8.8/8.8.8) id OAA26700; Mon, 7 Dec 1998 14:59:40 -0800 (PST) (envelope-from rgrimes) From: "Rodney W. Grimes" Message-Id: <199812072259.OAA26700@GndRsh.aac.dev.com> Subject: Re: sio breakage In-Reply-To: <199812010330.OAA20453@godzilla.zeta.org.au> from Bruce Evans at "Dec 1, 98 02:30:14 pm" To: bde@zeta.org.au (Bruce Evans) Date: Mon, 7 Dec 1998 14:59:40 -0800 (PST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ... > > something() > { > asm("cli"); > asm("sti"); > } > ... > > Fixes: > kernel: send a fatal signal to applications that do this. > applications: don't do this. If interrupts must be disabled, then all > critical code and data must be within one page. Do we have the equivelent of the VMS wire(memory_range) call so that programs can force thier critical code sections to be non page faultable? -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD http://www.aai.dnsmgr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message