Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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"

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

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

u16 getIdByteFromMem_Diamond  )  [static]
 

Definition at line 98 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 123 of file IdByte.cpp.

References ISmbiosTable::const_iterator, couldBeBayonet(), ISmbiosTable::end(), SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), and u16.

u16 getIdByteFromRevItem  )  [static]
 

Definition at line 155 of file IdByte.cpp.

References ISmbiosTable::const_iterator, ISmbiosTable::end(), SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), smbios::getU16_FromItem(), smbios::getU8_FromItem(), 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 202 of file IdByte.cpp.

References _, Exception::setMessageString(), and SysInfoException.

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


Variable Documentation

struct DellIdByteFunctions DellIdByteFunctions[]
 

smbios::Exception<smbios::IException> SysInfoException
 

Definition at line 23 of file SysInfoError.cpp.

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


Generated on Tue Feb 26 14:39:01 2008 for SMBIOS Library by  doxygen 1.3.9.1