anonymous enum |
CHECK_TYPE_WORD_CHECKSUM | |
CHECK_TYPE_BYTE_CHECKSUM | |
CHECK_TYPE_WORD_CRC | |
CHECK_TYPE_WORD_CHECKSUM_N |
Definition at line 244 of file TokenImpl.h.
anonymous enum |
DellIndexedIoTokenType | |
DellProtectedAreaType1 | |
DellProtectedAreaType2 | |
DellCallingInterface |
Definition at line 35 of file TokenLowLevel.h.
anonymous enum |
anonymous enum |
pvFmtAlphaNumericScanCode | |
pvFmtAlphaNumericAscii | |
pvFmtAlphaNumericScanCodeNS | |
pvFmtAlphaNumericAsciiNS |
Definition at line 145 of file TokenLowLevel.h.
anonymous enum |
Definition at line 32 of file SmbiosDefs.h.
anonymous enum |
Definition at line 98 of file SmbiosWorkaroundImpl.h.
void smbios::activateToken | ( | int | tokenNum, | |
string | password | |||
) |
Definition at line 52 of file Token.cpp.
References TokenTableFactory::getFactory(), and TokenTableFactory::getSingleton().
void smbios::activateToken | ( | int | tokenNum, | |
std::string | password = "" | |||
) |
Referenced by smi::wirelessRadioControl(), and smi::wirelessSwitchControl().
static u8 byteChecksum | ( | const ICmosRW * | cmos, | |
u32 | start, | |||
u32 | end, | |||
u32 | indexPort, | |||
u32 | dataPort | |||
) | [static] |
Definition at line 226 of file checksum.cpp.
References ICmosRW::readByte().
Referenced by CmosRWChecksumObserver::update().
void smbios::checkItemBounds | ( | size_t | total_size, | |
size_t | length, | |||
size_t | offset, | |||
size_t | size | |||
) |
static bool smbios::compare | ( | int | size, | |
const ISmbiosItem * | item, | |||
int | offset, | |||
datatron | data | |||
) | [static] |
Definition at line 97 of file SmbiosWorkaround.cpp.
References datatron::data, and ISmbiosItem::getData().
Referenced by doFixupItem().
smbios::DECLARE_EXCEPTION | ( | TokenException | ) |
smbios::DECLARE_EXCEPTION | ( | SmbiosException | ) |
smbios::DECLARE_EXCEPTION | ( | PermissionException | ) |
Used in cases where operating system privleges prevent an action.
smbios::DECLARE_EXCEPTION | ( | InternalError | ) |
Used in cases where something that "cannot happen" happens. Raised in instances usually caused by some internal class state becoming corrupted.
smbios::DECLARE_EXCEPTION | ( | NotImplemented | ) |
Raised when some class does not implement part of the public interface Used mainly in classes where there are optional parts of the interface defined that require extra external functionality, such as XML, for example.
smbios::DECLARE_EXCEPTION_EX | ( | NeedAuthentication | , | |
smbios | , | |||
TokenException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | InvalidChecksum | , | |
smbios | , | |||
TokenException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ParameterError | , | |
smbios | , | |||
TokenException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | DerefNullPointer | , | |
smbios | , | |||
TokenException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | InvalidAccessMode | , | |
smbios | , | |||
TokenException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | InvalidTokenTableMode | , | |
smbios | , | |||
TokenException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ItemNotFound | , | |
smbios | , | |||
SmbiosException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | DataOutOfBounds | , | |
smbios | , | |||
SmbiosException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | StringUnavailable | , | |
smbios | , | |||
SmbiosException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ParseException | , | |
smbios | , | |||
SmbiosException | ||||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ParameterException | , | |
smbios | , | |||
SmbiosException | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | NeedAuthenticationImpl | , | |
smbios | , | |||
NeedAuthentication | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | InvalidChecksumImpl | , | |
smbios | , | |||
InvalidChecksum | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | ParameterErrorImpl | , | |
smbios | , | |||
ParameterError | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | DerefNullPointerImpl | , | |
smbios | , | |||
DerefNullPointer | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | InvalidAccessModeImpl | , | |
smbios | , | |||
InvalidAccessMode | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | InvalidTokenTableModeImpl | , | |
smbios | , | |||
InvalidTokenTableMode | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | ItemNotFoundImpl | , | |
smbios | , | |||
ItemNotFound | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | DataOutOfBoundsImpl | , | |
smbios | , | |||
DataOutOfBounds | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | StringUnavailableImpl | , | |
smbios | , | |||
StringUnavailable | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | ParseExceptionImpl | , | |
smbios | , | |||
ParseException | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | ParameterExceptionImpl | , | |
smbios | , | |||
ParameterException | ||||
) |
smbios::DEFINE_EXCEPTION_EX | ( | PermissionExceptionImpl | , | |
smbios | , | |||
PermissionException | ||||
) |
Used in cases where operating system privleges prevent an action.
smbios::DEFINE_EXCEPTION_EX | ( | InternalErrorImpl | , | |
smbios | , | |||
InternalError | ||||
) |
Used in cases where something that "cannot happen" happens. Raised in instances usually caused by some internal class state becoming corrupted.
smbios::DEFINE_EXCEPTION_EX | ( | NotImplementedImpl | , | |
smbios | , | |||
NotImplemented | ||||
) |
Raised when some class does not implement part of the public interface Used mainly in classes where there are optional parts of the interface defined that require extra external functionality, such as XML, for example.
static void smbios::doFixupItem | ( | const Workaround * | wa, | |
const ISmbiosItem * | item, | |||
u8 * | buf, | |||
size_t | bufSize | |||
) | [static] |
Definition at line 137 of file SmbiosWorkaround.cpp.
References compare(), WorkaroundSmbiosItem::data, WorkaroundSmbiosItem::fieldDataType, WorkaroundSmbiosItem::fieldOffset, fixupData(), Workaround::fixups, Workaround::symptoms, and WorkaroundSmbiosItem::type.
Referenced by SmbiosWorkaroundTable::fixupItem().
static void smbios::executeWithPassword | ( | smi::IDellCallingInterfaceSmi * | ci, | |
u8 | arg, | |||
string | password | |||
) | [static] |
Definition at line 107 of file TokenDA.cpp.
References IDellCallingInterfaceSmi::execute(), smi::getAuthenticationKey(), and IDellCallingInterfaceSmi::setArg().
Referenced by SmiTokenDA::setString().
static void smbios::fixupData | ( | u8 * | buf, | |
size_t | size, | |||
unsigned int | offset, | |||
unsigned int | len, | |||
datatron | data | |||
) | [static] |
Definition at line 121 of file SmbiosWorkaround.cpp.
References _, and datatron::data.
Referenced by doFixupItem().
static u32 smbios::force_u64_to_u32 | ( | u64 | orig | ) | [static] |
void * getBits_FromItem | ( | const ISmbiosItem & | item, | |
unsigned int | offset, | |||
void * | out, | |||
unsigned int | lsb = 0 , |
|||
unsigned int | msb = 0 | |||
) |
R& smbios::getData | ( | const ISmbiosItem & | item, | |
unsigned int | offset, | |||
R & | out | |||
) |
Definition at line 340 of file ISmbios.h.
References ISmbiosItem::getData().
Referenced by getString_FromItem().
u16 getItemHandle | ( | const ISmbiosItem & | item | ) |
Definition at line 311 of file SmbiosItem.cpp.
References getU16_FromItem().
Referenced by testStandalone::testTable_Subscript().
u8 getItemLength | ( | const ISmbiosItem & | item | ) |
Definition at line 306 of file SmbiosItem.cpp.
References getU8_FromItem().
Referenced by testStandalone::testTable_Subscript().
u8 getItemType | ( | const ISmbiosItem & | item | ) |
Definition at line 301 of file SmbiosItem.cpp.
References getU8_FromItem().
Referenced by testStandalone::testTable_Subscript().
const char * getString_FromItem | ( | const ISmbiosItem & | item, | |
unsigned int | offset | |||
) |
Definition at line 344 of file SmbiosItem.cpp.
References getData(), and ISmbiosItem::getStringByStringNumber().
Referenced by getStringFromTable(), SmbiosWorkaroundFactory::makeNew(), and testPlatform::testVariousAccessors().
u16 getU16_FromItem | ( | const ISmbiosItem & | item, | |
unsigned int | offset | |||
) |
Definition at line 323 of file SmbiosItem.cpp.
References ISmbiosItem::getData().
Referenced by getIdByteFromRevItem(), getItemHandle(), SmiFactoryImpl::makeNew(), SmbiosWorkaroundFactory::makeNew(), testStandalone::testEachItemAccessors(), testStandalone::testGetBoundaries(), and testStandalone::testNonXml().
u32 getU32_FromItem | ( | const ISmbiosItem & | item, | |
unsigned int | offset | |||
) |
Definition at line 330 of file SmbiosItem.cpp.
References ISmbiosItem::getData().
Referenced by testStandalone::testGetBoundaries().
u64 getU64_FromItem | ( | const ISmbiosItem & | item, | |
unsigned int | offset | |||
) |
Definition at line 337 of file SmbiosItem.cpp.
References ISmbiosItem::getData().
Referenced by testStandalone::testGetBoundaries().
u8 getU8_FromItem | ( | const ISmbiosItem & | item, | |
unsigned int | offset | |||
) |
Definition at line 316 of file SmbiosItem.cpp.
References ISmbiosItem::getData().
Referenced by getIdByteFromRevItem(), getItemLength(), getItemType(), rbu::getSupportedPacketType(), isBitSet(), SmiFactoryImpl::makeNew(), SmbiosWorkaroundFactory::makeNew(), testStandalone::testEachItemAccessors(), testStandalone::testGetBoundaries(), and testStandalone::testNonXml().
bool isBitSet | ( | const ISmbiosItem * | itemPtr, | |
unsigned int | offset, | |||
unsigned int | bitToTest | |||
) |
Definition at line 384 of file SmbiosItem.cpp.
References getU8_FromItem().
Referenced by testStandalone::testSmbiosXml().
bool isTokenActive | ( | int | tokenNum | ) |
Definition at line 65 of file Token.cpp.
References TokenTableFactory::getFactory(), and TokenTableFactory::getSingleton().
Referenced by smi::wirelessRadioControl().
int smbios::LoadNtdllFuncs | ( | void | ) |
Definition at line 55 of file SmbiosStrategy_Windows.cpp.
References GetSystemFirmwareTable.
Referenced by SmbiosWinGetFirmwareTableStrategy::getSmbiosTable().
ostream& smbios::operator<< | ( | ostream & | cout, | |
const ISmbiosTable & | table | |||
) |
ostream& smbios::operator<< | ( | ostream & | cout, | |
const ISmbiosItem & | item | |||
) |
std::ostream & operator<< | ( | std::ostream & | cout, | |
const IToken & | item | |||
) |
std::ostream & operator<< | ( | std::ostream & | cout, | |
const ITokenTable & | item | |||
) |
std::ostream& smbios::operator<< | ( | std::ostream & | cout, | |
const ISmbiosItem & | item | |||
) |
std::ostream& smbios::operator<< | ( | std::ostream & | cout, | |
const ISmbiosTable & | item | |||
) |
bool smbios::validateDMITableEntryPoint | ( | const smbiosLowlevel::dmi_table_entry_point * | tempTEP, | |
bool | strict, | |||
ParseExceptionImpl & | parseException | |||
) |
Definition at line 47 of file SmbiosStrategy.cpp.
Referenced by SmbiosMemoryStrategy::getSmbiosTableHeader(), and validateSmbiosTableEntryPoint().
bool smbios::validateSmbiosTableEntryPoint | ( | const smbiosLowlevel::smbios_table_entry_point * | tempTEP, | |
bool | strict, | |||
ParseExceptionImpl & | parseException | |||
) |
Definition at line 95 of file SmbiosStrategy.cpp.
References _, DCERR, smbios_table_entry_point::dmi, smbios_table_entry_point::eps_length, smbios_table_entry_point::major_ver, and validateDMITableEntryPoint().
Referenced by SmbiosMemoryStrategy::getSmbiosTableHeader().
static u16 wordChecksum | ( | const ICmosRW * | cmos, | |
u32 | start, | |||
u32 | end, | |||
u32 | indexPort, | |||
u32 | dataPort, | |||
bool | complement | |||
) | [static] |
Definition at line 242 of file checksum.cpp.
References ICmosRW::readByte().
Referenced by CmosRWChecksumObserver::update().
static u16 wordCrc | ( | const ICmosRW * | cmos, | |
u32 | start, | |||
u32 | end, | |||
u32 | indexPort, | |||
u32 | dataPort | |||
) | [static] |
Definition at line 260 of file checksum.cpp.
References ICmosRW::readByte().
Referenced by CmosRWChecksumObserver::update().
GetSystemFirmwareTablePtr GetSystemFirmwareTable = 0 |
Definition at line 53 of file SmbiosStrategy_Windows.cpp.
Referenced by memory::enumSystemFirmwareTables(), SmbiosWinGetFirmwareTableStrategy::getSmbiosTable(), LoadNtdllFuncs(), and memory::LoadNtdllFuncs().
const SystemAffected IDS4235 = { 0x8012, "A--", "A--" } |
Definition at line 83 of file StdWorkarounds.h.
const Workaround* IDS4235_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 97 of file StdWorkarounds.h.
const Workaround InvalidCheckType |
Initial value:
{ "Invalid Checksum Type", InvalidCheckTypeSymptoms, InvalidCheckTypeFixup }
Definition at line 70 of file StdWorkarounds.h.
Initial value:
{ { 0xD4, 0x08, TYPE_U8, {{0x00}} }, { 0, 0, 0, {{0}} }, }
Definition at line 55 of file StdWorkarounds.h.
Initial value:
{ { 0xD4, 0x08, TYPE_U8 , { {0x03, 0} } }, { 0xD4, 0x02, TYPE_U16, { {0x02, 0xd4, 0} } }, { 0, 0, 0, { {0} } }, }
Definition at line 30 of file StdWorkarounds.h.
const int numSystemWorkarounds = (sizeof(workaroundMasterList) / sizeof(workaroundMasterList[0])) |
const SystemAffected PE0600 = { 0x0134, "A00", "A05" } |
Definition at line 78 of file StdWorkarounds.h.
const Workaround* PE0600_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 92 of file StdWorkarounds.h.
const SystemAffected PE0650 = { 0x0141, "A00", "A00" } |
Definition at line 79 of file StdWorkarounds.h.
const Workaround* PE0650_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 93 of file StdWorkarounds.h.
const SystemAffected PE1300 = { 0x8E, "A00", "A--" } |
Definition at line 80 of file StdWorkarounds.h.
Initial value:
{ "PE1300 Invalid Checksum Type", InvalidCheckTypeSymptoms, PE1300_InvalidCheckTypeFixup }
Definition at line 73 of file StdWorkarounds.h.
Initial value:
{ { 0xD4, 0x08, TYPE_U8, {{0x01}} }, { 0, 0, 0, {{0}} }, }
Definition at line 63 of file StdWorkarounds.h.
const Workaround* PE1300_Workarounds[] = { &PE1300_InvalidCheckType, 0 } |
Definition at line 94 of file StdWorkarounds.h.
const SystemAffected PE1600 = { 0x0135, "A00", "A00" } |
Definition at line 81 of file StdWorkarounds.h.
const Workaround* PE1600_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 95 of file StdWorkarounds.h.
const SystemAffected PE1650 = { 0x011B, "A00", "A09" } |
Definition at line 82 of file StdWorkarounds.h.
const Workaround* PE1650_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 96 of file StdWorkarounds.h.
const SystemAffected PE1655 = { 0x0124, "A00", "A00" } |
Definition at line 84 of file StdWorkarounds.h.
const Workaround* PE1655_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 98 of file StdWorkarounds.h.
const SystemAffected PE1750 = { 0x014a, "A00", "A00" } |
Definition at line 85 of file StdWorkarounds.h.
const Workaround* PE1750_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 99 of file StdWorkarounds.h.
const SystemAffected PE2600 = { 0x0123, "A00", "A03" } |
Definition at line 86 of file StdWorkarounds.h.
const Workaround* PE2600_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 100 of file StdWorkarounds.h.
const SystemAffected PE2650 = { 0x0121, "A00", "A10" } |
Definition at line 87 of file StdWorkarounds.h.
const Workaround* PE2650_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 101 of file StdWorkarounds.h.
const SystemAffected PE4600 = { 0x0106, "A00", "A08" } |
Definition at line 88 of file StdWorkarounds.h.
const Workaround* PE4600_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 102 of file StdWorkarounds.h.
const SystemAffected PE6600 = { 0x0109, "A00", "A08" } |
Definition at line 89 of file StdWorkarounds.h.
const Workaround* PE6600_Workarounds[] = { &InvalidCheckType, 0 } |
Definition at line 103 of file StdWorkarounds.h.
const SystemWorkaround workaroundMasterList[] |
Initial value:
{ { &PE0600, PE0600_Workarounds }, { &PE0650, PE0650_Workarounds }, { &PE1300, PE1300_Workarounds }, { &PE1600, PE1600_Workarounds }, { &PE1650, PE1650_Workarounds }, { &IDS4235, IDS4235_Workarounds }, { &PE1655, PE1655_Workarounds }, { &PE1750, PE1750_Workarounds }, { &PE2600, PE2600_Workarounds }, { &PE2650, PE2650_Workarounds }, { &PE4600, PE4600_Workarounds }, { &PE6600, PE6600_Workarounds }, }
Definition at line 107 of file StdWorkarounds.h.
Referenced by SmbiosWorkaroundFactory::makeNew().