Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2001 11:24:11 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        Warner Losh <imp@harmony.village.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: man pages 
Message-ID:  <Pine.LNX.4.21.0103171122540.2328-100000@zeppo.feral.com>
In-Reply-To: <200103171859.f2HIx8946196@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> In message <Pine.BSF.4.21.0103171037090.65580-100000@beppo.feral.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0103171122540.2328-100000>