Re: [edk2-devel] [PATCH] NetworkPkg/HttpBootDxe: Correctly uninstall HttpBootCallbackProtocol

2024-04-20 Thread Mike Beaton
On Sat, 20 Apr 2024 at 17:31, Michael Brown wrote: > > On 19/04/2024 11:02, Mike Beaton wrote: > > Dear Michael, > > > > I don't know if you had time to answer one follow-up question. > > > > Obviously one thing that someone might want to do is to notify on >

Re: [edk2-devel] [PATCH] NetworkPkg/HttpBootDxe: Correctly uninstall HttpBootCallbackProtocol

2024-04-19 Thread Mike Beaton
not saying you're wrong, just that it would be helpful (to me!) to understand what sort of thing you were thinking of! Many thanks in advance for any time you might have to reply. Mike Beaton -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online

Re: [edk2-devel] [PATCH v2] NetworkPkg/HttpBootDxe: Correctly uninstall HttpBootCallbackProtocol

2024-04-08 Thread Mike Beaton
Does anybody have any suggestions who I should cc as regards this? Is it preferred to make a bugtracker issue too? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117500): https://edk2.groups.io/g/devel/message/117500 Mute This Topic:

[edk2-devel] [PATCH v2] NetworkPkg/HttpBootDxe: Correctly uninstall HttpBootCallbackProtocol

2024-04-06 Thread Mike Beaton
: Michael Brown Cc: Maciej Rabeda Cc: Jiaxin Wu Signed-off-by: Mike Beaton xyz --- NetworkPkg/HttpBootDxe/HttpBootImpl.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/NetworkPkg/HttpBootDxe/HttpBootImpl.c b/NetworkPkg/HttpBootDxe/HttpBootImpl.c index

[edk2-devel] [PATCH] NetworkPkg/HttpBootDxe: Correctly uninstall HttpBootCallbackProtocol

2024-04-06 Thread Mike Beaton
confirms that the modified uninstall is succeeding. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Mike Beaton --- NetworkPkg/HttpBootDxe/HttpBootImpl.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/NetworkPkg/HttpBootDxe

Re: [edk2-devel] [PATCH V4 2/2] ArmPkg: Remove manual exclusion of debug vars when MDEPKG_NDEBUG is not defined

2023-12-15 Thread Mike Beaton
> For the exception handler case, we can just drop the #Ifdefs around > the definition of BaseName () entirely given that it will now always > be referenced. But that does depend a lot on how other toolchains deal > with this (VS201x primarily) The V5/V6 version of the patch builds on VS2019

Re: [edk2-devel] [PATCH V6] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-14 Thread Mike Beaton
I did ask. Thank you for the considered answer. Ack. :) On Thu, 14 Dec 2023 at 13:25, Laszlo Ersek wrote: > > On 12/14/23 10:33, Mike Beaton wrote: > >> Please stop sending patches. > > > > I believe this version is a clear improvement, with motivation. &

Re: [edk2-devel] [PATCH V5] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-14 Thread Mike Beaton
> IOW, please don't send a v6 until the discussion comes to a conclusion. Apologies, I did _not_ see this before sending. > > - #if !defined (MDEPKG_NDEBUG) > > + #if defined (__CC_ARM) || defined (__GNUC__) > > No, this is not going to be acceptable to me. You noted that only the > ARM code

Re: [edk2-devel] [PATCH V6] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-14 Thread Mike Beaton
> Please stop sending patches. I believe this version is a clear improvement, with motivation. (Certainly, it was meant as such!) How am I meant to send improvements or updates in this email-based workflow? Mike -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this

Re: [edk2-devel] [PATCH V6] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-14 Thread Mike Beaton
Repeats V5, but with a hopefully clearer (on motivation and history) commit message. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112511): https://edk2.groups.io/g/devel/message/112511 Mute This Topic:

[edk2-devel] [PATCH V6] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-14 Thread Mike Beaton
From: Mike Beaton The variant provided when MDEPKG_NDEBUG is defined will be optimised away in RELEASE builds, but by referencing the argument list, avoids unused variable errors from valid debug code, for example when STATIC variables are used only in DEBUG statements. This issue was being

[edk2-devel] [PATCH V5] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
From: Mike Beaton The variant provided when MDEPKG_NDEBUG is defined will be optimised away in RELEASE builds, but by referencing the argument list, avoids unused variable errors from valid debug code, for example when STATIC variables are used only in DEBUG statements. Variable EventNames

