Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IdByte.cpp File Reference

#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"

Go to the source code of this file.

Compounds

struct  DellIdByteFunctions

Defines

#define LIBSMBIOS_SOURCE

Functions

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


Variables

smbios::Exception< smbios::IExceptionSysInfoException
DellIdByteFunctions DellIdByteFunctions []


Define Documentation

#define LIBSMBIOS_SOURCE
 

Definition at line 19 of file IdByte.cpp.


Function Documentation

u16 getIdByteFromMem   [static]
 

Definition at line 45 of file IdByte.cpp.

References DELL_SYSTEM_STRING, DELL_SYSTEM_STRING_LEN, DELL_SYSTEM_STRING_LOC, IMemory::fillBuffer(), MemoryFactory::getFactory(), TWO_BYTE_STRUCT_LOC, u16, and u8.

u16 getIdByteFromMem_Diamond   [static]
 

Definition at line 94 of file IdByte.cpp.

References DELL_SYSTEM_STRING, DELL_SYSTEM_STRING_LEN, DELL_SYSTEM_STRING_LOC_DIAMOND_1, DELL_SYSTEM_STRING_LOC_DIAMOND_2, IMemory::fillBuffer(), IMemory::getByte(), MemoryFactory::getFactory(), ID_BYTE_LOC_DIAMOND_1, ID_BYTE_LOC_DIAMOND_2, SYSTEM_ID_DIAMOND, u16, and u8.

u16 getIdByteFromOEMItem   [static]
 

Definition at line 119 of file IdByte.cpp.

References couldBeBayonet(), ISmbiosTable::end(), SmbiosFactory::getFactory(), ISmbiosTable::iterator, smbios::OEM_Strings, and u16.

u16 getIdByteFromRevItem   [static]
 

Definition at line 151 of file IdByte.cpp.

References smbios::Dell_Revisions_and_IDs, ISmbiosTable::end(), SmbiosFactory::getFactory(), ISmbiosTable::iterator, and u16.

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 198 of file IdByte.cpp.

References _, and Exception::setMessageString().

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


Variable Documentation

struct DellIdByteFunctions DellIdByteFunctions[]
 

smbios::Exception<smbios::IException> SysInfoException
 

Definition at line 38 of file IdByte.cpp.


Generated on Tue Jul 3 18:35:13 2007 for SMBIOS Library by doxygen1.2.18