qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] optionrom/pvh: use memcmp() to find the RSDP signature
@ 2021-03-23  9:22 Stefano Garzarella
  2021-03-23  9:22 ` [PATCH v2 1/2] optionrom: add memcmp() implementation Stefano Garzarella
  2021-03-23  9:22 ` [PATCH v2 2/2] optionrom/pvh: use memcmp() to find the RSDP signature Stefano Garzarella
  0 siblings, 2 replies; 3+ messages in thread
From: Stefano Garzarella @ 2021-03-23  9:22 UTC (permalink / raw)
  To: Paolo Bonzini, qemu-devel; +Cc: Philippe Mathieu-Daudé

In this version I added a memcmp() implementation. In v1 I tried with
__builtin_memcmp() but CI failed with clang [1] and gcc 4.8.5.

v2:
- added patch 1 to provide a memcmp() implementation
- made 'rsdp_signature' static const [Phil]
- uses memcmp() instead of __builtin_memcmp()
- added pvh.bin binary with the changes applied

v1: https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg07425.html

Thanks,
Stefano

[1] https://gitlab.com/sgarzarella/qemu/-/jobs/1117036403#L385

Stefano Garzarella (2):
  optionrom: add memcmp() implementation
  optionrom/pvh: use memcmp() to find the RSDP signature

 pc-bios/optionrom/optrom.h   |  15 +++++++++++++++
 pc-bios/optionrom/pvh_main.c |  12 +++++++-----
 pc-bios/pvh.bin              | Bin 1536 -> 1536 bytes
 3 files changed, 22 insertions(+), 5 deletions(-)

-- 
2.30.2



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-23  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  9:22 [PATCH v2 0/2] optionrom/pvh: use memcmp() to find the RSDP signature Stefano Garzarella
2021-03-23  9:22 ` [PATCH v2 1/2] optionrom: add memcmp() implementation Stefano Garzarella
2021-03-23  9:22 ` [PATCH v2 2/2] optionrom/pvh: use memcmp() to find the RSDP signature Stefano Garzarella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).