Subject: Re: kern/35781: bus_space(9) and bus_dma(9) atomic?
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 02/22/2007 14:50:08
The following reply was made to PR kern/35781; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: Christoph_Egger@gmx.de
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/35781: bus_space(9) and bus_dma(9) atomic?
Date: Thu, 22 Feb 2007 15:45:18 +0100

 On Thu, Feb 22, 2007 at 12:20:00PM +0000, Christoph_Egger@gmx.de wrote:
 > The bus_space(9) and bus_dma(9) manpages do not clearly
 > describe if the functions are atomic or if they are
 > interruptable by e.g. an ISR.
 
 They are (in general) not atomic and could be interrupted by an ISR,
 but since you are touching the hardware, you would need to serialize
 access by other means anyway.
 
 Martin