diff options
author | Daniel Kiper <[email protected]> | 2014-06-30 19:52:56 +0200 |
---|---|---|
committer | Matt Fleming <[email protected]> | 2014-07-18 21:23:54 +0100 |
commit | abc93f8eb6e46a480485f19256bdbda36ec78a84 (patch) | |
tree | e12ae6d90ab8682dea7dc61980f0d086e9af66a0 /scripts/gdb/linux/tasks.py | |
parent | 4fa62481e231111373418f0d95dd1f24f6e83321 (diff) |
efi: Use early_mem*() instead of early_io*()
Use early_mem*() instead of early_io*() because all mapped EFI regions
are memory (usually RAM but they could also be ROM, EPROM, EEPROM, flash,
etc.) not I/O regions. Additionally, I/O family calls do not work correctly
under Xen in our case. early_ioremap() skips the PFN to MFN conversion
when building the PTE. Using it for memory will attempt to map the wrong
machine frame. However, all artificial EFI structures created under Xen
live in dom0 memory and should be mapped/unmapped using early_mem*() family
calls which map domain memory.
Signed-off-by: Daniel Kiper <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Mark Salter <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions