Skip to content

Commit

Permalink
iomap 4k分页
Browse files Browse the repository at this point in the history
  • Loading branch information
ZR233 committed Feb 8, 2025
1 parent 5e9aa98 commit 32d2aaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["app/*", "crates/*"]

[workspace.package]
version = "0.6.4"
version = "0.6.5"
edition = "2024"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/sparreal-kernel/src/mem/mmu/paging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub fn iomap(paddr: PhysAddr, size: usize) -> NonNull<u8> {
CacheSetting::Device,
),
size,
true,
false,
&mut heap,
Some(&|p| {
unsafe { MMUImpl::flush_tlb(p) };
Expand Down

0 comments on commit 32d2aaa

Please sign in to comment.