summaryrefslogtreecommitdiff
path: root/Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerData.c
blob: 6237fbe53575dc15ad4fb5eec3192399c8d9d2e3 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*++

Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2015, Hisilicon Limited. All rights reserved.<BR>
Copyright (c) 2015, Linaro Limited. All rights reserved.<BR>
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:

  MiscChassisManufacturerData.c

Abstract:

  This file provide OEM to define Smbios Type3 Data

Based on files under Nt32Pkg/MiscSubClassPlatformDxe/
**/
/* Modify list
DATA        AUTHOR            REASON
*/

#include "SmbiosMisc.h"


//
// Static (possibly build generated) Chassis Manufacturer data.
//
MISC_SMBIOS_TABLE_DATA(SMBIOS_TABLE_TYPE3, MiscChassisManufacturer) = {
    {                                                       // Hdr
        EFI_SMBIOS_TYPE_SYSTEM_ENCLOSURE  ,                   // Type,
        0,                                                    // Length,
        0                                                     // Handle
    },
    1,                                                      // Manufactrurer
    MiscChassisTypeMainServerChassis,                       // Type
    2,                                                      // Version
    3,                                                      // SerialNumber
    4,                                                      // AssetTag
    ChassisStateSafe,                                       // BootupState
    ChassisStateSafe,                                       // PowerSupplyState
    ChassisStateSafe,                                       // ThermalState
    ChassisSecurityStatusNone,                              // SecurityState
    {
        0,                                                    // OemDefined[0]
        0,                                                    // OemDefined[1]
        0,                                                    // OemDefined[2]
        0                                                     // OemDefined[3]
    },
    2,                                                      // Height
    1,                                                      // NumberofPowerCords
    0,                                                      // ContainedElementCount
    0,                                                      // ContainedElementRecordLength
    {                                                       // ContainedElements[0]
        {
            0,                                                    // ContainedElementType
            0,                                                    // ContainedElementMinimum
            0                                                     // ContainedElementMaximum
        }
    }
};