Another uvm(9) tweak

2015-11-04 Thread Michael McConville
It's probably best to say that UVM_MAPFLAG() returns a uvm_flag_t. It's almost exclusively used for uvm_map()'s flag arg, which has that type. Of course, it's an arithmetic macro, so it doesn't actually have a return type. ok? Index: share/man/man9/uvm.9

Re: Another uvm(9) tweak

2015-11-04 Thread Michael McConville
Ted Unangst wrote: > Michael McConville wrote: > > It's probably best to say that UVM_MAPFLAG() returns a uvm_flag_t. It's > > almost exclusively used for uvm_map()'s flag arg, which has that type. > > Of course, it's an arithmetic macro, so it doesn't actually have a > > return type. > > I would

Re: Another uvm(9) tweak

2015-11-04 Thread Ted Unangst
Michael McConville wrote: > It's probably best to say that UVM_MAPFLAG() returns a uvm_flag_t. It's > almost exclusively used for uvm_map()'s flag arg, which has that type. > Of course, it's an arithmetic macro, so it doesn't actually have a > return type. I would argue we should delete some of