Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
Changed old event definitions reference to these new event definitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2729 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -285,7 +285,7 @@ Returns:
|
||||
//
|
||||
// else remove the previously installed handler
|
||||
//
|
||||
OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);
|
||||
OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);
|
||||
InterruptFlags = ProgramInterruptFlags (DISABLE_INTERRUPTS);
|
||||
if (ExceptionType == EXCEPT_IPF_EXTERNAL_INTERRUPT) {
|
||||
UnchainExternalInterrupt ();
|
||||
@@ -305,7 +305,7 @@ Returns:
|
||||
// no user handler installed on this vector
|
||||
//
|
||||
if (NewCallback != NULL) {
|
||||
OldTpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);
|
||||
OldTpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);
|
||||
InterruptFlags = ProgramInterruptFlags (DISABLE_INTERRUPTS);
|
||||
if (ExceptionType == EXCEPT_IPF_EXTERNAL_INTERRUPT) {
|
||||
ChainExternalInterrupt (NewCallback);
|
||||
|
Reference in New Issue
Block a user