SMBIOS Library
Classes | Macros | Functions | Variables
IdByte.cpp File Reference
#include "smbios/compat.h"
#include <string.h>
#include "smbios/ISmbios.h"
#include "smbios/IToken.h"
#include "smbios/SystemInfo.h"
#include "smbios/IMemory.h"
#include "smbios/SmbiosDefs.h"
#include "ExceptionImpl.h"
#include "SystemDetect.h"
#include "DellMagic.h"
#include "smbios/message.h"
Include dependency graph for IdByte.cpp:

Go to the source code of this file.

Classes

struct  DellIdByteFunctions

Macros

#define LIBSMBIOS_SOURCE

Functions

static u16 getIdByteFromMem ()
static u16 getIdByteFromMem_Diamond ()
static u16 getIdByteFromOEMItem ()
static u16 getIdByteFromRevItem ()
int SMBIOSGetDellSystemId ()
 Return the Dell System ID Byte or Word.

Variables

smbios::Exception
< smbios::IException
SysInfoException
struct DellIdByteFunctions DellIdByteFunctions []

Macro Definition Documentation

#define LIBSMBIOS_SOURCE

Definition at line 19 of file IdByte.cpp.

Function Documentation

static u16 getIdByteFromMem ( )
static
static u16 getIdByteFromMem_Diamond ( )
static
static u16 getIdByteFromOEMItem ( )
static
static u16 getIdByteFromRevItem ( )
static
int SMBIOSGetDellSystemId ( )

Return the Dell System ID Byte or Word.

The Dell System ID is a unique number allocated to each Dell System (server, desktop, workstation, or laptop) that uniquely identifies that system within Dell's product line.

Definition at line 202 of file IdByte.cpp.

References _, DellIdByteFunctions, DellIdByteFunctions::f_ptr, and SysInfoException.

Referenced by couldBeDiamond(), testPlatform::testIdByte(), and testPlatform::testSystemInfo().

Variable Documentation

Referenced by SMBIOSGetDellSystemId().