]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Ipf/ProcessorBind.h
Second set of changes based on a review of the code comments in the Include directory...
[mirror_edk2.git] / MdePkg / Include / Ipf / ProcessorBind.h
index da79467c75c28661eac98654afaef849dbad0abf..b8fca5e0142e9db63a8b856c3a765bbf04c55897 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Processor or Compiler specific defines and types for Intel Itanium(TM).\r
+  Processor or Compiler specific defines and types for Intel Itanium(TM) processors.\r
 \r
   Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
@@ -17,7 +17,7 @@
 \r
 \r
 ///\r
-/// Define the processor type so other code can make processor based choices\r
+/// Define the processor type so other code can make processor-based choices\r
 ///\r
 #define MDE_CPU_IPF\r
 \r
@@ -84,7 +84,7 @@
 \r
 //\r
 // Can not cast a function pointer to a data pointer. We need to do this on\r
-// IPF to get access to the PLABEL.\r
+// Itanium processors to get access to the PLABEL.\r
 //\r
 #pragma warning ( disable : 4514 )\r
 \r
 \r
   #if defined(_MSC_EXTENSIONS)\r
     //\r
-    // use Microsoft C complier dependent integer width types\r
+    // use Microsoft C compiler dependent integer width types\r
     //\r
 \r
     ///\r
@@ -392,12 +392,6 @@ typedef INT64   INTN;
   #define GLOBAL_REMOVE_IF_UNREFERENCED\r
 #endif\r
 \r
-///\r
-/// For GNU assembly code, .global or .globl can declare global symbols.\r
-/// Define this macro to unify the usage.\r
-///\r
-#define ASM_GLOBAL .globl\r
-\r
 ///\r
 /// A pointer to a function in IPF points to a plabel.\r
 ///\r
@@ -418,7 +412,7 @@ typedef struct {
 \r
 /**\r
   Return the pointer to the first instruction of a function given a function pointer.\r
-  For Itanium CPUs, all function calls are made through a PLABEL, so a pointer to a function \r
+  For Itanium processors, all function calls are made through a PLABEL, so a pointer to a function \r
   is actually a pointer to a PLABEL.  The pointer to the first instruction of the function \r
   is contained within the PLABEL.  This macro may be used to retrieve a pointer to the first \r
   instruction of a function independent of the CPU architecture being used.  This is very \r