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
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2007, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
+#if defined (MDE_CPU_IPF)\r
//\r
// In Ipf we should make special changes for the PHIT pointers to support\r
// recovery boot in cache mode.\r
//\r
// In Ipf we should make special changes for the PHIT pointers to support\r
// recovery boot in cache mode.\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
//\r
// Notes: EFI 64 shadow all option rom\r
//\r
//\r
// Notes: EFI 64 shadow all option rom\r
//\r
+#if defined (MDE_CPU_IPF)\r
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();\r
VOID\r
ShadowAllOptionRom();\r
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();\r
VOID\r
ShadowAllOptionRom();\r
//\r
// BBS support macros and functions\r
//\r
//\r
// BBS support macros and functions\r
//\r
+#if defined (MDE_CPU_IA32)\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
\r
#include "BootMaint/BootMaint.h"\r
\r
\r
#include "BootMaint/BootMaint.h"\r
\r
+#if defined (MDE_CPU_IA32)\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
\r
#include "Generic/BootMaint/BootMaint.h"\r
\r
\r
#include "Generic/BootMaint/BootMaint.h"\r
\r
+#if defined (MDE_CPU_IA32)\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
-Copyright (c) 2006, Intel Corporation \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
All rights reserved. This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
//\r
// Notes: EFI 64 shadow all option rom\r
//\r
//\r
// Notes: EFI 64 shadow all option rom\r
//\r
+#if defined (MDE_CPU_IPF)\r
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();\r
VOID\r
ShadowAllOptionRom();\r
#define EFI64_SHADOW_ALL_LEGACY_ROM() ShadowAllOptionRom ();\r
VOID\r
ShadowAllOptionRom();\r
//\r
// BBS support macros and functions\r
//\r
//\r
// BBS support macros and functions\r
//\r
+#if defined (MDE_CPU_IA32)\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r
#define REFRESH_LEGACY_BOOT_OPTIONS \\r
BdsDeleteAllInvalidLegacyBootOptions ();\\r
BdsAddNonExistingLegacyBootOptions (); \\r