]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/MdeModulePkg.dsc
MdeModulePkg: introduce helper library to register non-discoverable devices
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 31 Oct 2016 14:58:18 +0000 (14:58 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 7 Dec 2016 09:01:27 +0000 (09:01 +0000)
commit1652dc2158de59483788cff6e06169bcf66643f5
tree130be49d39ccafcd5acca8a2b15e7aacc0edf8cc
parent9598cdc2924f4fb86f23d8004eaea6187e44ba21
MdeModulePkg: introduce helper library to register non-discoverable devices

Non-discoverable devices need to be registered explicitly by the platform.
Introduce a helper library that takes care of this.

This implementation currently only supports registering devices that are
covered by one or more MMIO resources. The underlying protocol allows for
more flexibility than that, but this is currently sufficient for the use
cases that we know about.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistrationLib.h [new file with mode: 0644]
MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c [new file with mode: 0644]
MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf [new file with mode: 0644]
MdeModulePkg/MdeModulePkg.dec
MdeModulePkg/MdeModulePkg.dsc