audk/MdeModulePkg
Jeff Fan 0e99d51637 MdeModulePkg/CpuExceptionHanderLibNull: RegisterCpuInterruptHandler()
Current CpuExceptionHanderLibNull instance returns EFI_SUCCESS for all three
services. If platform does not want to hook the Exception vector for some
modules (For example DxeCore), it could select this NULL instance in DSC file
for those module. But some modules that want to consume
RegisterCpuInterruptHandler() cannot use NULL instance. If platform does not
select the correct library instance, it will does work. But the caller does not
recognize it.

This update is to return EFI_UNSUPPORTED on RegisterCpuInterruptHandler() in
NULL instance instead of return EFI_SUCCESS. Once platform selects this NULL
instance, the caller could know it from return status.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
2016-11-18 09:43:51 +08:00
..
Application MdeModulePkg/CapsuleApp: remove unused definition. 2016-11-15 12:38:52 +08:00
Bus MdeModulePkg/UsbMass: Revert changes of removing retry logic 2016-11-14 14:10:30 +08:00
Core MdeModulePkg/PiSmmCore: Add MemoryAttributes support. 2016-11-17 16:30:04 +08:00
Include MdeModulePkg/Include: Add PiSmmMemoryAttributesTable.h 2016-11-17 10:43:38 +01:00
Library MdeModulePkg/CpuExceptionHanderLibNull: RegisterCpuInterruptHandler() 2016-11-18 09:43:51 +08:00
Logo MdeModulePkg/Logo: rebase to ARRAY_SIZE() 2016-10-27 11:10:57 +02:00
Universal MdeModulePkg HiiDatabase: Remove extra memory initialization. 2016-11-17 17:32:35 +08:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
MdeModulePkg.dec MdeModulePkg/dec: Add gEdkiiPiSmmMemoryAttributesTableGuid. 2016-11-17 16:30:03 +08:00
MdeModulePkg.dsc MdeModulePkg/MdeModulePkg.dsc: Add FMP related component. 2016-11-08 22:37:10 +08:00
MdeModulePkg.uni MdeModulePkg: Add PcdPciDegradeResourceForOptionRom prompt&help to UNI 2016-10-25 10:52:44 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00