mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 02:27:35 +00:00
Kernel: Add query for VideoCore and ARM physical memory ranges
This commit is contained in:
parent
c2e24a2fa1
commit
9359e49383
2 changed files with 66 additions and 0 deletions
|
@ -55,6 +55,15 @@ public:
|
|||
|
||||
// Returns the kernel command line as a StringView into the given buffer.
|
||||
StringView query_kernel_command_line(Bytes buffer);
|
||||
|
||||
struct MemoryRange {
|
||||
u32 base;
|
||||
u32 size;
|
||||
};
|
||||
// Returns the RAM available to the CPU in the first 1GB of the physical address space.
|
||||
// FIXME: Remove in favor of parsing the device tree.
|
||||
MemoryRange query_lower_arm_memory_range();
|
||||
MemoryRange query_videocore_memory_range();
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue