1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-21 23:56:18 +04:00

Merge pull request #1 from songzhi/songzhi-patch-1

Fix peripherals memory mapping
This commit is contained in:
李冬冬 2021-03-03 10:43:11 +08:00 committed by GitHub
commit 913788f518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ fn map_kernel() {
super::board::PERIPHERALS_START,
super::board::PERIPHERALS_END,
MemoryAttr::default().mmio(MMIOType::Device as u8),
Linear::new(offset),
Linear::new(0),
"peripherals",
);