mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
SB16: Map the DMA buffer in kernelspace so we can write to it
This broke with the >3GB paging overhaul. It's no longer possible to write directly to physical addresses below the 8MB mark. Physical pages need to be mapped into kernel VM by using a Region. Fixes #1099.
This commit is contained in:
parent
a0b716cfc5
commit
b52d0afecf
2 changed files with 9 additions and 5 deletions
|
@ -63,7 +63,7 @@ private:
|
|||
void dsp_write(u8 value);
|
||||
u8 dsp_read();
|
||||
|
||||
RefPtr<PhysicalPage> m_dma_buffer_page;
|
||||
OwnPtr<Region> m_dma_region;
|
||||
int m_major_version { 0 };
|
||||
|
||||
WaitQueue m_irq_queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue