Skip to content
  1. Sep 28, 2020
  2. Sep 25, 2020
  3. Sep 23, 2020
    • wenyi,xie via groups.io's avatar
      EmulatorPkg/host: fix overflow in Mult · dd5c7e3c
      wenyi,xie via groups.io authored
      REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2947
      
      
      
      When calculating memory regions and store the information in the
      gSystemMemory in file WinHost.c, the code below will cause overflow,
      because _wtoi (MemorySizeStr) return an int value and SIZE_1MB is
      also an int value, if MemorySizeStr is lager for example 2048, then
      result of multiplication will overflow.
      
      for (Index = 0, Done = FALSE; !Done; Index++) {
        //
        // Save the size of the memory and make a Unicode filename SystemMemory00
        //
        gSystemMemory[Index].Size = _wtoi (MemorySizeStr) * SIZE_1MB;
      
      Cc: Jordan Justen <jordan.l.justen@intel.com>
      Cc: Andrew Fish <afish@apple.com>
      Reviewed-by: default avatarRay Ni <ray.ni@intel.com>
      Signed-off-by: default avatarWenyi Xie <xiewenyi2@huawei.com>
      dd5c7e3c
  4. Sep 22, 2020
  5. Sep 21, 2020
  6. Sep 18, 2020
  7. Sep 17, 2020
    • Leif Lindholm's avatar
      OvmfPkg: drop redundant VendorID check in VirtioMmioDeviceLib · 56488369
      Leif Lindholm authored
      
      
      There is a DEBUG warning printout in VirtioMmioDeviceLib if the current
      device's VendorID does not match the traditional 16-bit Red Hat PCIe
      vendor ID used with virtio-pci. The virtio-mmio vendor ID is 32-bit and
      has no connection to the PCIe registry.
      
      Most specifically, this causes a bunch of noise when booting an AArch64
      QEMU platform, since QEMU's virtio-mmio implementation used 'QEMU' as
      the vendor ID:
      VirtioMmioInit: Warning:
        The VendorId (0x554D4551) does not match the VirtIo VendorId (0x1AF4).
      
      Drop the warning message.
      
      Cc: Jordan Justen <jordan.l.justen@intel.com>
      Cc: Laszlo Ersek <lersek@redhat.com>
      Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
      Signed-off-by: default avatarLeif Lindholm <leif@nuviainc.com>
      Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      56488369
  8. Sep 16, 2020
  9. Sep 14, 2020
  10. Sep 09, 2020
  11. Sep 08, 2020
  12. Sep 07, 2020
  13. Sep 04, 2020
Loading