diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /MiscFramework/Ppi/AtaPolicy | |
download | zprj-master.tar.xz |
Diffstat (limited to 'MiscFramework/Ppi/AtaPolicy')
-rw-r--r-- | MiscFramework/Ppi/AtaPolicy/AtaPolicy.c | 35 | ||||
-rw-r--r-- | MiscFramework/Ppi/AtaPolicy/AtaPolicy.h | 45 |
2 files changed, 80 insertions, 0 deletions
diff --git a/MiscFramework/Ppi/AtaPolicy/AtaPolicy.c b/MiscFramework/Ppi/AtaPolicy/AtaPolicy.c new file mode 100644 index 0000000..a8e6be7 --- /dev/null +++ b/MiscFramework/Ppi/AtaPolicy/AtaPolicy.c @@ -0,0 +1,35 @@ +/*++ + This file contains 'Framework Code' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may not be modified, except as allowed by + additional terms of your license agreement. +--*/ +/*++ + +Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved +This software and associated documentation (if any) is furnished +under a license and may only be used or copied in accordance +with the terms of the license. Except as permitted by such +license, no part of this software or documentation may be +reproduced, stored in a retrieval system, or transmitted in any +form or by any means without the express written consent of +Intel Corporation. + + +Module Name: + + AtaPolicy.c + +Abstract: + + ATA Policy PPI GUID as defined in EFI 2.0 + +--*/ + +#include "Tiano.h" +#include "Pei.h" +#include EFI_PPI_DEFINITION (AtaPolicy) + +EFI_GUID gPeiAtaPolicyPpiGuid = PEI_ATA_POLICY_PPI_GUID; + +EFI_GUID_STRING(&gPeiAtaPolicyPpiGuid, "AtaPolicy", "ATA Policy PPI"); diff --git a/MiscFramework/Ppi/AtaPolicy/AtaPolicy.h b/MiscFramework/Ppi/AtaPolicy/AtaPolicy.h new file mode 100644 index 0000000..62fb8da --- /dev/null +++ b/MiscFramework/Ppi/AtaPolicy/AtaPolicy.h @@ -0,0 +1,45 @@ +// +// This file contains 'Framework Code' and is licensed as such +// under the terms of your license agreement with Intel or your +// vendor. This file may not be modified, except as allowed by +// additional terms of your license agreement. +// +/*++ + +Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved +This software and associated documentation (if any) is furnished +under a license and may only be used or copied in accordance +with the terms of the license. Except as permitted by such +license, no part of this software or documentation may be +reproduced, stored in a retrieval system, or transmitted in any +form or by any means without the express written consent of +Intel Corporation. + + +Module Name: + + AtaPolicy.h + +Abstract: + + ATA Policy PPI as defined in EFI 2.0 + +--*/ + +#ifndef _PEI_ATA_POLICY_PPI_H +#define _PEI_ATA_POLICY_PPI_H + +#define PEI_ATA_POLICY_PPI_GUID \ + { \ + 0x1b8ddea4, 0xdeb2, 0x4152, 0x91, 0xc2, 0xb7, 0x3c, 0xb1, 0x6c, 0xe4, 0x64 \ + } + +EFI_FORWARD_DECLARATION (PEI_ATA_POLICY_PPI); + +typedef struct _PEI_ATA_POLICY_PPI { + UINTN BaseAddress; +} PEI_ATA_POLICY_PPI; + +extern EFI_GUID gPeiAtaPolicyPpiGuid; + +#endif |