]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Uefi/UefiSpec.h
UART_FLOW_CONTROL_DEVICE_PATH should be defined for both EFI and UEFI
[mirror_edk2.git] / MdePkg / Include / Uefi / UefiSpec.h
index 1f2862776ce6d090204ae612c66ca430e4875703..159d3b9e71fa2f2e771114158783820ad8201fa4 100644 (file)
@@ -381,7 +381,7 @@ EFI_STATUS
   Invoke a notification event\r
                                                                                                       \r
   @param  Event                 Event whose notification function is being invoked.\r
-  @param  Context               Pointer to the notification function¡¯s context, \r
+  @param  Context               Pointer to the notification function's context, \r
                                 which is implementation-dependent.                                                  \r
                                                                                                       \r
 **/                                                                                                   \r
@@ -396,9 +396,9 @@ VOID
   Creates an event.\r
                                                                                                       \r
   @param  Type                  The type of event to create and its mode and attributes.\r
-  @param  NotifyTpl             Pointer to the notification function¡¯s context.\r
-  @param  NotifyFunction        Pointer to the event¡¯s notification function, if any.  \r
-  @param  NotifyContext         Pointer to the notification function¡¯s context; corresponds to parameter\r
+  @param  NotifyTpl             Pointer to the notification function's context.\r
+  @param  NotifyFunction        Pointer to the event's notification function, if any.  \r
+  @param  NotifyContext         Pointer to the notification function's context; corresponds to parameter\r
                                 Context in the notification function.                                                                                                          \r
   @param  Event                 Pointer to the newly created event if the call succeeds; undefined  \r
                                 otherwise.                                                          \r
@@ -422,9 +422,9 @@ EFI_STATUS
   Creates an event in a group.\r
                                                                                                       \r
   @param  Type                  The type of event to create and its mode and attributes.\r
-  @param  NotifyTpl             Pointer to the notification function¡¯s context.\r
-  @param  NotifyFunction        Pointer to the event¡¯s notification function, if any.  \r
-  @param  NotifyContext         Pointer to the notification function¡¯s context; corresponds to parameter\r
+  @param  NotifyTpl             Pointer to the notification function's context.\r
+  @param  NotifyFunction        Pointer to the event's notification function, if any.  \r
+  @param  NotifyContext         Pointer to the notification function's context; corresponds to parameter\r
                                 Context in the notification function.          \r
   @param  EventGroup            Pointer to the unique identifier of the group to which this event belongs.                                                                                                                                \r
   @param  Event                 Pointer to the newly created event if the call succeeds; undefined  \r
