summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkPkg/Include/Guid/SmmCommunicate.h
blob: 44046ed8eee7d1da024b255f4cbcdfbde4b85ed1 (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
/** @file
  Definitions EFI_SMM_COMMUNICATE_HEADER used by EFI_SMM_BASE_PROTOCOL.Communicate()
  functions

  Copyright (c) 2007 - 2009, Intel Corporation
  All rights reserved. This program and the accompanying materials
  are licensed and made available under the terms and conditions of the BSD License
  which accompanies this distribution.  The full text of the license may be found at
  http://opensource.org/licenses/bsd-license.php

  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

  Module Name:  SmmCommunicate.h

  @par Revision Reference:
  GUIDs defined in SmmCis spec version 0.9

**/

#ifndef _SMM_COMMUNICATE_GUID_H_
#define _SMM_COMMUNICATE_GUID_H_

///
/// Inconsistent with specification here: 
/// GUID definition format has been changed, because the GUID format in Framework spec is incorrect.
///
#define SMM_COMMUNICATE_HEADER_GUID \
  { \
    0xf328e36c, 0x23b6, 0x4a95, {0x85, 0x4b, 0x32, 0xe1, 0x95, 0x34, 0xcd, 0x75 } \
  }

typedef struct {
  EFI_GUID                         HeaderGuid;
  UINTN                            MessageLength;
  UINT8                            Data[1];
} EFI_SMM_COMMUNICATE_HEADER;

extern EFI_GUID gSmmCommunicateHeaderGuid;

#endif