summaryrefslogtreecommitdiff
path: root/ReferenceCode/Haswell/Protocol/PowerMgmtInitDone/PowerMgmtInitDone.h
blob: 5de11d1fae0a26bf5b6962f658931e2a5774b396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/** @file
  This file defines the PowerMgmtInitDone Protocol.

@copyright
  Copyright (c) 2011 - 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 _POWER_MGMT_INIT_DONE_H_
#define _POWER_MGMT_INIT_DONE_H_

///
/// Define PPM INFO protocol GUID
///
/// EDK and EDKII have different GUID formats
///
#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
#define EFI_POWER_MGMT_INIT_DONE_PROTOCOL_GUID \
  { \
    0xd71db106, 0xe32d, 0x4225, 0xbf, 0xf4, 0xde, 0x6d, 0x77, 0x87, 0x17, 0x61 \
  }

#else
#define EFI_POWER_MGMT_INIT_DONE_PROTOCOL_GUID \
  { \
    0xd71db106, 0xe32d, 0x4225, \
    { \
      0xbf, 0xf4, 0xde, 0x6d, 0x77, 0x87, 0x17, 0x61 \
    } \
  }
#endif
///
/// Extern the GUID for protocol users.
///
extern EFI_GUID gEfiPowerMgmtInitDoneProtocolGuid;

//
// Forward reference for ANSI C compatibility
//
typedef struct _EFI_POWER_MGMT_INIT_DONE_PROTOCOL EFI_POWER_MGMT_INIT_DONE_PROTOCOL;

#endif