ladybird/Kernel/ACPI
Andreas Kling f614f0e2cb Kernel: Add typed_map<T>(PhysicalAddress) and use it in ACPI parsing
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. :^)
2020-04-09 17:19:11 +02:00
..
ACPIDynamicParser.cpp Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
ACPIDynamicParser.h Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
ACPIParser.cpp Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
ACPIParser.h Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
ACPIStaticParser.cpp Kernel: Add typed_map<T>(PhysicalAddress) and use it in ACPI parsing 2020-04-09 17:19:11 +02:00
ACPIStaticParser.h Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
Definitions.h Kernel: Add typed_map<T>(PhysicalAddress) and use it in ACPI parsing 2020-04-09 17:19:11 +02:00
DMIDecoder.cpp AK: Reduce header dependency graph of String.h 2020-03-23 13:48:44 +01:00
DMIDecoder.h Kernel: Run clang-format on files 2020-03-22 01:22:32 +01:00
Initialize.cpp Kernel: Add typed_map<T>(PhysicalAddress) and use it in ACPI parsing 2020-04-09 17:19:11 +02:00
Initialize.h Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
MultiProcessorParser.cpp AK: Reduce header dependency graph of String.h 2020-03-23 13:48:44 +01:00
MultiProcessorParser.h Kernel: Run clang-format on files 2020-03-22 01:22:32 +01:00