X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FIa32%2FProcessorBind.h;h=c452e62f32d1b8bdf44b1fc57efb4da8f39e749b;hb=003c1db883a1e5c4011ded3fe17c2d9405292dd9;hp=72c10328e45a07e54b00650d209a82271cfb5a1c;hpb=ed0b86b1838a525dc5e9e86dc0acd47e3a16dc50;p=mirror_edk2.git diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 72c10328e4..c452e62f32 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -15,9 +15,9 @@ #ifndef __PROCESSOR_BIND_H__ #define __PROCESSOR_BIND_H__ -// -// Define the processor type so other code can make processor based choices -// +/// +/// Define the processor type so other code can make processor based choices +/// #define MDE_CPU_IA32 // @@ -28,13 +28,18 @@ #endif #if __INTEL_COMPILER +// +// Disable ICC's remark #869: "Parameter" was never referenced warning. +// This is legal ANSI C code so we disable the remark that is turned on with -Wall +// +#pragma warning ( disable : 869 ) + // // Disable ICC's remark #1418: external function definition with no prior declaration. // This is legal ANSI C code so we disable the remark that is turned on with /W4 // #pragma warning ( disable : 1418 ) - // // Disable ICC's remark #1419: external declaration in primary source file // This is legal ANSI C code so we disable the remark that is turned on with /W4 @@ -91,7 +96,7 @@ // #if _MSC_EXTENSIONS - + // // use Microsoft* C complier dependent interger width types // @@ -150,20 +155,20 @@ typedef UINT32 UINTN; typedef INT32 INTN; -// -// Processor specific defines -// +/// +/// Processor specific defines +/// #define MAX_BIT 0x80000000 #define MAX_2_BITS 0xC0000000 -// -// Maximum legal IA-32 address -// +/// +/// Maximum legal IA-32 address +/// #define MAX_ADDRESS 0xFFFFFFFF -// -// The stack alignment required for IA-32 -// +/// +/// The stack alignment required for IA-32 +/// #define CPU_STACK_ALIGNMENT sizeof(UINTN) // @@ -172,9 +177,9 @@ typedef INT32 INTN; // EFI intrinsics are required to modify thier member functions with EFIAPI. // #if _MSC_EXTENSIONS - // - // Microsoft* compiler requires _EFIAPI useage, __cdecl is Microsoft* specific C. - // + /// + /// Microsoft* compiler requires _EFIAPI useage, __cdecl is Microsoft* specific C. + /// #define EFIAPI __cdecl #else #if __GNUC__