1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

Kernel: Ensure RTL8139NetworkAdapter uses virtual memory correctly

This commit is contained in:
Liav A 2020-03-06 22:52:50 +02:00 committed by Andreas Kling
parent 9dbc273675
commit 4479e874da
2 changed files with 18 additions and 19 deletions

View file

@ -67,11 +67,11 @@ private:
IOAddress m_io_base;
u8 m_interrupt_line { 0 };
u32 m_rx_buffer_addr { 0 };
OwnPtr<Region> m_rx_buffer;
u16 m_rx_buffer_offset { 0 };
u32 m_tx_buffer_addr[RTL8139_TX_BUFFER_COUNT];
Vector<OwnPtr<Region>> m_tx_buffers;
u8 m_tx_next_buffer { 0 };
u32 m_packet_buffer { 0 };
OwnPtr<Region> m_packet_buffer;
bool m_link_up { false };
};
}