public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "memristor2 via groups.io" <memristor2=proton.me@groups.io>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] IpmiLib is a NULL instance
Date: Sat, 24 Aug 2024 13:22:36 +0000	[thread overview]
Message-ID: <diCVekenQIXKtzhWaSc2X_EiJYYA9UC05mrun0LLQJqdbUyeDbUzeAV5mTAaHOOPwsJFlCdwN54cRWmrp3E98VtGB8ERFHOQft8WcdoD_0I=@proton.me> (raw)

[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]

Hello,
I was building the IpmifeaturePkg from the OutOfBandManagementPkg in edk2-platforms and saw the the components were not working in Run-time. I checkout out the instances in the edk2-platforms/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc and realized that this instance was used for all modules using IpmiLib:

IpmiLib|MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.inf

which meant all the the drivers using the IpmiSubmitCommand routine would simply calling a NULL routine.
shouldn't it be like this?:

[LibraryClasses.common.PEI_CORE,LibraryClasses.common.PEIM]
...
IpmiLib|MdeModulePkg/Library/PeiIpmiLibIpmiPpi/PeiIpmiLibIpmiPpi.inf

[LibraryClasses.common.DXE_DRIVER,LibraryClasses.common.UEFI_DRIVER]
... IpmiLib|MdeModulePkg/Library/DxeIpmiLibIpmiProtocol/DxeIpmiLibIpmiProtocol.inf

[LibraryClasses.common.DXE_SMM_DRIVER]

...
IpmiLib|MdeModulePkg/Library/SmmIpmiLibSmmIpmiProtocol/SmmIpmiLibSmmIpmiProtocol.inf

Sent with [Proton Mail](https://proton.me/) secure email.

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120401): https://edk2.groups.io/g/devel/message/120401
Mute This Topic: https://groups.io/mt/108071920/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 3962 bytes --]

                 reply	other threads:[~2024-08-24 13:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='diCVekenQIXKtzhWaSc2X_EiJYYA9UC05mrun0LLQJqdbUyeDbUzeAV5mTAaHOOPwsJFlCdwN54cRWmrp3E98VtGB8ERFHOQft8WcdoD_0I=@proton.me' \
    --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