tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: EFI memory map
Le 02/01/2020 à 16:55, Emmanuel Dreyfus a écrit :
And indeed, studying the crash in ddb shows it happens when
accessing a physical address that is excluded by x86_fake_clusters()
but included by EFI memory map.
Note that x86_fake_clusters() is unsafe. It does not exclude the MMIO
pages, because only the bios can tell where they are. These pages can
get returned by uvm_pagealloc, triggering all sorts of crazy behavior,
potentially physically nuking the machine.
I think we should remove this function.
Maxime
Home |
Main Index |
Thread Index |
Old Index