Re: rman.h
Op 17 sep. 2013 om 21:54 heeft Kyle R W Milz k...@getaddrinfo.net het volgende geschreven: tech@, I was porting over some freebsd kernel code and came across a struct rman and some rman_* utility functions, defined in fbsd's sys/rman.h . Does obsd have an equivalent interface? It might help if you explain what this API does. -Otto
Re: rman.h
On Tue, Sep 17, 2013 at 13:54, Kyle R W Milz wrote: tech@, I was porting over some freebsd kernel code and came across a struct rman and some rman_* utility functions, defined in fbsd's sys/rman.h . Does obsd have an equivalent interface? Maybe something like bus_space. Find a FreeBSD driver that's already been ported and compare is your best bet.
Re: rman.h
I was porting over some freebsd kernel code and came across a struct rman and some rman_* utility functions, defined in fbsd's sys/rman.h . Does obsd have an equivalent interface? The ``get some ranges from a global resource'' functionality is achieved under OpenBSD by using extent(9). The ``tie various handles and cookies to a resource'' functionality is not available, and has to be done by hand, or differently. Miod
Re: rman.h
On Wed, Sep 18, 2013 at 08:04:16PM +, Miod Vallat wrote: I was porting over some freebsd kernel code and came across a struct rman and some rman_* utility functions, defined in fbsd's sys/rman.h . Does obsd have an equivalent interface? The ``get some ranges from a global resource'' functionality is achieved under OpenBSD by using extent(9). OK was looking at that too, seemed to be similar. The ``tie various handles and cookies to a resource'' functionality is not available, and has to be done by hand, or differently. Miod you're a boss, thanks. Miod
Re: rman.h
On Wed, Sep 18, 2013 at 02:01:10PM +, Ted Unangst wrote: On Tue, Sep 17, 2013 at 13:54, Kyle R W Milz wrote: tech@, I was porting over some freebsd kernel code and came across a struct rman and some rman_* utility functions, defined in fbsd's sys/rman.h . Does obsd have an equivalent interface? Maybe something like bus_space. Find a FreeBSD driver that's already been ported and compare is your best bet. Yeah good idea will do that, thanks.
rman.h
tech@, I was porting over some freebsd kernel code and came across a struct rman and some rman_* utility functions, defined in fbsd's sys/rman.h . Does obsd have an equivalent interface?