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
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
19ca06bb84
OvmfPkg: Remove superfluous return statements.
...
If the code eventually returns "Status" anyway, it does not make
sense to explicitely return "Status" in case of an error, too.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
2017-01-19 10:28:40 +01:00
8c0b0b34f7
OvmfPkg: Fix typing errors
...
Correct some typos (discovered with the codespell utility)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Thomas Huth <thuth@redhat.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-09-12 13:12:32 +02:00
3e92a99747
OvmfPkg: convert C files with LF line terminators to CRLF
...
Run "unix2dos" on the affected files. "git show -b" produces no diff for
this patch.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Cc: Jordan Justen <jordan.l.justen@intel.com >
Cc: Thomas Huth <thuth@redhat.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Thomas Huth <thuth@redhat.com >
2016-09-12 13:12:29 +02: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
ea5396f31a
Fix VS2013 build failure.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15795 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-13 06:31:08 +00:00
6bc7a0882d
OvmfPkg NvVarsFileLib: Set NvVars variable after writing vars file
...
The volatile 'NvVars' variable indicates that the variables do
not need to be loaded from the file again. After we write the
variables out to the file, there is clearly no need to load
them back from the file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Tested-by: Michael Chang <mchang@suse.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14613 6f19259b-4bc3-4df7-8a09-765794883524
2013-08-30 19:29:09 +00:00
59b1946970
OvmfPkg NvVarsFileLib: Leverage SerializeVariablesLib
...
Utilize SerializeVariablesLib to simplify this library's
implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11286 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-30 19:50:08 +00:00
56d7640a53
Update the copyright notice format
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10439 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:43:04 +00:00
0f729825d0
NvVarsFileLib: Fix build warning with VS2005 on X64.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9305 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-22 23:44:17 +00:00
7d9cf3f25e
Fix several build break in Ovmf package.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9292 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-21 14:20:11 +00:00
5094454579
Implement NvVarsFileLib to save and restore non-volatile variables using a file.
...
This library provides an interface where variables can be saved and restored
using a file in a file system accessible to the firmware. It is expected
that a platform BDS library will use this library. The platform BDS
implementation can decide which devices to connect and then to attempt to use
for saving and restoring NV variables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9272 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 16:28:55 +00:00