mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-22 16:16:16 +04:00
Merge pull request #71 from songzhi/master
Fix peripherals memory mapping
This commit is contained in:
commit
438b36aee8
@ -89,7 +89,7 @@ fn map_kernel() {
|
|||||||
super::board::PERIPHERALS_START,
|
super::board::PERIPHERALS_START,
|
||||||
super::board::PERIPHERALS_END,
|
super::board::PERIPHERALS_END,
|
||||||
MemoryAttr::default().mmio(MMIOType::Device as u8),
|
MemoryAttr::default().mmio(MMIOType::Device as u8),
|
||||||
Linear::new(offset),
|
Linear::new(0),
|
||||||
"peripherals",
|
"peripherals",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user