mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-22 02:49:29 +03:00
f614f0e2cb
There was a frequently occurring pattern of "map this physical address into kernel VM, then read from it, then unmap it again". This new typed_map() encapsulates that logic by giving you back a typed pointer to the kind of structure you're interested in accessing. It returns a TypedMapping<T> that can be used mostly like a pointer. When destroyed, the TypedMapping object will unmap the memory. :^) |
||
---|---|---|
.. | ||
ACPIDynamicParser.cpp | ||
ACPIDynamicParser.h | ||
ACPIParser.cpp | ||
ACPIParser.h | ||
ACPIStaticParser.cpp | ||
ACPIStaticParser.h | ||
Definitions.h | ||
DMIDecoder.cpp | ||
DMIDecoder.h | ||
Initialize.cpp | ||
Initialize.h | ||
MultiProcessorParser.cpp | ||
MultiProcessorParser.h |