From owner-freebsd-arch Sat Mar 17 11:24:18 2001 Delivered-To: freebsd-arch@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 02E7037B718 for ; Sat, 17 Mar 2001 11:24:14 -0800 (PST) (envelope-from mjacob@feral.com) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id LAA27957; Sat, 17 Mar 2001 11:24:15 -0800 Date: Sat, 17 Mar 2001 11:24:11 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Warner Losh Cc: arch@FreeBSD.ORG Subject: Re: man pages In-Reply-To: <200103171859.f2HIx8946196@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In message Matthew Jacob writes: > : ddi_enter_critical, ddi_exit_critical - enter and exit a > : critical region of control > ... > : The driver may not call any functions external to itself in between > : the time it calls ddi_enter_critical() and the time it calls > : ddi_exit_critical(). > ... > > Hmmm. That's what I need, with the above exception being too > restrictive. I'd need to call functions that frob the hardware. :-) Well, At that time Solaris assumed that you've ddi_map_reg'd the h/w and just have a virtual address pointing to registers. The man page needs to be updated to say "calling ddi_{put,get}{8,16,32,64} or ddi_rep_{put,get}{8,16,32,64} is okay" -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message