Opened 11 years ago
Last modified 5 years ago
#421 new defect
Non-anomymous DMA allocation needs to trigger on-demand mapping
Reported by: | Martin Decky | Owned by: | Martin Decky |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | helenos/kernel/generic | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
The current mainline implementation of non-anonymous DMA mapping is very rudimentary. The current code basically only looks up a physical translation of the given virtual address
As the kernel uses on-demand mapping, if the uspace supplies a memory address to SYS_DMAMEM_MAP which has not been touched yet after its mapping into the address space, the translation fails (as the on-demand page mapping has not been established yet).
The implementation would basically need to trigger the on-demand mapping.
Change History (3)
comment:1 Changed 11 years ago by
Milestone: | 0.5.0 → 0.5.1 |
---|
comment:2 Changed 9 years ago by
Milestone: | 0.6.0 → 0.7.1 |
---|
comment:3 Changed 5 years ago by
Milestone: | 0.7.1 |
---|
Note: See
TracTickets for help on using
tickets.