diff options
Diffstat (limited to 'ReferenceCode/ME/Protocol/IderControllerDriver')
-rw-r--r-- | ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.c | 31 | ||||
-rw-r--r-- | ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.h | 34 |
2 files changed, 65 insertions, 0 deletions
diff --git a/ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.c b/ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.c new file mode 100644 index 0000000..f68b7f4 --- /dev/null +++ b/ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.c @@ -0,0 +1,31 @@ +/** @file + Protocol used for IDE-R Controller Driver. + +@copyright + Copyright (c) 2005 - 2012 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. + + This file contains a 'Sample Driver' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may be modified by the user, subject to + the additional terms of the license agreement +**/ + +// +// External include files do NOT need to be explicitly specified in real EDKII +// environment +// +#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000) +#include "EdkIIGlueDxe.h" +#include EFI_PROTOCOL_DEFINITION (IderControllerDriver) +#endif + +EFI_GUID gEfiIderControllerDriverProtocolGuid = EFI_IDER_CONTROLLER_DRIVER_PROTOCOL_GUID; + +EFI_GUID_STRING(&gEfiIderControllerDriverProtocolGuid, "IDE-R Controller Driver", "EFI IDE-R Controller Driver GUID") diff --git a/ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.h b/ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.h new file mode 100644 index 0000000..05ccf4e --- /dev/null +++ b/ReferenceCode/ME/Protocol/IderControllerDriver/IderControllerDriver.h @@ -0,0 +1,34 @@ +/** @file + IDE-R Controller Driver Protocol definitions. + We can specify normal IDE contorller driver and IDE-R controller by checking this GUID + +@copyright + Copyright (c) 2005 - 2012 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. + + This file contains a 'Sample Driver' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may be modified by the user, subject to + the additional terms of the license agreement +**/ +#ifndef _EFI_IDER_CONTROLLER_DRIVER_PROTOCOL_H_ +#define _EFI_IDER_CONTROLLER_DRIVER_PROTOCOL_H_ + +/// +/// IDER Controller Driver Protocol +/// This protocol is used in Platform BDS phase to identify IDE-R boot devices. +/// +#define EFI_IDER_CONTROLLER_DRIVER_PROTOCOL_GUID \ + { \ + 0x956a2ed0, 0xa6cf, 0x409a, 0xb8, 0xf5, 0x35, 0xf1, 0x4c, 0x3e, 0x3c, 0x2 \ + } + +extern EFI_GUID gEfiIderControllerDriverProtocolGuid; + +#endif |