mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
9c856811b2
Since a Region is basically a view into a potentially larger VMObject, it was always necessary to include the Region starting offset when accessing its underlying physical pages. Until now, you had to do that manually, but this patch adds a simple Region::physical_page() for read-only access and a physical_page_slot() when you want a mutable reference to the RefPtr<PhysicalPage> itself. A lot of code is simplified by making use of this. |
||
---|---|---|
.. | ||
Access.cpp | ||
Access.h | ||
Definitions.h | ||
Device.cpp | ||
Device.h | ||
Initializer.cpp | ||
Initializer.h | ||
IOAccess.cpp | ||
IOAccess.h | ||
MMIOAccess.cpp | ||
MMIOAccess.h |