mbox series

[edk2,RFC,0/2] ArmVirtQemu: unmap page #0 to catch NULL pointer dereferences

Message ID 20181128191646.31526-1-ard.biesheuvel@linaro.org
Headers show
Series ArmVirtQemu: unmap page #0 to catch NULL pointer dereferences | expand

Message

Ard Biesheuvel Nov. 28, 2018, 7:16 p.m. UTC
Rationale in patch #2. Patch #1 is a prerequisite patch that ensures
that we no longer need page #0 to be mapped for the NOR flash driver
to be able to expose it as a read/write block device.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Eric Auger <eric.auger@redhat.com>
Cc: Andrew Jones <drjones@redhat.com>
Cc: Philippe Mathieu-Daude <philmd@redhat.com>

Ard Biesheuvel (2):
  ArmVirtPkg/NorFlashQemuLib: disregard our primary FV
  ArmVirtPkg/QemuVirtMemInfoLib: trim the MMIO region mapping

 .../NorFlashQemuLib/NorFlashQemuLib.inf        |  5 +++++
 .../QemuVirtMemInfoLib/QemuVirtMemInfoLib.inf  |  4 ++--
 .../QemuVirtMemInfoPeiLib.inf                  |  2 ++
 .../Library/NorFlashQemuLib/NorFlashQemuLib.c  | 13 +++++++++++--
 .../QemuVirtMemInfoLib/QemuVirtMemInfoLib.c    | 18 +++++++++++-------
 5 files changed, 31 insertions(+), 11 deletions(-)

-- 
2.19.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel