Smi.cpp File Reference

#include "smbios/compat.h"
#include "SmiImpl.h"
#include "smbios/ISmbios.h"
#include "smbios/IToken.h"
#include "../token/TokenLowLevel.h"

Go to the source code of this file.

Namespaces

namespace  smi

Defines

#define LIBSMBIOS_SOURCE
#define DCOUT(line)   do {} while(0)
#define DCERR(line)   do {} while(0)
#define SIZEOF_KERNELBUF   (sizeof(kernel_buf) - sizeof(kernel_buf.command_buffer_start))

Functions

std::auto_ptr< smi::IDellCallingInterfaceSmismi::setupCallingInterfaceSmi (u16 smiClass, u16 select, const u32 args[4])
void smi::doSimpleCallingInterfaceSmi (u16 smiClass, u16 select, const u32 args[4], u32 res[4])
static bool smi::getPasswordPropertiesII (u16 which, u8 &maxLen, u8 &minLen, u8 &props)
static u32 smi::getAuthenticationKeyII (const string &password)
u32 smi::getAuthenticationKey (const string &password)
password_format_enum smi::getPasswordFormat ()
static u32 smi::readSetting (u16 select, u32 location, u32 *minValue, u32 *maxValue)
u32 smi::readNVStorage (u32 location, u32 *minValue, u32 *maxValue)
u32 smi::readBatteryModeSetting (u32 location, u32 *minValue, u32 *maxValue)
u32 smi::readACModeSetting (u32 location, u32 *minValue, u32 *maxValue)
u32 smi::readSystemStatus (u32 *failingSensorHandle)
static u32 smi::writeSetting (const std::string &password, u16 select, u32 location, u32 newValue, u32 *minValue, u32 *maxValue)
u32 smi::writeNVStorage (const std::string &password, u32 location, u32 value, u32 *minValue, u32 *maxValue)
u32 smi::writeBatteryModeSetting (const std::string &password, u32 location, u32 value, u32 *minValue, u32 *maxValue)
u32 smi::writeACModeSetting (const std::string &password, u32 location, u32 value, u32 *minValue, u32 *maxValue)
void smi::getDisplayType (u32 &type, u32 &resolution, u32 &memSizeX256kb)
void smi::getPanelResolution (u32 &horiz, u32 &vert)
void smi::getActiveDisplays (u32 &bits)
void smi::setActiveDisplays (u32 &bits)
void smi::getPropertyOwnershipTag (char *tagBuf, size_t size)
void smi::setPropertyOwnershipTag (const string password, const char *newTag, size_t size)


Define Documentation

#define DCERR ( line   )     do {} while(0)

Definition at line 37 of file Smi.cpp.

#define DCOUT ( line   )     do {} while(0)

Definition at line 36 of file Smi.cpp.

#define LIBSMBIOS_SOURCE

Definition at line 20 of file Smi.cpp.

#define SIZEOF_KERNELBUF   (sizeof(kernel_buf) - sizeof(kernel_buf.command_buffer_start))

Definition at line 41 of file Smi.cpp.

Referenced by DellCallingInterfaceSmiImpl::execute().


Generated on Tue Jul 11 20:46:47 2006 for SMBIOS Library by  doxygen 1.4.7