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:
52
EdkModulePkg/Core/Pei/Ipf/IpfPeiMain.h
Normal file
52
EdkModulePkg/Core/Pei/Ipf/IpfPeiMain.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
Module Name:
|
||||
|
||||
IpfPeiMain.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Definition of IPF specific function
|
||||
|
||||
Revision History
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _IPF_PEI_MAIN_H_
|
||||
#define _IPF_PEI_MAIN_H_
|
||||
|
||||
#include <PeiMain.h>
|
||||
|
||||
SAL_RETURN_REGS
|
||||
GetHandOffStatus (
|
||||
VOID
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
This routine is called by all processors simultaneously, to get some hand-off
|
||||
status that has been captured by IPF dispatcher and recorded in kernel registers.
|
||||
|
||||
Arguments :
|
||||
|
||||
On Entry : None.
|
||||
|
||||
Returns:
|
||||
|
||||
Lid, R20Status.
|
||||
|
||||
--*/
|
||||
|
||||
;
|
||||
|
||||
#endif
|
@@ -20,14 +20,9 @@ Abstract:
|
||||
Revision History
|
||||
|
||||
--*/
|
||||
#include <PeiMain.h>
|
||||
#include "IpfCpuCore.i"
|
||||
|
||||
extern
|
||||
SAL_RETURN_REGS
|
||||
GetHandOffStatus (
|
||||
VOID
|
||||
);
|
||||
#include "IpfPeiMain.h"
|
||||
#include "IpfCpuCore.i"
|
||||
|
||||
VOID
|
||||
SwitchToCacheMode (
|
||||
|
Reference in New Issue
Block a user