Re: [edk2-devel] [PATCH V4 2/2] ArmPkg: Remove manual exclusion of debug vars when MDEPKG_NDEBUG is not defined

2023-12-13 Thread Mike Beaton
Hi, I'm not fully used to email-based git commits. In this case, I've got two commits with different messages which are meant to make one patch set. I was under the impression that the first line of each commit is taken from the subject, but in that case these cease to appear as one thread in

Re: [edk2-devel] [PATCH 1/2] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
Apologies - sent in error without V4 tag, please ignore. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112502): https://edk2.groups.io/g/devel/message/112502 Mute This Topic: https://groups.io/mt/103166248/21656 Group Owner:

[edk2-devel] [PATCH V4 2/2] ArmPkg: Remove manual exclusion of debug vars when MDEPKG_NDEBUG is not defined

2023-12-13 Thread Mike Beaton
From: Mike Beaton This is no longer required since the revised DEBUG macro automatically compiles away unused var accesses when MDEPKG_NDEBUG is defined; keeping these lines is incompatible with the updated DEBUG macro, as there has to be a variable, access to which to discard. Signed-off

[edk2-devel] [PATCH V4 1/2] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
From: Mike Beaton The variant provided when MDEPKG_NDEBUG is defined will be optimised away in RELEASE builds, but by referencing the argument list, avoids unused variable errors from valid debug code, for example when STATIC variables are used only in DEBUG statements. Variables EventNames

[edk2-devel] [PATCH 1/2] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
From: Mike Beaton The variant provided when MDEPKG_NDEBUG is defined will be optimised away in RELEASE builds, but by referencing the argument list, avoids unused variable errors from valid debug code, for example when STATIC variables are used only in DEBUG statements. Variables EventNames

Re: [edk2-devel] [PATCH V3] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
Got it. These are the fixes for ArmVirtQemu.dsc. If people have already manually worked round this issue it interferes with this global fix (we had this in one file in Acidanthera code). There don't seem to be many instances of that in the entire EDK-II codebase, however, fortunately. diff --git

Re: [edk2-devel] [PATCH V3] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
I have currently gone with `if (FALSE)` in the above, even though Michael Brown kindly offered tests which showed that `if ((FALSE))` might help in a closely related context - i.e. when discussing Mikhail's variant of this and related code - two years ago now:

[edk2-devel] [PATCH V3] DebugLib: Update DEBUG macro used when MDEPKG_NDEBUG is defined

2023-12-13 Thread Mike Beaton
From: Mike Beaton The variant provided when MDEPKG_NDEBUG is defined will be optimised away in RELEASE builds, but by referencing the argument list, avoids unused variable errors from valid debug code, for example when STATIC variables are used only in DEBUG statements. Signed-off-by: Mike

Re: [edk2-devel] [PATCH V2] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
> > +#define DEBUG(Expression)\ > > +do { \ > > + _Pragma("GCC diagnostic push") \ > > + _Pragma("GCC diagnostic ignored \"-Wunused-value\"") \ > > + if ((FALSE)) {

Re: [edk2-devel] [PATCH V2] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
sed variables elsewhere. > > Note that the _Pragma in the clang/gcc variant is to temporarily > suppress the warning about `(VOID) Expression;`, whilst the presence > of `(VOID) Expression;` (once allowed) is what prevents the unwanted > warning about unneeded variables. > > Signed-o

[edk2-devel] [PATCH V2] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
the warning about `(VOID) Expression;`, whilst the presence of `(VOID) Expression;` (once allowed) is what prevents the unwanted warning about unneeded variables. Signed-off-by: Mikhail Krichanov Signed-off-by: Mike Beaton --- BaseTools/Conf/tools_def.template | 2 +- MdePkg/Include/Library

Re: [edk2-devel] [PATCH] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
> I believe one way to approach it would be to (a) amend the patch with > >--author="Marvin Häuser " > > and (b) have S-o-b's from both Marvin and you at the end of the commit > message. > As I say, I think the code in question is actual by Mikhail, despite appearances, but I should be able

Re: [edk2-devel] [PATCH] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
> You failed to mention where you found this patch. It's from https://github.com/acidanthera/audk/commit/dcd0a768b0f (which actually contains the code described in its commit message, but I believe some other code, including this specific part, which got squashed in at some point, and I believe