@@ -554,7 +554,7 @@ EFI_STATUS
 #define EFI_TPL_HIGH_LEVEL    TPL_HIGH_LEVEL\r
 \r
 /**                                                 \r
-  Raises a task¡¯s priority level and returns its previous level.\r
+  Raises a task's priority level and returns its previous level.\r
                                                     \r
   @param  NewTpl                The new task priority level.\r
   \r
@@ -568,7 +568,7 @@ EFI_TPL
   );\r
 \r
 /**                                                 \r
-  Restores a task¡¯s priority level to its previous value.\r
+  Restores a task's priority level to its previous value.\r
                                                     \r
   @param  OldTpl                The previous task priority level to restore    \r
   \r
@@ -590,7 +590,7 @@ VOID
   Returns the value of a variable.\r
                                                     \r
   @param  VariableName          A Null-terminated Unicode string that is the name of the\r
-                                vendor¡¯s variable.                                     \r
+                                vendor's variable.                                     \r
   @param  VendorGuid            A unique identifier for the vendor.                    \r
   @param  Attributes            If not NULL, a pointer to the memory location to return the\r
                                 attributes bitmask for the variable.                       \r
@@ -645,7 +645,7 @@ EFI_STATUS
   Sets the value of a variable.\r
                                                                                                     \r
   @param  VariableName          A Null-terminated Unicode string that is the name of the\r
-                                vendor¡¯s variable.                                     \r
+                                vendor's variable.                                     \r
   @param  VendorGuid            A unique identifier for the vendor.                                \r
   @param  Attributes            Attributes bitmask to set for the variable.                                \r
   @param  DataSize              The size in bytes of the Data buffer.\r
@@ -684,7 +684,7 @@ typedef struct {
                                                                     \r
   @param  Time                  A pointer to storage to receive a snapshot of the current time.                                \r
   @param  Capabilities          An optional pointer to a buffer to receive the real time clock \r
-                                device¡¯s capabilities.                                  \r
+                                device's capabilities.                                  \r
                                                                     \r
   @retval EFI_SUCCESS           The operation completed successfully.     \r
   @retval EFI_INVALID_PARAMETER Time is NULL.\r
@@ -778,7 +778,7 @@ EFI_STATUS
                                 manager, and that the boot manager is attempting to load    \r
                                 FilePath as a boot selection. Ignored if SourceBuffer is    \r
                                 not NULL.                                                   \r
-  @param  ParentImageHandle     The caller¡¯s image handle.\r
+  @param  ParentImageHandle     The caller's image handle.\r
   @param  FilePath              The DeviceHandle specific file path from which the image is\r
                                 loaded.                                                     \r
   @param  SourceBuffer          If not NULL, a pointer to the memory location containing a copy\r
@@ -809,7 +809,7 @@ EFI_STATUS
   );\r
 \r
 /**                                                                 \r
-  Transfers control to a loaded image¡¯s entry point.\r
+  Transfers control to a loaded image's entry point.\r
   \r
   @param  ImageHandle           Handle of image to be started.  \r
   @param  ExitDataSize          Pointer to the size, in bytes, of ExitData.\r
@@ -833,7 +833,7 @@ EFI_STATUS
   Terminates a loaded EFI image and returns control to boot services.\r
   \r
   @param  ImageHandle           Handle that identifies the image.\r
-  @param  ExitStatus            The image¡¯s exit code.\r
+  @param  ExitStatus            The image's exit code.\r
   @param  ExitDataSize          The size, in bytes, of ExitData.\r
   @param  ExitData              Pointer to a data buffer that includes a Null-terminated Unicode string,                    \r
                                 optionally followed by additional binary data.                                                                            \r
@@ -903,7 +903,7 @@ EFI_STATUS
   );\r
 \r
 /**                                                                 \r
-  Sets the system¡¯s watchdog timer.\r
+  Sets the system's watchdog timer.\r
   \r
   @param  Timeout               The number of seconds to set the watchdog timer to.\r
   @param  WatchdogCode          The numeric code to log on a watchdog timer timeout event.\r
@@ -976,7 +976,7 @@ EFI_STATUS
   );\r
 \r
 /**                                                                 \r
-  Returns the next high 32 bits of the platform¡¯s monotonic counter.\r
+  Returns the next high 32 bits of the platform's monotonic counter.\r
   \r
   @param  HighCount             Pointer to returned value.\r
                                 \r
@@ -2029,10 +2029,7 @@ typedef struct {
 #define DEVICE_PATH_MESSAGING_VT_100_PLUS EFI_VT_100_PLUS_GUID\r
 #define DEVICE_PATH_MESSAGING_VT_UTF8     EFI_VT_UTF8_GUID\r
 \r
-#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
-\r
 #define DEVICE_PATH_MESSAGING_UART_FLOW_CONTROL   EFI_UART_DEVICE_PATH_GUID\r
-#define DEVICE_PATH_MESSAGING_SAS                 EFI_SAS_DEVICE_PATH_GUID\r
 \r
 typedef struct {\r
   EFI_DEVICE_PATH_PROTOCOL        Header;\r
@@ -2040,6 +2037,10 @@ typedef struct {
   UINT32                          FlowControlMap;\r
 } UART_FLOW_CONTROL_DEVICE_PATH;\r
 \r
+#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
+\r
+#define DEVICE_PATH_MESSAGING_SAS                 EFI_SAS_DEVICE_PATH_GUID\r
+\r
 typedef struct {\r
   EFI_DEVICE_PATH_PROTOCOL        Header;\r
   EFI_GUID                        Guid;\r
@@ -2375,9 +2376,6 @@ typedef enum {
 #include <Protocol/DriverDiagnostics.h>\r
 #include <Protocol/Ebc.h>\r
 #include <Protocol/EfiNetworkInterfaceIdentifier.h>\r
-#include <Protocol/FileInfo.h>\r
-#include <Protocol/FileSystemInfo.h>\r
-#include <Protocol/FileSystemVolumeLabelInfo.h>\r
 #include <Protocol/PciIo.h>\r
 #include <Protocol/PciRootBridgeIo.h>\r
 #include <Protocol/PlatformDriverOverride.h>\r
@@ -2397,7 +2395,9 @@ typedef enum {
 #include <Guid/PcAnsi.h>\r
 #include <Guid/SmBios.h>\r
 #include <Guid/SalSystemTable.h>\r
-\r
+#include <Guid/FileInfo.h>\r
+#include <Guid/FileSystemInfo.h>\r
+#include <Guid/FileSystemVolumeLabelInfo.h>\r
 \r
 #if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
 //\r