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