summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/X64
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-05 02:28:51 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-05 02:28:51 +0000
commit3963c4bf44b14be594c4253d695652e077856773 (patch)
tree374274db5af1ea6022f06c21db11c6ae93206bc4 /MdePkg/Include/X64
parent1e746b6209d0ee51e05fb2c0285b2626d18721a8 (diff)
downloadedk2-3963c4bf44b14be594c4253d695652e077856773.tar.gz
edk2-3963c4bf44b14be594c4253d695652e077856773.tar.bz2
edk2-3963c4bf44b14be594c4253d695652e077856773.zip
Add comments for the MACRO follow the Spec, and change some definition not match the Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6852 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/X64')
-rw-r--r--MdePkg/Include/X64/ProcessorBind.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/ProcessorBind.h
index 2609a8e427..e4db64d39b 100644
--- a/MdePkg/Include/X64/ProcessorBind.h
+++ b/MdePkg/Include/X64/ProcessorBind.h
@@ -1,7 +1,7 @@
/** @file
Processor or Compiler specific defines and types x64 (Intel(r) EM64T, AMD64).
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006, Intel Corporation<BR>
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
@@ -22,7 +22,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
//
#ifndef __GNUC__
#pragma pack()
@@ -85,7 +85,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 )
@@ -99,7 +99,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;
@@ -243,11 +243,12 @@ typedef INT64 INTN;
On x64 CPU architectures, these two pointer values are the same,
so the implementation of this macro is very simple.
- @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) (p)
+#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(FunctionPointer)
#endif