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

SmbiosWorkaround.cpp File Reference

#include "SmbiosWorkaroundImpl.h"
#include "smbios/SmbiosDefs.h"
#include "SmbiosImpl.h"
#include "StdWorkarounds.h"
#include "smbios/message.h"

Go to the source code of this file.

Namespaces

namespace  smbios

Defines

#define LIBSMBIOS_SOURCE
#define _X(expr)   do{ try { expr } catch( const std::exception & ){} }while(0)

Functions

bool compare (int size, const ISmbiosItem *item, int offset, datatron data)
void fixupData (u8 *buf, size_t size, unsigned int offset, unsigned int len, datatron data)
void doFixupItem (const Workaround *wa, const ISmbiosItem *item, u8 *buf, size_t bufSize)


Define Documentation

#define _X expr   )     do{ try { expr } catch( const std::exception & ){} }while(0)
 

Definition at line 32 of file SmbiosWorkaround.cpp.

Referenced by SmbiosWorkaroundFactory::makeNew().

#define LIBSMBIOS_SOURCE
 

Definition at line 19 of file SmbiosWorkaround.cpp.


Function Documentation

bool compare int  size,
const ISmbiosItem *  item,
int  offset,
datatron  data
[static]
 

Definition at line 93 of file SmbiosWorkaround.cpp.

References datatron::data, ISmbiosItem::getData(), and u8.

Referenced by smbios::doFixupItem().

void doFixupItem const Workaround *  wa,
const ISmbiosItem *  item,
u8 buf,
size_t  bufSize
[static]
 

Definition at line 133 of file SmbiosWorkaround.cpp.

References smbios::compare(), WorkaroundSmbiosItem::data, WorkaroundSmbiosItem::fieldDataType, WorkaroundSmbiosItem::fieldOffset, smbios::fixupData(), Workaround::fixups, Workaround::symptoms, and WorkaroundSmbiosItem::type.

Referenced by SmbiosWorkaroundTable::fixupItem().

void fixupData u8 buf,
size_t  size,
unsigned int  offset,
unsigned int  len,
datatron  data
[static]
 

Definition at line 117 of file SmbiosWorkaround.cpp.

References _, and datatron::data.

Referenced by smbios::doFixupItem().


Generated on Thu Jun 21 02:49:21 2007 for SMBIOS Library by  doxygen 1.3.9.1