Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning #1419.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24
2007-01-31 04:57:46 +00:00
parent 86e6bb786f
commit 92dda53e9f
100 changed files with 2096 additions and 2043 deletions

View File

@ -41,16 +41,6 @@ typedef struct _EBC_IMAGE_LIST {
EBC_THUNK_LIST *ThunkList;
} EBC_IMAGE_LIST;
//
// Function prototypes
//
EFI_STATUS
EFIAPI
InitializeEbcDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
);
STATIC
EFI_STATUS
EFIAPI
@ -77,12 +67,14 @@ EbcGetVersion (
IN OUT UINT64 *Version
);
STATIC
EFI_STATUS
EFIAPI
InitializeEbcCallback (
IN EFI_DEBUG_SUPPORT_PROTOCOL *This
);
STATIC
VOID
EFIAPI
CommonEbcExceptionHandler (
@ -90,6 +82,7 @@ CommonEbcExceptionHandler (
IN EFI_SYSTEM_CONTEXT SystemContext
);
STATIC
VOID
EFIAPI
EbcPeriodicNotifyFunction (
@ -97,6 +90,7 @@ EbcPeriodicNotifyFunction (
IN VOID *Context
);
STATIC
EFI_STATUS
EFIAPI
EbcDebugPeriodic (
@ -646,6 +640,7 @@ Returns:
return EFI_SUCCESS;
}
STATIC
EFI_STATUS
InitializeEbcCallback (
IN EFI_DEBUG_SUPPORT_PROTOCOL *This
@ -707,6 +702,7 @@ Returns:
return EFI_SUCCESS;
}
STATIC
VOID
CommonEbcExceptionHandler (
IN EFI_EXCEPTION_TYPE InterruptType,
@ -739,6 +735,7 @@ Returns:
return ;
}
STATIC
VOID
EFIAPI
EbcPeriodicNotifyFunction (
@ -774,7 +771,7 @@ Returns:
return ;
}
STATIC
EFI_STATUS
EbcDebugPeriodic (
IN VM_CONTEXT *VmPtr