[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
On Mar 24, 2010, at 8:07 AM, Masao Uebayashi wrote:
> On Wed, Mar 24, 2010 at 09:15:53PM +0900, Izumi Tsutsui wrote:
>>> I'd like to propose a new function in bus_space(9) API,
>>> void *bus_space_physload(bus_space_tag_t space, bus_addr_t addr,
>>> bus_size_t size);
>>> This function is provided for device drivers to register its linear memory
>>> region to be managed by VM. When user process maps these regions, VM will
>>> take care of detailed treatment.
>> What's different from bus_space_alloc(9)?
> bus_space_physload(9) is to replace bus_space_mmap(9).
Then where is bus_space_unphysload? You have to be able to undo it when you
start talking about devices.
Main Index |
Thread Index |