summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Pi
diff options
context:
space:
mode:
authorElvin Li <elvin.li@intel.com>2013-08-09 03:39:37 +0000
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2013-08-09 03:39:37 +0000
commitcffd21712f5c487e995ac9d38222e9e5b72f494e (patch)
tree712665693e235c0112c8dbd4046fead0dc46eeec /MdePkg/Include/Pi
parent433a21cba1a6a825b9ec07f580164b84e5d41d3a (diff)
downloadedk2-cffd21712f5c487e995ac9d38222e9e5b72f494e.tar.gz
edk2-cffd21712f5c487e995ac9d38222e9e5b72f494e.tar.bz2
edk2-cffd21712f5c487e995ac9d38222e9e5b72f494e.zip
Add new adding ATA related status code in PI 1.3 to definition and ATA modules.
Signed-off-by: Elvin Li <elvin.li@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14535 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Pi')
-rw-r--r--MdePkg/Include/Pi/PiStatusCode.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusCode.h
index b4a467f290..8a5e040f59 100644
--- a/MdePkg/Include/Pi/PiStatusCode.h
+++ b/MdePkg/Include/Pi/PiStatusCode.h
@@ -1,7 +1,7 @@
/** @file
StatusCode related definitions in PI.
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -596,7 +596,10 @@ typedef struct {
//
// IO Bus Class ATA/ATAPI Subclass Progress Code definitions.
//
-
+#define EFI_IOB_ATA_BUS_SMART_ENABLE (EFI_SUBCLASS_SPECIFIC | 0x00000000)
+#define EFI_IOB_ATA_BUS_SMART_DISABLE (EFI_SUBCLASS_SPECIFIC | 0x00000001)
+#define EFI_IOB_ATA_BUS_SMART_OVERTHRESHOLD (EFI_SUBCLASS_SPECIFIC | 0x00000002)
+#define EFI_IOB_ATA_BUS_SMART_UNDERTHRESHOLD (EFI_SUBCLASS_SPECIFIC | 0x00000003)
//
// IO Bus Class FC Subclass Progress Code definitions.
//
@@ -669,6 +672,8 @@ typedef struct {
//
// IO Bus Class ATA/ATAPI Subclass Error Code definitions.
//
+#define EFI_IOB_ATA_BUS_SMART_NOTSUPPORTED (EFI_SUBCLASS_SPECIFIC | 0x00000000)
+#define EFI_IOB_ATA_BUS_SMART_DISABLED (EFI_SUBCLASS_SPECIFIC | 0x00000001)
//
// IO Bus Class FC Subclass Error Code definitions.