-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
limine+aarch64: add DeviceTree blob passing via boot protocol
- Loading branch information
Showing
5 changed files
with
140 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
doc-valid-idents = [ | ||
"..", | ||
"..", # Include the built-in valid idents list | ||
"x86_64", "AArch64", "ARMv8", | ||
"ANDing", "ORing", | ||
"snake_case", "TitleCase", | ||
"CONST_CASE" | ||
"CONST_CASE", | ||
"DeviceTree", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
//! Kernel boot protocol requests for the AArch64 architecture. | ||
|
||
use oro_boot_protocol::MemoryMapRequest; | ||
use oro_boot_protocol::{DeviceTreeRequest, MemoryMapRequest}; | ||
|
||
/// The memory map request. | ||
/// | ||
/// Required. | ||
#[used] | ||
#[link_section = ".oro_boot"] | ||
pub static MMAP_REQUEST: MemoryMapRequest = MemoryMapRequest::with_revision(0); | ||
|
||
/// The DeviceTree blob request. | ||
/// | ||
/// Required. | ||
#[used] | ||
#[link_section = ".oro_boot"] | ||
pub static DTB_REQUEST: DeviceTreeRequest = DeviceTreeRequest::with_revision(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters