• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*++
2 
3   Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>
4 
5 
6   This program and the accompanying materials are licensed and made available under
7 
8   the terms and conditions of the BSD License that accompanies this distribution.
9 
10   The full text of the license may be found at
11 
12   http://opensource.org/licenses/bsd-license.php.
13 
14 
15 
16   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 
18   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 
20 
21 
22 
23 Module Name:
24 
25     SmbiosSlotPopulation.h
26 
27 Abstract:
28 
29     EFI SMBIOS slot structure control code.
30 
31 GUID:
32     {EF7BF7D6-F8FF-4a76-8247-C0D0D1CC49C0}
33     0xef7bf7d6, 0xf8ff, 0x4a76, 0x82, 0x47, 0xc0, 0xd0, 0xd1, 0xcc, 0x49, 0xc0
34 
35 Revision History
36 
37 **/
38 
39 #ifndef _EFI_SMBIOS_SLOT_POPULATION_H_
40 #define _EFI_SMBIOS_SLOT_POPULATION_H_
41 
42 //
43 // Slot Population Protocol GUID
44 //
45 #define EFI_SMBIOS_SLOT_POPULATION_GUID \
46   { 0xef7bf7d6, 0xf8ff, 0x4a76, 0x82, 0x47, 0xc0, 0xd0, 0xd1, 0xcc, 0x49, 0xc0 }
47 
48 typedef struct {
49   UINT16      SmbiosSlotId;   // SMBIOS Slot ID
50   BOOLEAN     InUse;          // Does the slot have a card in it
51   BOOLEAN     Disabled;       // Should the slot information be in SMBIOS
52 } EFI_SMBIOS_SLOT_ENTRY;
53 
54 typedef struct {
55   UINT32                NumberOfEntries;
56   EFI_SMBIOS_SLOT_ENTRY *SlotEntries;
57 } EFI_SMBIOS_SLOT_POPULATION_INFO;
58 
59 extern EFI_GUID gEfiSmbiosSlotPopulationGuid;
60 
61 #endif
62