Re: [edk2-devel] [PATCH] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
> This seems redundant to me. Either we set the pragma and the compiler > does not care, or we don't, and rely on the fact that the compiler can > infer that 'Expression' will never be evaluated at runtime, but won't > complain about symbols that are only referenced via 'Expression' and > nowhere

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-12 Thread Mike Beaton
> I'm running some further tests to confirm that the simple version > proposed above builds in all the Acidanthera test environments, which > is relevant in that it should rule out at least any obvious problems > with it building in all edk-2 environments, too. (I had already run > quick tests for

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-12 Thread Mike Beaton
> I have realised that this was already fixed (i.e. allowing keeping the > warning) in Acidanthera fork of EDK-II. Discussed here > https://bugzilla.tianocore.org/show_bug.cgi?id=3704 - includes the fix > in question and other fixes for newer gcc as well. I'll post a new > patch to the list

[edk2-devel] [PATCH] DebugLib: Allow -Wunneeded-internal-declaration with clang

2023-12-12 Thread Mike Beaton
From: Mike Beaton Provides a variant of the DEBUG macro for clang when MDEPKG_NDEBUG is defined, which uses but discards the contained expression, this means clang can tell that it has optimised away variable usage, therefore we can keep -Wunneeded-internal-declaration (as part of -Wall) to warn

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-12 Thread Mike Beaton
the relevant fix for clang. On Tue, 12 Dec 2023 at 07:49, Ard Biesheuvel wrote: > > On Tue, 12 Dec 2023 at 08:17, Mike Beaton wrote: > > > > > > A completely different approach, which allows clang to spot that the > > > > usage has been 'optimised away' a

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Mike Beaton
> > A completely different approach, which allows clang to spot that the > > usage has been 'optimised away' and so to not complain (and therefore > > allows us to re-enable the warning in CLANGDWARF as well), is the > > following: > > > > --- a/MdePkg/Include/Library/DebugLib.h > > +++

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Mike Beaton
> > I believe this would be logically wrong, as the other versions still > > wouldn't compile if you changed the relevant debug Pcds. (Which are > > logically independent of the compile and link options - e.g. what if for > > some reason you wanted to single step with the Debug Pcds set to > >

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Mike Beaton
build?) On Mon, 11 Dec 2023, 15:00 Laszlo Ersek, wrote: > On 12/10/23 11:18, Mike Beaton wrote: > > From: Mike Beaton > > > > This warning was already disabled in CLANGDWARF by commit > > d3225577123767fd09c91201d27e9c91663ae132. > > > > gcc can distinguis

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-10 Thread Mike Beaton
Resolves https://bugzilla.tianocore.org/show_bug.cgi?id=4620 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112262): https://edk2.groups.io/g/devel/message/112262 Mute This Topic: https://groups.io/mt/103087794/21656 Group Owner:

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-10 Thread Mike Beaton
Repeats the commit already acked by Ard in https://edk2.groups.io/g/devel/topic/103083030, though with an attempt to provide an additional (not yet acked) useful commit message. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112261):

Re: [edk2-devel] RELEASE CLANGPDB OVMF currently does not compile

2023-12-10 Thread Mike Beaton
I've sent a patch to this list (with some kind of proposed comment about the issues!) under separate cover. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112260): https://edk2.groups.io/g/devel/message/112260 Mute This Topic:

[edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-10 Thread Mike Beaton
From: Mike Beaton This warning was already disabled in CLANGDWARF by commit d3225577123767fd09c91201d27e9c91663ae132. gcc can distinguish between optimised-away variable usage (as can occur in valid debug code) and genuinely unused variables, and only complains about the latter. clang cannot

Re: [edk2-devel] RELEASE CLANGPDB OVMF currently does not compile

2023-12-10 Thread Mike Beaton
> Removing STATIC means that (modulo LTO) the compiler will not know > whether or not the definition can be dropped. It also pollutes the > global namespace. > > IMO, lack of the use of STATIC where appropriate is a severe issue > with the EDK2 codebase. Removing STATIC to appease compiler >

[edk2-devel] RELEASE CLANGPDB OVMF currently does not compile

2023-12-09 Thread Mike Beaton
Dear Ard, Thanks for your attention on my other issue, about NOOPT CLANGDWARF OVMF. This one is about RELEASE CLANGPDB OVMF, which currently does not compile, giving: ``` /home/mjsbeaton/OpenSource/edk2/OvmfPkg/VirtioSerialDxe/VirtioSerial.c:28:22: error: variable 'EventNames' is not needed and

Re: [edk2-devel] CLANGDWARF OVMF hangs on start

2023-12-09 Thread Mike Beaton
removed) pragma? On Sat, 9 Dec 2023 at 15:24, Mike Beaton wrote: > > I have raised a bug, > https://bugzilla.tianocore.org/show_bug.cgi?id=4617 - adding a little > bit of new information which I believe is correct, that I've been able > to dig out. -=-=-=-=-=-=-=-=-=-=-=- Group

Re: [edk2-devel] CLANGDWARF OVMF hangs on start

2023-12-09 Thread Mike Beaton
I have raised a bug, https://bugzilla.tianocore.org/show_bug.cgi?id=4617 - adding a little bit of new information which I believe is correct, that I've been able to dig out. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112251):

Re: [edk2-devel] CLANGDWARF OVMF hangs on start

2023-12-07 Thread Mike Beaton
> - I have just replicated exactly the same issue from a clean, new > checkout and build on Fedora 38 and clang 16 (Fedora 16.0.6-3.fc38). > - I then upgraded that same VM to Fedora 39 and clang 17 and ... I > still get the same issue, including that it works again when switching > to

Re: [edk2-devel] CLANGDWARF OVMF hangs on start

2023-12-07 Thread Mike Beaton
> > Which clang version is this? > > > > It works for me, fedora 39 / clang 17, and I'm pretty sure I tested it > > when creating the patch on a slightly older clang version (15 or 16). > > It is 14 ('Ubuntu clang version 14.0.0-1ubuntu1.1' on Ubuntu 22.04.3 LTS) > > Cheers, > Mike Strangely,

Re: [edk2-devel] CLANGDWARF OVMF hangs on start

2023-12-07 Thread Mike Beaton
> Which clang version is this? > > It works for me, fedora 39 / clang 17, and I'm pretty sure I tested it > when creating the patch on a slightly older clang version (15 or 16). It is 14 ('Ubuntu clang version 14.0.0-1ubuntu1.1' on Ubuntu 22.04.3 LTS) Cheers, Mike -=-=-=-=-=-=-=-=-=-=-=-

[edk2-devel] CLANGDWARF OVMF hangs on start

2023-12-07 Thread Mike Beaton
>From commit >https://github.com/tianocore/edk2/commit/140e4422b16482f0bcafdc20d42141434d450450 (and see also the preceding commit, which I believe is related) up to the current tip of master, CLANGDWARF OVMF is broken. It builds and starts but hangs early (more info below). I do not currently

Re: [edk2-devel] [PATCH v5] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-09-06 Thread Mike Beaton
On Thu, 7 Sept 2023 at 04:35, Mike Beaton wrote: > > The immediately preceding call, GetBestLanguage, plus the implementation of > HiiGetString, which is called immediately afterwards, make it clear that > BestLanguage is a null-terminated ASCII string, and not just a five byte

[edk2-devel] [PATCH v5] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-09-06 Thread Mike Beaton
are currently used elsewhere in the codebase for copying static strings). Signed-off-by: Mike Beaton --- MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c b

[edk2-devel] [PATCH v4] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-09-06 Thread Mike Beaton
elsewhere in the codebase. Signed-off-by: Mike Beaton --- MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c b/MdeModulePkg/Universal/HiiDatabaseDxe

Re: [edk2-devel] [PATCH v3] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-09-06 Thread Mike Beaton
On Wed, 6 Sept 2023 at 12:55, Mike Beaton wrote: > > On Wed, 6 Sept 2023 at 11:34, Mike Beaton wrote: > > > > AsciiStrLen was one byte too short (though with alignment up from an odd > > size > > would probably always have had the required space in practice).

Re: [edk2-devel] [PATCH v3] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-09-06 Thread Mike Beaton
On Wed, 6 Sept 2023 at 11:34, Mike Beaton wrote: > > AsciiStrLen was one byte too short (though with alignment up from an odd size > would probably always have had the required space in practice). AsciiStrSize > matches usage elsewhere in this file and in the codebase. I was intend

[edk2-devel] [PATCH v3] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-09-06 Thread Mike Beaton
AsciiStrLen was one byte too short (though with alignment up from an odd size would probably always have had the required space in practice). AsciiStrSize matches usage elsewhere in this file and in the codebase. Signed-off-by: Mike Beaton --- MdeModulePkg/Universal/HiiDatabaseDxe

[edk2-devel] [PATCH v3] Revert "OvmfPkg: Update build.sh to allow building OVMF then running QEMU"

2023-09-06 Thread Mike Beaton
-by: Mike Beaton --- OvmfPkg/build.sh | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index b0334fb76e..279f0d099a 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -246,11 +246,11 @@ else fi # -# Build the edk2 OvmfPkg

Re: [edk2-devel] [PATCH 1/1] OvmfPkg: Update build.sh to allow building OVMF then running QEMU

2023-09-05 Thread Mike Beaton
On Mon, 4 Sept 2023, 21:14 Rebecca Cran, wrote: > Sorry I've not responded to your emails before now. > > I don't normally use the build.sh script, so I'm fine with reverting to > the previous behavior. > Ah - thank you for the response - that'd be great, if the original people who ack-d and

Re: [edk2-devel] [PATCH 1/1] OvmfPkg: Update build.sh to allow building OVMF then running QEMU

2023-09-04 Thread Mike Beaton
aviour. It occurred to me that replying to the original post might make most sense. I've raised what I think are the issues here: https://bugzilla.tianocore.org/show_bug.cgi?id=4528 . WIth many thanks in advance for your attention. Mike Beaton -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive

Re: [edk2-devel] [PATCH] Revert "OvmfPkg: Update build.sh to allow building OVMF then running QEMU"

2023-08-27 Thread Mike Beaton
PS Extra whitespace line was in original file, i.e. revert here is technically correct, but assume v2 revert is preferable. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108049): https://edk2.groups.io/g/devel/message/108049 Mute This

Re: [edk2-devel] [PATCH] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-08-23 Thread Mike Beaton
Apologies, no Signed-off-by, I will send v2. On Thu, 24 Aug 2023 at 06:52, Mike Beaton wrote: > > --- > MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MdeModulePkg/Univer

[edk2-devel] [PATCH v2] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-08-23 Thread Mike Beaton
Signed-off-by: Mike Beaton --- MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c index

[edk2-devel] [PATCH] MdeModulePkg/HiiDatabase: Fix incorrect AllocateCopyPool size

2023-08-23 Thread Mike Beaton
--- MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigKeywordHandler.c index 96e05d4cf9..f67b7760f0 100644 ---

[edk2-devel] PATCH v2] Revert "OvmfPkg: Update build.sh to allow building OVMF then running QEMU"

2023-08-23 Thread Mike Beaton
This reverts commit 173a7a7daaad560cd69e1000faca1d2b91774c46. Fixes https://bugzilla.tianocore.org/show_bug.cgi?id=4528 Signed-off-by: Mike Beaton --- OvmfPkg/build.sh | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index

Re: [edk2-devel] [PATCH] Revert "OvmfPkg: Update build.sh to allow building OVMF then running QEMU"

2023-08-23 Thread Mike Beaton
This includes an extraneous whitespace line at end of file, I will send a v2. On Thu, 24 Aug 2023 at 05:45, Mike Beaton wrote: > > This reverts commit 173a7a7daaad560cd69e1000faca1d2b91774c46. > > Fixes https://bugzilla.tianocore.org/show_bug.cgi?id=4528 > > Signed-o

[edk2-devel] [PATCH] Revert "OvmfPkg: Update build.sh to allow building OVMF then running QEMU"

2023-08-23 Thread Mike Beaton
This reverts commit 173a7a7daaad560cd69e1000faca1d2b91774c46. Fixes https://bugzilla.tianocore.org/show_bug.cgi?id=4528 Signed-off-by: Mike Beaton --- OvmfPkg/build.sh | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index

Re: [edk2-devel] OVMF build.sh change is incorrect

2023-08-20 Thread Mike Beaton
This is now in https://bugzilla.tianocore.org/show_bug.cgi?id=4528 as it should have been in the first place! On Sun, 13 Aug 2023 at 11:34, Mike Beaton wrote: > > Perhaps I can briefly clarify: > > "This now no longer works" was too brief - of course the listed command d

Re: [edk2-devel] OVMF build.sh change is incorrect

2023-08-14 Thread Mike Beaton
of the VM. The advantage of using `build.sh -a ... -b ... qemu ...` to launch QEMU without building (as was previously possible) is that it automatically selects the correct qemu command and correct built OVMF BIOS binary to match the related build command. Mike On Sun, 13 Aug 2023 at 11:13, Mike Beaton w

[edk2-devel] OVMF build.sh change is incorrect

2023-08-14 Thread Mike Beaton
and then: `./build.sh -a X64 -b RELEASE qemu {my-qemu-flags}` to run OVMF This now no longer works, since the second command also attempts to rebuild OVMF every time you run it. I believe the previous behaviour was intended and more useful. Mike Beaton -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all