mirror of https://github.com/acidanthera/audk.git
1.replace macros EFI32 with MDE_CPU_IA32
2.replace macros EFIX64 with MDE_CPU_X64 3.replace macros EFI64 with MDE_CPU_IPF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2411 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fad1794ce8
commit
59e9a3659f
|
@ -1,6 +1,6 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -347,7 +347,7 @@ Returns:
|
||||||
--*/
|
--*/
|
||||||
;
|
;
|
||||||
|
|
||||||
#ifdef EFI64
|
#if defined (MDE_CPU_IPF)
|
||||||
//
|
//
|
||||||
// In Ipf we should make special changes for the PHIT pointers to support
|
// In Ipf we should make special changes for the PHIT pointers to support
|
||||||
// recovery boot in cache mode.
|
// recovery boot in cache mode.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -305,7 +305,7 @@ BdsBootByDiskSignatureAndPartition (
|
||||||
//
|
//
|
||||||
// Notes: EFI 64 shadow all option rom
|
// Notes: EFI 64 shadow all option rom
|
||||||
//
|
//
|
||||||
#ifdef EFI64
|
#if defined (MDE_CPU_IPF)
|
||||||
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();
|
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();
|
||||||
VOID
|
VOID
|
||||||
ShadowAllOptionRom();
|
ShadowAllOptionRom();
|
||||||
|
@ -316,7 +316,7 @@ ShadowAllOptionRom();
|
||||||
//
|
//
|
||||||
// BBS support macros and functions
|
// BBS support macros and functions
|
||||||
//
|
//
|
||||||
#ifdef EFI32
|
#if defined (MDE_CPU_IA32)
|
||||||
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
||||||
BdsDeleteAllInvalidLegacyBootOptions ();\
|
BdsDeleteAllInvalidLegacyBootOptions ();\
|
||||||
BdsAddNonExistingLegacyBootOptions (); \
|
BdsAddNonExistingLegacyBootOptions (); \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -26,7 +26,7 @@ Revision History
|
||||||
|
|
||||||
#include "BootMaint/BootMaint.h"
|
#include "BootMaint/BootMaint.h"
|
||||||
|
|
||||||
#ifdef EFI32
|
#if defined (MDE_CPU_IA32)
|
||||||
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
||||||
BdsDeleteAllInvalidLegacyBootOptions ();\
|
BdsDeleteAllInvalidLegacyBootOptions ();\
|
||||||
BdsAddNonExistingLegacyBootOptions (); \
|
BdsAddNonExistingLegacyBootOptions (); \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -26,7 +26,7 @@ Revision History
|
||||||
|
|
||||||
#include "Generic/BootMaint/BootMaint.h"
|
#include "Generic/BootMaint/BootMaint.h"
|
||||||
|
|
||||||
#ifdef EFI32
|
#if defined (MDE_CPU_IA32)
|
||||||
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
||||||
BdsDeleteAllInvalidLegacyBootOptions ();\
|
BdsDeleteAllInvalidLegacyBootOptions ();\
|
||||||
BdsAddNonExistingLegacyBootOptions (); \
|
BdsAddNonExistingLegacyBootOptions (); \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -305,7 +305,7 @@ BdsBootByDiskSignatureAndPartition (
|
||||||
//
|
//
|
||||||
// Notes: EFI 64 shadow all option rom
|
// Notes: EFI 64 shadow all option rom
|
||||||
//
|
//
|
||||||
#ifdef EFI64
|
#if defined (MDE_CPU_IPF)
|
||||||
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();
|
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();
|
||||||
VOID
|
VOID
|
||||||
ShadowAllOptionRom();
|
ShadowAllOptionRom();
|
||||||
|
@ -316,7 +316,7 @@ ShadowAllOptionRom();
|
||||||
//
|
//
|
||||||
// BBS support macros and functions
|
// BBS support macros and functions
|
||||||
//
|
//
|
||||||
#ifdef EFI32
|
#if defined (MDE_CPU_IA32)
|
||||||
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
#define REFRESH_LEGACY_BOOT_OPTIONS \
|
||||||
BdsDeleteAllInvalidLegacyBootOptions ();\
|
BdsDeleteAllInvalidLegacyBootOptions ();\
|
||||||
BdsAddNonExistingLegacyBootOptions (); \
|
BdsAddNonExistingLegacyBootOptions (); \
|
||||||
|
|
Loading…
Reference in New Issue