ac0a286f4d
OvmfPkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the OvmfPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Andrew Fish <afish@apple.com >
2021-12-07 17:24:28 +00:00
70d5086c32
OvmfPkg: replace old EFI_D_ debug levels with new DEBUG_ ones
...
Generated mechanically with:
find OvmfPkg -type f -exec sed -i -e 's/EFI_D_/DEBUG_/g' {} \;
Signed-off-by: Rebecca Cran <rebecca@bsdio.com >
Cc: Philippe Mathieu-Daude <philmd@redhat.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Message-Id: <20200429215327.606467-1-rebecca@bsdio.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
2020-04-30 13:01:16 +00:00
68f4599dfc
OvmfPkg/XenHypercallLib: Enable it in PEIM
...
Allow to use Xen hypercalls earlier, during the PEIM stage, but
XenHypercallLibInit() must be called once the XenInfo HOB is created
with the HyperPage setup.
Change the return value of XenHypercallLibInit so failure can be
detected when the call shouldn't fail, but still have the constructor
always succeed.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Message-Id: <20190813113119.14804-17-anthony.perard@citrix.com >
2019-08-21 18:03:49 +02:00
b26f0cf9ee
OvmfPkg: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
2019-04-09 10:58:19 -07:00
6ad157c3fa
OvmfPkg/XenHypercallLib: Add EFIAPI
...
Because EFIAPI is necessary for functions declared in library class header
files.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Build-tested-by: Laszlo Ersek <lersek@redhat.com >
2016-12-06 18:00:32 +01:00
6394c35a7d
OvmfPkg: fix conversion specifiers in DEBUG format strings
...
Cc: Scott Duplichan <scott@notabs.org >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Reported-by: Scott Duplichan <scott@notabs.org >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Build-tested-by: Scott Duplichan <scott@notabs.org >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18095 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-28 18:33:23 +00:00
cd8ff8fdda
Ovmf/Xen: move XenBusDxe hypercall code to separate library
...
This moves all of the Xen hypercall code that was private to XenBusDxe
to a new library class XenHypercallLib. This will allow us to reimplement
it for ARM, and to export the Xen hypercall functionality to other parts
of the code, such as a Xen console SerialPortLib driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com >
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16970 6f19259b-4bc3-4df7-8a09-765794883524
2015-02-28 20:32:39 +00:00