#include "smbios/compat.h"
#include "SmiImpl.h"
#include "smbios/ISmbios.h"
#include "smbios/IToken.h"
#include "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::IDellCallingInterfaceSmi > | smi::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) |
void | smi::wirelessRadioControl (bool enable, bool boot, bool runtime, int enable_token, int disable_token, int radioNum, std::string password) |
static void | smi::switchControl (u32 whichConfig, u32 whichSwitch, bool enable) |
void | smi::wirelessSwitchControl (bool enable, bool boot, bool runtime, int enable_token, int disable_token, int switchNum, std::string password) |
radioStatusCode | smi::wirelessRadioStatus (radioNum which, std::ostream &cout=std::cout, u32 defRes2=0) |
Variables | |
const int | smi::Bluetooth_Devices_Disable = 0x0153 |
const int | smi::Bluetooth_Devices_Enable = 0x0152 |
const int | smi::Cellular_Radio_Disable = 0x017B |
const int | smi::Cellular_Radio_Enable = 0x017C |
const int | smi::WiFi_Locator_Disable = 0x017D |
const int | smi::WiFi_Locator_Enable = 0x017E |
const int | smi::Wireless_LAN_Disable = 0x017F |
const int | smi::Wireless_LAN_Enable = 0x0180 |
const int | smi::Wireless_Switch_Bluetooth_Control_Disable = 0x0181 |
const int | smi::Wireless_Switch_Bluetooth_Control_Enable = 0x0182 |
const int | smi::Wireless_Switch_Cellular_Control_Disable = 0x0183 |
const int | smi::Wireless_Switch_Cellular_Control_Enable = 0x0184 |
const int | smi::Wireless_Switch_Wireless_LAN_Control_Disable = 0x0185 |
const int | smi::Wireless_Switch_Wireless_LAN_Control_Enable = 0x0186 |
const int | smi::Radio_Transmission_Enable = 0x010c |
const int | smi::Radio_Transmission_Disable = 0x010d |
const int | smi::Wireless_Device_Disable = 0x0114 |
const int | smi::Wireless_Device_App_Control = 0x0115 |
const int | smi::Wireless_Device_App_Or_Hotkey_Control = 0x0116 |
#define SIZEOF_KERNELBUF (sizeof(kernel_buf) - sizeof(kernel_buf.command_buffer_start)) |