• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*++
2 
3 Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution.  The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8 
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 
12 Module Name:
13 
14   StatusCodeMemory.h
15 
16 Abstract:
17 
18   Status Code memory descriptor PPI.  Contains information about memory that
19   the Status Code PEIM may use to journal Status Codes.
20 
21 --*/
22 
23 #ifndef _PEI_STATUS_CODE_MEMORY_PPI_H_
24 #define _PEI_STATUS_CODE_MEMORY_PPI_H_
25 
26 //
27 // GUID definition
28 //
29 #define PEI_STATUS_CODE_MEMORY_PPI_GUID \
30   { 0x26f8ab01, 0xd3cd, 0x489c, {0x98, 0x4f, 0xdf, 0xde, 0xf7, 0x68, 0x39, 0x5b} }
31 
32 //
33 // Data types
34 //
35 typedef struct {
36   EFI_STATUS_CODE_TYPE    Type;
37   EFI_STATUS_CODE_VALUE   Value;
38   UINT32                  Instance;
39 } EFI_STATUS_CODE_ENTRY;
40 
41 //
42 // PPI definition
43 //
44 typedef struct {
45   UINTN                   FirstEntry;
46   UINTN                   LastEntry;
47   EFI_PHYSICAL_ADDRESS    Address;
48   UINTN                   Length;
49 } PEI_STATUS_CODE_MEMORY_PPI;
50 
51 extern EFI_GUID gPeiStatusCodeMemoryPpiGuid;
52 
53 #endif
54