Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class 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.

Classes

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(), SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), ISmbiosTable::iterator, smbios::OEM_Strings, and u16.

u16 getIdByteFromRevItem  )  [static]
 

Definition at line 151 of file IdByte.cpp.

References smbios::Dell_Revisions_and_IDs, SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), smbios::getU16_FromItem(), smbios::getU8_FromItem(), 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 SysInfoException.

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.

Referenced by SMBIOSGetAssetTag(), SMBIOSGetBiosVersion(), SMBIOSGetDellSystemId(), SMBIOSGetNvramStateBytes(), SMBIOSGetServiceTag(), SMBIOSGetSysInfoErrorString(), SMBIOSGetSystemName(), SMBIOSGetVendorName(), SMBIOSHasNvramStateBytes(), SMBIOSIsDellSystem(), SMBIOSSetAssetTag(), SMBIOSSetNvramStateBytes(), SMBIOSSetServiceTag(), and upBootHelper().


Generated on Wed Apr 11 16:25:10 2007 for SMBIOS Library by doxygen 1.3.5