diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-20 18:31:02 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-01-16 20:30:13 +0100 |
commit | 74a12eae9f2cba18c0a79ac7448a2151a187afba (patch) | |
tree | d0fef2ffdb012d4e36286548f977050b9f3ede66 /ArmPkg/Library | |
parent | 47d977733137f11c0dcafd0314717a90d0f0b665 (diff) | |
download | edk2-74a12eae9f2cba18c0a79ac7448a2151a187afba.tar.gz edk2-74a12eae9f2cba18c0a79ac7448a2151a187afba.tar.bz2 edk2-74a12eae9f2cba18c0a79ac7448a2151a187afba.zip |
ArmPkg/DefaultExceptionHandlerLib: declare the permitted usage context
Declare that this library is only usable in the context of DXE core
or a DXE driver. Set the MODULE_TYPE to BASE: this only affects the
prototype of the constructor (if present) but doesn't actually
restrict the usage context otherwise.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r-- | ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf b/ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf index f5421b1240..7609f82d89 100644 --- a/ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf +++ b/ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf @@ -17,9 +17,9 @@ INF_VERSION = 0x00010005
BASE_NAME = DefaultExceptionHandlerLib
FILE_GUID = EACDB354-DF1A-4AF9-A171-499737ED818F
- MODULE_TYPE = UEFI_DRIVER
+ MODULE_TYPE = BASE
VERSION_STRING = 1.0
- LIBRARY_CLASS = DefaultExceptionHandlerLib
+ LIBRARY_CLASS = DefaultExceptionHandlerLib|DXE_CORE DXE_DRIVER
[Sources.common]
DefaultExceptionHandlerUefi.c
|