#include <SmiImpl.h>
Inheritance diagram for DellCallingInterfaceSmiImpl:
Public Member Functions | |
DellCallingInterfaceSmiImpl (SmiStrategy *) | |
virtual | ~DellCallingInterfaceSmiImpl () |
virtual void | execute () |
virtual void | setClass (u16 newClass) |
virtual void | setSelect (u16 newSelect) |
virtual void | setArg (u8 argNumber, u32 argValue) |
virtual u32 | getRes (u8 resNumber) const |
virtual void | setArgAsPhysicalAddress (u8 argNumber, u32 bufferOffset) |
virtual u8 * | getBufferPtr () |
virtual void | setBufferSize (size_t newSize) |
virtual void | setCommandIOMagic (u16 address, u8 code) |
Protected Attributes | |
calling_interface_command_buffer | smi_buf |
bool | argIsAddress [4] |
u32 | argAddressOffset [4] |
callintf_cmd | kernel_buf |
u8 * | buffer |
size_t | bufferSize |
std::auto_ptr< SmiStrategy > | smiStrategy |
Private Member Functions | |
DellCallingInterfaceSmiImpl () |
Definition at line 118 of file SmiImpl.h.
Definition at line 62 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::argAddressOffset, DellCallingInterfaceSmiImpl::argIsAddress, DELL_CALLINTF_SMI_MAGIC_NUMBER, DellCallingInterfaceSmiImpl::kernel_buf, KERNEL_SMI_MAGIC_NUMBER, and DellCallingInterfaceSmiImpl::smi_buf.
~DellCallingInterfaceSmiImpl | ( | ) | [virtual] |
Definition at line 83 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::buffer, and DellCallingInterfaceSmiImpl::bufferSize.
DellCallingInterfaceSmiImpl | ( | ) | [private] |
void execute | ( | ) | [virtual] |
Implements ISmi.
Definition at line 116 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::argAddressOffset, DellCallingInterfaceSmiImpl::argIsAddress, DellCallingInterfaceSmiImpl::buffer, DellCallingInterfaceSmiImpl::bufferSize, DellCallingInterfaceSmiImpl::kernel_buf, SIZEOF_KERNELBUF, DellCallingInterfaceSmiImpl::smi_buf, and DellCallingInterfaceSmiImpl::smiStrategy.
void setClass | ( | u16 | newClass | ) | [virtual] |
Implements IDellCallingInterfaceSmi.
Definition at line 167 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::smi_buf, and calling_interface_command_buffer::smiClass.
void setSelect | ( | u16 | newSelect | ) | [virtual] |
Implements IDellCallingInterfaceSmi.
Definition at line 172 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::smi_buf, and calling_interface_command_buffer::smiSelect.
Implements IDellCallingInterfaceSmi.
Definition at line 177 of file Smi.cpp.
References calling_interface_command_buffer::inputArgs, and DellCallingInterfaceSmiImpl::smi_buf.
Implements IDellCallingInterfaceSmi.
Definition at line 185 of file Smi.cpp.
References calling_interface_command_buffer::outputRes, and DellCallingInterfaceSmiImpl::smi_buf.
Implements IDellCallingInterfaceSmi.
Definition at line 157 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::argAddressOffset, and DellCallingInterfaceSmiImpl::argIsAddress.
u8 * getBufferPtr | ( | ) | [virtual] |
Implements ISmi.
Definition at line 99 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::buffer.
void setBufferSize | ( | size_t | newSize | ) | [virtual] |
Implements ISmi.
Definition at line 104 of file Smi.cpp.
References DellCallingInterfaceSmiImpl::buffer, and DellCallingInterfaceSmiImpl::bufferSize.
Implements ISmi.
Definition at line 93 of file Smi.cpp.
References callintf_cmd::command_address, callintf_cmd::command_code, and DellCallingInterfaceSmiImpl::kernel_buf.
struct calling_interface_command_buffer smi_buf [read, protected] |
Definition at line 135 of file SmiImpl.h.
Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), DellCallingInterfaceSmiImpl::getRes(), DellCallingInterfaceSmiImpl::setArg(), DellCallingInterfaceSmiImpl::setClass(), and DellCallingInterfaceSmiImpl::setSelect().
bool argIsAddress[4] [protected] |
Definition at line 136 of file SmiImpl.h.
Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), and DellCallingInterfaceSmiImpl::setArgAsPhysicalAddress().
u32 argAddressOffset[4] [protected] |
Definition at line 137 of file SmiImpl.h.
Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), and DellCallingInterfaceSmiImpl::setArgAsPhysicalAddress().
struct callintf_cmd kernel_buf [read, protected] |
Definition at line 138 of file SmiImpl.h.
Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), and DellCallingInterfaceSmiImpl::setCommandIOMagic().
Definition at line 139 of file SmiImpl.h.
Referenced by DellCallingInterfaceSmiImpl::execute(), DellCallingInterfaceSmiImpl::getBufferPtr(), DellCallingInterfaceSmiImpl::setBufferSize(), and DellCallingInterfaceSmiImpl::~DellCallingInterfaceSmiImpl().
size_t bufferSize [protected] |
Definition at line 140 of file SmiImpl.h.
Referenced by DellCallingInterfaceSmiImpl::execute(), DellCallingInterfaceSmiImpl::setBufferSize(), and DellCallingInterfaceSmiImpl::~DellCallingInterfaceSmiImpl().
std::auto_ptr<SmiStrategy> smiStrategy [protected] |