NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44127: bus_space_mmap(9) "int prot" is not documented



The following reply was made to PR kern/44127; it has been noted by GNATS.

From: Masao Uebayashi <uebayasi%tombi.co.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/44127: bus_space_mmap(9) "int prot" is not documented
Date: Mon, 22 Nov 2010 15:42:16 +0900

 On Mon, Nov 22, 2010 at 04:45:03AM +0000, David Holland wrote:
 > The following reply was made to PR kern/44127; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: kern/44127: bus_space_mmap(9) "int prot" is not documented
 > Date: Mon, 22 Nov 2010 04:41:19 +0000
 > 
 >  On Mon, Nov 22, 2010 at 04:20:00AM +0000, uebayasi%tombi.co.jp@localhost 
 > wrote:
 >   > >Description:
 >   >  bus_space_mmap(9) function takes an argument "int prot".
 >   >  Its definition is not clearly documented.  Possiblely used
 >   >  constants (VM_PROT_*) are not defined in machine/bus.h.
 >   > >Fix:
 >   >  Redesign bus_space_mmap(9).
 >  
 >  That seems like an overreaction.
 
 Providing VM_PROT_* in uvm/uvm_prot.h would be fine.  Probably
 sys/param.h or sys/bus.h?
 
 What namespace should VM_PROT_* belong to?
 


Home | Main Index | Thread Index | Old Index