]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Common/BaseTypes.h
Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis 0.91...
[mirror_edk2.git] / MdePkg / Include / Common / BaseTypes.h
index 3935919300d053b3d71f49bc72a3754b7dac95a2..3af38facbea3dc2610f3757063e0979da416134b 100644 (file)
@@ -139,7 +139,7 @@ typedef CHAR8 *VA_LIST;
 ///\r
 ///  ALIGN_POINTER - aligns a pointer to the lowest boundry\r
 ///\r
-#define ALIGN_POINTER(p, s) ((VOID *) ((p) + (((s) - ((UINTN) (p))) & ((s) - 1))))\r
+#define ALIGN_POINTER(p, s) ((VOID *) ((UINTN)(p) + (((s) - ((UINTN) (p))) & ((s) - 1))))\r
 \r
 ///\r
 ///  ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor\r
@@ -203,4 +203,14 @@ typedef INTN RETURN_STATUS;
 \r
 typedef UINT64 PHYSICAL_ADDRESS;\r
 \r
+//\r
+// LIST_ENTRY definition\r
+//\r
+typedef struct _LIST_ENTRY LIST_ENTRY;\r
+\r
+struct _LIST_ENTRY {\r
+  LIST_ENTRY  *ForwardLink;\r
+  LIST_ENTRY  *BackLink;\r
+};\r
+\r
 #endif\r