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
4040754daf
OvmfPkg: strip trailing whitespace
...
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Cc: Anthony Perard <anthony.perard@citrix.com >
Cc: Julien Grall <julien.grall@arm.com >
Cc: David Woodhouse <dwmw2@infradead.org >
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org >
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com >
2019-10-04 11:18:32 +01:00
8651e1ce71
OvmfPkg/XenPlatformPei: Detect OVMF_INFO from hvmloader
...
EFI_XEN_OVMF_INFO is only useful to retrieve the E820 table. The
mXenHvmloaderInfo isn't used yet, but will be use in a further patch to
retrieve the E820 table.
Also remove the unused pointer from the XenInfo HOB as that information
is only useful in the XenPlatformPei.
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
Message-Id: <20190813113119.14804-11-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
32e083c71d
OvmfPkg/PlatformPei: eliminate unchecked PcdSetXX() calls
...
These are deprecated / disabled under the
DISABLE_NEW_DEPRECATED_INTERFACES feature test macro.
Introduce a variable called PcdStatus, and use it to assert the success of
these operations (there is no reason for them to fail here).
Cc: Anthony PERARD <anthony.perard@citrix.com >
Cc: Gary Lin <glin@suse.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=166
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Gary Lin <glin@suse.com >
Tested-by: Gary Lin <glin@suse.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-25 10:46:22 +02:00
7ffced92a7
OvmfPkg/PlatformPei: add missing auto variable initialization
...
The E820EntriesCount variable in XenPublishRamRegions() may be
referenced without being initialized on RELEASE builds, since the
ASSERT that fires if the call to XenGetE820Map() fails is compiled
out in that case. So initialize it to 0.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
2016-07-13 17:06:17 +02:00
035ce3b37c
OvmfPkg/PlatformPei: Add memory above 4GB as tested
...
Since PlatformBootManagerLib do not run memory test
to convert untested memory to tested.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Tested-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
2016-05-04 08:47:34 +08:00
cdef34ec12
OvmfPkg: PlatformPei: allow caching in AddReservedMemoryBaseSizeHob()
...
AddReservedMemoryBaseSizeHob() should be able to set the same resource
attributes for reserved memory as AddMemoryBaseSizeHob() sets for system
memory. Add a new parameter called "Cacheable" to
AddReservedMemoryBaseSizeHob(), and set it to FALSE in the only caller we
have at the moment.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19038 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-30 18:41:29 +00:00
c191a58fac
OvmfPkg/PlatformPei: Set PcdPciDisableBusEnumeration in InitializeXen
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Wei Liu <wei.liu2@citrix.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15204 6f19259b-4bc3-4df7-8a09-765794883524
2014-02-01 21:22:36 +00:00
18f31ada8d
OvmfPkg/PlatformPei: Add XenPublishRamRegions
...
This will be called from a unified MemDetect function.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Wei Liu <wei.liu2@citrix.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15203 6f19259b-4bc3-4df7-8a09-765794883524
2014-02-01 21:22:25 +00:00
b98b4941e2
OvmfPkg/PlatformPei: Hide Xen Leaf details
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Wei Liu <wei.liu2@citrix.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15202 6f19259b-4bc3-4df7-8a09-765794883524
2014-02-01 21:22:19 +00:00
b621bb0a3c
OvmfPkg/PlatformPei: Add mXen boolean to indicate Xen is running
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Wei Liu <wei.liu2@citrix.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15201 6f19259b-4bc3-4df7-8a09-765794883524
2014-02-01 21:22:12 +00:00
bb6a9a9305
OvmfPkg: introduce XenMemMapInitialization
...
This function parses E820 map provided by Xen and arrange memory maps
accordingly.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wei Liu <wei.liu2@citrix.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
[jordan.l.justen@intel.com: XenGetE820Map: VS2010 compat; add assert]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14945 6f19259b-4bc3-4df7-8a09-765794883524
2013-12-08 01:36:15 +00:00
c7ea55b92b
OvmfPkg: detect Xen earlier
...
This is useful for initializing memory map.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wei Liu <wei.liu2@citrix.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14943 6f19259b-4bc3-4df7-8a09-765794883524
2013-12-08 01:36:00 +00:00
670a64e7b7
Fix build crash while using MSFT to build OVMF, also fix some build warning report for PCD type issues.
...
Signed-off-by: gikidy
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12202 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 03:19:57 +00:00
eec7d42017
OvmfPkg/PlatformPei: Add Xen support
...
* Make PlatformPei aware of Xen
* Fix assigned PIO and MMIO ranges to be compatible with Xen
* Reserve Xen HVM address range
* Publish XenInfo HOB
* Don't program PIIX4 PMBA for Xen
Signed-off-by: Andrei Warkentin <andreiw@motorola.com >
Reviewed-by: gavinguan
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12091 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-05 15:43:05 +00:00