]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Pi/PiStatusCode.h
Add new adding ATA related status code in PI 1.3 to definition and ATA modules.
[mirror_edk2.git] / MdePkg / Include / Pi / PiStatusCode.h
index b4a467f290868be46548365e0f5ad9be014d2a4f..8a5e040f59755d7fd22ebf0f00098e1a01909799 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   StatusCode related definitions in PI.\r
 \r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -596,7 +596,10 @@ typedef struct {
 //\r
 // IO Bus Class ATA/ATAPI Subclass Progress Code definitions.\r
 //\r
-\r
+#define EFI_IOB_ATA_BUS_SMART_ENABLE          (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
+#define EFI_IOB_ATA_BUS_SMART_DISABLE         (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
+#define EFI_IOB_ATA_BUS_SMART_OVERTHRESHOLD   (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
+#define EFI_IOB_ATA_BUS_SMART_UNDERTHRESHOLD  (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
 //\r
 // IO Bus Class FC Subclass Progress Code definitions.\r
 //\r
@@ -669,6 +672,8 @@ typedef struct {
 //\r
 // IO Bus Class ATA/ATAPI Subclass Error Code definitions.\r
 //\r
+#define EFI_IOB_ATA_BUS_SMART_NOTSUPPORTED  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
+#define EFI_IOB_ATA_BUS_SMART_DISABLED      (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
 \r
 //\r
 // IO Bus Class FC Subclass Error Code definitions.\r