1) Cleanup for GCC and ICC tool-chain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5718 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2008-08-23 09:31:51 +00:00
parent 8e35b68162
commit 4b79797eea
19 changed files with 187 additions and 83 deletions

View File

@@ -1,6 +1,6 @@
/*++
Copyright (c) 2006 - 2007, Intel Corporation
Copyright (c) 2006 - 2008, 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
@@ -134,7 +134,7 @@ Returns:
//
Status = (*PeiServices)->GetHobList (
PeiServices,
&HobStart.Raw
(VOID **) &HobStart.Raw
);
if (EFI_ERROR (Status)) {

View File

@@ -1,6 +1,6 @@
/*++
Copyright (c) 2004 - 2007, Intel Corporation
Copyright (c) 2004 - 2008, 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
@@ -62,7 +62,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_MEMORY_ALLOCATION,
sizeof (EFI_HOB_MEMORY_ALLOCATION_MODULE),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;
@@ -125,7 +125,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_RESOURCE_DESCRIPTOR,
sizeof (EFI_HOB_RESOURCE_DESCRIPTOR),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;
@@ -223,7 +223,7 @@ Returns:
PeiServices,
Guid,
DataLength,
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
@@ -276,7 +276,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_FV,
sizeof (EFI_HOB_FIRMWARE_VOLUME),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;
@@ -325,7 +325,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_CPU,
sizeof (EFI_HOB_CPU),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;
@@ -378,7 +378,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_MEMORY_ALLOCATION,
sizeof (EFI_HOB_MEMORY_ALLOCATION_STACK),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;
@@ -436,7 +436,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_MEMORY_ALLOCATION,
sizeof (EFI_HOB_MEMORY_ALLOCATION_BSP_STORE),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;
@@ -496,7 +496,7 @@ Returns:
PeiServices,
EFI_HOB_TYPE_MEMORY_ALLOCATION,
sizeof (EFI_HOB_MEMORY_ALLOCATION),
&Hob
(VOID **) &Hob
);
if (EFI_ERROR (Status)) {
return Status;

View File

@@ -1,6 +1,6 @@
/*++
Copyright (c) 2004 - 2007, Intel Corporation
Copyright (c) 2004 - 2008, 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
@@ -234,9 +234,9 @@ Returns:
ASSERT_PEI_ERROR (PeiServices, Status);
Status = PciCfg2->Modify (
PeiServices,
(CONST EFI_PEI_SERVICES **) PeiServices,
PciCfg2,
Width,
(EFI_PEI_PCI_CFG_PPI_WIDTH) Width,
Address,
&SetBits,
&ClearBits

View File

@@ -1,6 +1,6 @@
/*++
Copyright (c) 2004 - 2005, Intel Corporation
Copyright (c) 2004 - 2008, 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
@@ -114,7 +114,7 @@ Returns:
sizeof(PEI_PERFORMANCE_MEASURE_LOG_ENTRY)) +
sizeof(EFI_PEI_PPI_DESCRIPTOR)
),
&Hob
(VOID **) &Hob
);
ASSERT_PEI_ERROR(PeiServices, Status);

View File

@@ -1,6 +1,6 @@
/*++
Copyright (c) 2004 - 2005, Intel Corporation
Copyright (c) 2004 - 2008, 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
@@ -29,14 +29,14 @@ EFI_STATUS
EFIAPI
TransferControlSetJump (
IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,
IN EFI_JUMP_BUFFER *Jump
IN VOID *Jump
);
EFI_STATUS
EFIAPI
TransferControlLongJump (
IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,
IN EFI_JUMP_BUFFER *Jump
IN VOID *Jump
);
EFI_STATUS

View File

@@ -1,6 +1,6 @@
/*++
Copyright 2005, Intel Corporation
Copyright 2005 - 2008, 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
@@ -30,14 +30,14 @@ EFI_STATUS
EFIAPI
TransferControlSetJump (
IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,
IN EFI_JUMP_BUFFER *Jump
IN VOID *Jump
);
EFI_STATUS
EFIAPI
TransferControlLongJump (
IN EFI_PEI_TRANSFER_CONTROL_PROTOCOL *This,
IN EFI_JUMP_BUFFER *Jump
IN VOID *Jump
);
EFI_STATUS