From: "Michael Kubacki" <mikuback@linux.microsoft.com>
To: devel@edk2.groups.io, ardb@kernel.org, Laszlo Ersek <lersek@redhat.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>,
Supreeth Venkatesh <supreeth.venkatesh@arm.com>,
Ard Biesheuvel <ardb+tianocore@kernel.org>,
Jiewen Yao <jiewen.yao@intel.com>
Subject: Re: [edk2-devel] Duplicate Files for StandaloneMmDriverEntryPoint.h
Date: Wed, 24 Feb 2021 18:38:38 -0800 [thread overview]
Message-ID: <45cfee7b-2d09-70ca-a180-bae2df0600ce@linux.microsoft.com> (raw)
In-Reply-To: <CAMj1kXGqADJCwqw5T42+sGdd6+M826jZNiUuPCg1w7Q1C+T6Xg@mail.gmail.com>
Thanks for the background. I'll go ahead and send that patch.
On 2/23/2021 11:51 PM, Ard Biesheuvel wrote:
> On Tue, 23 Feb 2021 at 18:37, Laszlo Ersek <lersek@redhat.com> wrote:
>>
>> Hi Michael,
>>
>> On 02/22/21 23:11, Michael Kubacki wrote:
>>> Is there a particular reason two copies of
>>> StandaloneMmDriverEntryPoint.h exist in the edk2 repo?
>>>
>>> 1. MdePkg
>>> https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h
>>>
>>>
>>> 2. StandaloneMmPkg
>>> https://github.com/tianocore/edk2/blob/master/StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h
>>>
>>>
>>> The only substantial difference (apart from copyright and comment
>>> differences) is that the StandaloneMmPkg instance contains a function
>>> declaration for EfiMain().
>>
>> I believe this may have been an omission in commit d6253d2f9a33
>> ("StandaloneMmPkg: remove redundant StandaloneMmDriverEntryPoint
>> driver", 2019-03-11).
>>
>> At that point, both the library class & instance had been migrated to
>> MdePkg (commits 7df4764e6a81a and 5866d4992396).
>>
>> Can you propose a patch (unless I'm wrong, of course)?
>>
>
> I think you are correct.
>
> For a patch that deletes
>
> StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h
>
> and any stale references to it that may exist:
>
> Acked-by: Ard Biesheuvel <ardb@kernel.org>
>
>
>
>
prev parent reply other threads:[~2021-02-25 2:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-22 22:11 Duplicate Files for StandaloneMmDriverEntryPoint.h Michael Kubacki
2021-02-23 17:37 ` [edk2-devel] " Laszlo Ersek
2021-02-24 7:51 ` Ard Biesheuvel
2021-02-25 2:38 ` Michael Kubacki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45cfee7b-2d09-70ca-a180-bae2df0600ce@linux.microsoft.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox