tech-kern archive

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

re: bus_space_physload(9)

   "int prot" is the device's characteristic.  Audio mic devices would use
   VM_PROT_READ.  Framebuffers would use VM_PROT_WRITE.  We need to introduce
   BUS_SPACE_PROT_* symbols too.

i don't see why you think that reads from fb devices never occur.
i'm also unsure how audio devices matter for this, but i haven't
looked closely at this part yet... they are usually implemented with
the read/write parts combined, so there is no "mic device" separate
from the "line-out" or "headphones" (but there are ways to choose
between them.)


Home | Main Index | Thread Index | Old Index