OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleSmBios.h File Reference
#include <IndustryStandard/SmBios.h>

Go to the source code of this file.

Data Structures

struct  APPLE_SMBIOS_TABLE_TYPE130
 
struct  APPLE_PROCESSOR_TYPE_INFO
 
union  APPLE_PROCESSOR_TYPE
 
struct  APPLE_SMBIOS_TABLE_TYPE132
 
struct  APPLE_SMBIOS_TABLE_TYPE133
 
union  APPLE_SMBIOS_STRUCTURE_POINTER
 

Macros

#define APPLE_SMBIOS_TYPE_FIRMWARE_INFORMATION   128
 
#define APPLE_SMBIOS_TYPE_MEMORY_SPD_DATA   130
 
#define APPLE_SMBIOS_TYPE_PROCESSOR_TYPE   131
 
#define APPLE_SMBIOS_TYPE_PROCESSOR_BUS_SPEED   132
 
#define APPLE_SMBIOS_TYPE_PLATFORM_FEATURE   133
 
#define APPLE_SMBIOS_TYPE_SMC_INFORMATION   134
 
#define APPLE_NUMBER_OF_FLASHMAP_ENTRIES   8
 
#define APPLE_SMBIOS_SMC_VERSION_SIZE   16
 

Typedefs

typedef UINT8 APPLE_REGION_TYPE
 
struct { 
 
   UINT32   StartAddress 
 
   UINT32   EndAddress 
 
APPLE_FIRMWARE_REGION_INFO 
 
struct { 
 
   SMBIOS_STRUCTURE   Hdr 
 
   UINT8   NumberOfRegions 
 
   UINT8   Reserved [3] 
 
   UINT32   FirmwareFeatures 
 
   UINT32   FirmwareFeaturesMask 
 
   APPLE_REGION_TYPE   RegionTypeMap [APPLE_NUMBER_OF_FLASHMAP_ENTRIES
 
   APPLE_FIRMWARE_REGION_INFO   FlashMap [APPLE_NUMBER_OF_FLASHMAP_ENTRIES
 
   UINT32   ExtendedFirmwareFeatures 
 
   UINT32   ExtendedFirmwareFeaturesMask 
 
APPLE_SMBIOS_TABLE_TYPE128 
 
struct { 
 
   SMBIOS_STRUCTURE   Hdr 
 
   APPLE_PROCESSOR_TYPE   ProcessorType 
 
   UINT8   Reserved [2] 
 
APPLE_SMBIOS_TABLE_TYPE131 
 
struct { 
 
   SMBIOS_STRUCTURE   Hdr 
 
   UINT8   SmcVersion [APPLE_SMBIOS_SMC_VERSION_SIZE
 
APPLE_SMBIOS_TABLE_TYPE134 
 

Enumerations

enum  {
  AppleRegionTypeReserved = 0 , AppleRegionTypeRecovery = 1 , AppleRegionTypeMain = 2 , AppleRegionTypeNvram = 3 ,
  AppleRegionTypeConfig = 4 , AppleRegionTypeDiagvault = 5
}
 
enum  {
  AppleProcessorTypeUnknown = 0x0000 , AppleProcessorTypeCoreSolo = 0x0201 , AppleProcessorTypeCore2DuoType1 = 0x0301 , AppleProcessorTypeCore2DuoType2 = 0x0302 ,
  AppleProcessorTypeXeonPenrynType1 = 0x0401 , AppleProcessorTypeXeonPenrynType2 = 0x0402 , AppleProcessorTypeXeon = 0x0501 , AppleProcessorTypeXeonE5 = 0x0A01 ,
  AppleProcessorTypeCorei5Type1 = 0x0601 , AppleProcessorTypeCorei7Type1 = 0x0701 , AppleProcessorTypeCorei3Type1 = 0x0901 , AppleProcessorTypeCorei5Type2 = 0x0602 ,
  AppleProcessorTypeCorei7Type2 = 0x0702 , AppleProcessorTypeCorei3Type2 = 0x0902 , AppleProcessorTypeCorei5Type3 = 0x0603 , AppleProcessorTypeCorei7Type3 = 0x0703 ,
  AppleProcessorTypeCorei3Type3 = 0x0903 , AppleProcessorTypeCorei5Type4 = 0x0604 , AppleProcessorTypeCorei7Type4 = 0x0704 , AppleProcessorTypeCorei3Type4 = 0x0904 ,
  AppleProcessorTypeCorei5Type5 = 0x0605 , AppleProcessorTypeCorei7Type5 = 0x0705 , AppleProcessorTypeCorei3Type5 = 0x0905 , AppleProcessorTypeCorei5Type6 = 0x0606 ,
  AppleProcessorTypeCorei7Type6 = 0x0706 , AppleProcessorTypeCorei3Type6 = 0x0906 , AppleProcessorTypeCorei7Type7 = 0x0707 , AppleProcessorTypeCorei5Type8 = 0x0608 ,
  AppleProcessorTypeCorei5Type9 = 0x0609 , AppleProcessorTypeCorei7Type9 = 0x0709 , AppleProcessorTypeCoreMType1 = 0x0B01 , AppleProcessorTypeCoreMType6 = 0x0B06 ,
  AppleProcessorTypeCoreM3Type1 = 0x0C01 , AppleProcessorTypeCoreM3Type7 = 0x0C07 , AppleProcessorTypeCoreM5Type1 = 0x0D01 , AppleProcessorTypeCoreM5Type7 = 0x0D07 ,
  AppleProcessorTypeCoreM7Type1 = 0x0E01 , AppleProcessorTypeCoreM7Type7 = 0x0E07 , AppleProcessorTypeXeonW = 0x0F01 , AppleProcessorTypeCorei9Type1 = 0x1001 ,
  AppleProcessorTypeCorei9Type5 = 0x1005 , AppleProcessorTypeCorei9Type9 = 0x1009
}
 
enum  {
  AppleProcessorMajorUnknown = 0x00 , AppleProcessorMajorCore = 0x02 , AppleProcessorMajorCore2 = 0x03 , AppleProcessorMajorXeonPenryn = 0x04 ,
  AppleProcessorMajorXeonNehalem = 0x05 , AppleProcessorMajorI5 = 0x06 , AppleProcessorMajorI7 = 0x07 , AppleProcessorMajorI3 = 0x09 ,
  AppleProcessorMajorI9 = 0x10 , AppleProcessorMajorXeonE5 = 0x0A , AppleProcessorMajorM = 0x0B , AppleProcessorMajorM3 = 0x0C ,
  AppleProcessorMajorM5 = 0x0D , AppleProcessorMajorM7 = 0x0E , AppleProcessorMajorXeonW = 0x0F
}
 

Detailed Description

Copyright (C) 2014 - 2017, Download-Fritz. 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.

Definition in file AppleSmBios.h.

Macro Definition Documentation

◆ APPLE_NUMBER_OF_FLASHMAP_ENTRIES

#define APPLE_NUMBER_OF_FLASHMAP_ENTRIES   8

Definition at line 27 of file AppleSmBios.h.

◆ APPLE_SMBIOS_SMC_VERSION_SIZE

#define APPLE_SMBIOS_SMC_VERSION_SIZE   16

Definition at line 29 of file AppleSmBios.h.

◆ APPLE_SMBIOS_TYPE_FIRMWARE_INFORMATION

#define APPLE_SMBIOS_TYPE_FIRMWARE_INFORMATION   128

Definition at line 20 of file AppleSmBios.h.

◆ APPLE_SMBIOS_TYPE_MEMORY_SPD_DATA

#define APPLE_SMBIOS_TYPE_MEMORY_SPD_DATA   130

Definition at line 21 of file AppleSmBios.h.

◆ APPLE_SMBIOS_TYPE_PLATFORM_FEATURE

#define APPLE_SMBIOS_TYPE_PLATFORM_FEATURE   133

Definition at line 24 of file AppleSmBios.h.

◆ APPLE_SMBIOS_TYPE_PROCESSOR_BUS_SPEED

#define APPLE_SMBIOS_TYPE_PROCESSOR_BUS_SPEED   132

Definition at line 23 of file AppleSmBios.h.

◆ APPLE_SMBIOS_TYPE_PROCESSOR_TYPE

#define APPLE_SMBIOS_TYPE_PROCESSOR_TYPE   131

Definition at line 22 of file AppleSmBios.h.

◆ APPLE_SMBIOS_TYPE_SMC_INFORMATION

#define APPLE_SMBIOS_TYPE_SMC_INFORMATION   134

Definition at line 25 of file AppleSmBios.h.

Typedef Documentation

◆ [struct]

typedef PACKED struct { ... } APPLE_FIRMWARE_REGION_INFO

◆ APPLE_REGION_TYPE

typedef UINT8 APPLE_REGION_TYPE

Definition at line 41 of file AppleSmBios.h.

◆ [struct]

typedef PACKED struct { ... } APPLE_SMBIOS_TABLE_TYPE128

◆ [struct]

typedef PACKED struct { ... } APPLE_SMBIOS_TABLE_TYPE131

◆ [struct]

typedef PACKED struct { ... } APPLE_SMBIOS_TABLE_TYPE134

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AppleRegionTypeReserved 
AppleRegionTypeRecovery 
AppleRegionTypeMain 
AppleRegionTypeNvram 
AppleRegionTypeConfig 
AppleRegionTypeDiagvault 

Definition at line 32 of file AppleSmBios.h.

◆ anonymous enum

anonymous enum
Enumerator
AppleProcessorTypeUnknown 
AppleProcessorTypeCoreSolo 
AppleProcessorTypeCore2DuoType1 
AppleProcessorTypeCore2DuoType2 
AppleProcessorTypeXeonPenrynType1 
AppleProcessorTypeXeonPenrynType2 
AppleProcessorTypeXeon 
AppleProcessorTypeXeonE5 
AppleProcessorTypeCorei5Type1 
AppleProcessorTypeCorei7Type1 
AppleProcessorTypeCorei3Type1 
AppleProcessorTypeCorei5Type2 
AppleProcessorTypeCorei7Type2 
AppleProcessorTypeCorei3Type2 
AppleProcessorTypeCorei5Type3 
AppleProcessorTypeCorei7Type3 
AppleProcessorTypeCorei3Type3 
AppleProcessorTypeCorei5Type4 
AppleProcessorTypeCorei7Type4 
AppleProcessorTypeCorei3Type4 
AppleProcessorTypeCorei5Type5 
AppleProcessorTypeCorei7Type5 
AppleProcessorTypeCorei3Type5 
AppleProcessorTypeCorei5Type6 
AppleProcessorTypeCorei7Type6 
AppleProcessorTypeCorei3Type6 
AppleProcessorTypeCorei7Type7 
AppleProcessorTypeCorei5Type8 
AppleProcessorTypeCorei5Type9 
AppleProcessorTypeCorei7Type9 
AppleProcessorTypeCoreMType1 
AppleProcessorTypeCoreMType6 
AppleProcessorTypeCoreM3Type1 
AppleProcessorTypeCoreM3Type7 
AppleProcessorTypeCoreM5Type1 
AppleProcessorTypeCoreM5Type7 
AppleProcessorTypeCoreM7Type1 
AppleProcessorTypeCoreM7Type7 
AppleProcessorTypeXeonW 
AppleProcessorTypeCorei9Type1 
AppleProcessorTypeCorei9Type5 
AppleProcessorTypeCorei9Type9 

Definition at line 157 of file AppleSmBios.h.

◆ anonymous enum

anonymous enum
Enumerator
AppleProcessorMajorUnknown 
AppleProcessorMajorCore 
AppleProcessorMajorCore2 
AppleProcessorMajorXeonPenryn 
AppleProcessorMajorXeonNehalem 
AppleProcessorMajorI5 
AppleProcessorMajorI7 
AppleProcessorMajorI3 
AppleProcessorMajorI9 
AppleProcessorMajorXeonE5 
AppleProcessorMajorM 
AppleProcessorMajorM3 
AppleProcessorMajorM5 
AppleProcessorMajorM7 
AppleProcessorMajorXeonW 

Definition at line 224 of file AppleSmBios.h.

Variable Documentation

◆ EndAddress

UINT32 EndAddress

Definition at line 46 of file AppleSmBios.h.

◆ ExtendedFirmwareFeatures

UINT32 ExtendedFirmwareFeatures

Definition at line 58 of file AppleSmBios.h.

◆ ExtendedFirmwareFeaturesMask

UINT32 ExtendedFirmwareFeaturesMask

Definition at line 59 of file AppleSmBios.h.

◆ FirmwareFeatures

UINT32 FirmwareFeatures

Definition at line 54 of file AppleSmBios.h.

◆ FirmwareFeaturesMask

UINT32 FirmwareFeaturesMask

Definition at line 55 of file AppleSmBios.h.

◆ FlashMap

◆ Hdr

SMBIOS_STRUCTURE Hdr

Definition at line 51 of file AppleSmBios.h.

◆ NumberOfRegions

UINT8 NumberOfRegions

Definition at line 52 of file AppleSmBios.h.

◆ ProcessorType

APPLE_PROCESSOR_TYPE ProcessorType

Definition at line 255 of file AppleSmBios.h.

◆ RegionTypeMap

Definition at line 56 of file AppleSmBios.h.

◆ Reserved

UINT8 Reserved[2]

Definition at line 53 of file AppleSmBios.h.

◆ SmcVersion

UINT8 SmcVersion[APPLE_SMBIOS_SMC_VERSION_SIZE]

Definition at line 274 of file AppleSmBios.h.

◆ StartAddress

UINT32 StartAddress

Definition at line 45 of file AppleSmBios.h.