Use the new scheme format in most places

The graphics subsystem still uses the old format as orbital manually
parses the fpath result.
This commit is contained in:
bjorn3
2024-07-11 21:14:42 +02:00
parent 21b2e90d50
commit fd8dabd1bc
22 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const DMA_MEMTY: MemoryType = {
pub(crate) fn phys_contiguous_fd() -> Result<Fd> {
Fd::open(
&format!("memory:zeroed@{DMA_MEMTY}?phys_contiguous"),
&format!("/scheme/memory/zeroed@{DMA_MEMTY}?phys_contiguous"),
flag::O_CLOEXEC,
0,
)
+1 -1
View File
@@ -51,7 +51,7 @@ pub unsafe fn physmap(
) -> Result<*mut ()> {
// TODO: arraystring?
let path = format!(
"memory:physical@{}",
"/scheme/memory/physical@{}",
match ty {
MemoryType::Writeback => "wb",
MemoryType::Uncacheable => "uc",