X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIpf%2FProcessorBind.h;h=16bba6589bc9ad3d5c0c4ddeb3efa44efb8d277f;hp=31940a578854d89591c89f5817aec6f08987c78f;hb=3963c4bf44b14be594c4253d695652e077856773;hpb=1e746b6209d0ee51e05fb2c0285b2626d18721a8 diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 31940a5788..16bba6589b 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -1,7 +1,7 @@ /** @file Processor or Compiler specific defines and types for Intel Itanium(TM). - Copyright (c) 2006, Intel Corporation + 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 @@ -23,7 +23,7 @@ // -// Make sure we are useing the correct packing rules per EFI specification +// Make sure we are using the correct packing rules per EFI specification // #pragma pack() @@ -94,7 +94,7 @@ #pragma warning ( disable : 4505 ) // -// This warning is caused by empty (after preprocessing) souce file. For precompiled header only. +// This warning is caused by empty (after preprocessing) source file. For precompiled header only. // #pragma warning ( disable : 4206 ) @@ -108,7 +108,7 @@ #if _MSC_EXTENSIONS // - // use Microsoft C complier dependent interger width types + // use Microsoft C complier dependent integer width types // typedef unsigned __int64 UINT64; typedef __int64 INT64; @@ -200,7 +200,7 @@ typedef INT64 INTN; // // Modifier to ensure that all protocol member functions and EFI intrinsics // use the correct C calling convention. All protocol member functions and -// EFI intrinsics are required to modify thier member functions with EFIAPI. +// EFI intrinsics are required to modify their member functions with EFIAPI. // #if _MSC_EXTENSIONS // @@ -245,11 +245,12 @@ typedef struct { instruction of a function independent of the CPU architecture being used. This is very useful when printing function addresses through DEBUG() macros. - @param p A pointer to a function + @param FunctionPointer A pointer to a function. @return The pointer to the first instruction of a function given a function pointer. + **/ -#define FUNCTION_ENTRY_POINT(p) (((EFI_PLABEL *)(p))->EntryPoint) +#define FUNCTION_ENTRY_POINT(FunctionPointer) (((EFI_PLABEL *)(FunctionPointer))->EntryPoint) #endif