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

SmbiosWorkaround.cpp File Reference

#include "smbios/compat.h"
#include <string.h>
#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 36 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 97 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 137 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 121 of file SmbiosWorkaround.cpp.

References _, and datatron::data.

Referenced by smbios::doFixupItem().


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