Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

DellCallingInterfaceSmiImpl Class Reference

#include <SmiImpl.h>

Inheritance diagram for DellCallingInterfaceSmiImpl:

IDellCallingInterfaceSmi ISmi List of all members.

Public Methods

 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 u8getBufferPtr ()
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
u8buffer
size_t bufferSize
std::auto_ptr< SmiStrategysmiStrategy

Private Methods

 DellCallingInterfaceSmiImpl ()

Constructor & Destructor Documentation

DellCallingInterfaceSmiImpl SmiStrategy  
 

Definition at line 62 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::argAddressOffset, DellCallingInterfaceSmiImpl::argIsAddress, calling_interface_command_buffer::cbRES1, callintf_cmd::command_address, callintf_cmd::command_code, DELL_CALLINTF_SMI_MAGIC_NUMBER, callintf_cmd::ebx, callintf_cmd::ecx, DellCallingInterfaceSmiImpl::kernel_buf, KERNEL_SMI_MAGIC_NUMBER, callintf_cmd::magic, and DellCallingInterfaceSmiImpl::smi_buf.

~DellCallingInterfaceSmiImpl   [virtual]
 

Definition at line 83 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::buffer, and DellCallingInterfaceSmiImpl::bufferSize.

DellCallingInterfaceSmiImpl   [private]
 


Member Function Documentation

void execute   [virtual]
 

Implements ISmi.

Definition at line 116 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::argAddressOffset, DellCallingInterfaceSmiImpl::argIsAddress, DellCallingInterfaceSmiImpl::buffer, DellCallingInterfaceSmiImpl::bufferSize, calling_interface_command_buffer::cbRES1, calling_interface_command_buffer::inputArgs, DellCallingInterfaceSmiImpl::kernel_buf, SIZEOF_KERNELBUF, DellCallingInterfaceSmiImpl::smi_buf, and DellCallingInterfaceSmiImpl::smiStrategy.

u8 * getBufferPtr   [virtual]
 

Implements ISmi.

Definition at line 99 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::buffer, and u8.

u32 getRes u8    resNumber const [virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 185 of file Smi.cpp.

References calling_interface_command_buffer::outputRes, DellCallingInterfaceSmiImpl::smi_buf, u32, and u8.

void setArg u8    argNumber,
u32    argValue
[virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 177 of file Smi.cpp.

References calling_interface_command_buffer::inputArgs, DellCallingInterfaceSmiImpl::smi_buf, u32, and u8.

void setArgAsPhysicalAddress u8    argNumber,
u32    bufferOffset
[virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 157 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::argAddressOffset, DellCallingInterfaceSmiImpl::argIsAddress, u32, and u8.

void setBufferSize size_t    newSize [virtual]
 

Implements ISmi.

Definition at line 104 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::buffer, DellCallingInterfaceSmiImpl::bufferSize, and u8.

void setClass u16    newClass [virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 167 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::smi_buf, calling_interface_command_buffer::smiClass, and u16.

void setCommandIOMagic u16    address,
u8    code
[virtual]
 

Implements ISmi.

Definition at line 93 of file Smi.cpp.

References callintf_cmd::command_address, callintf_cmd::command_code, DellCallingInterfaceSmiImpl::kernel_buf, u16, and u8.

void setSelect u16    newSelect [virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 172 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::smi_buf, calling_interface_command_buffer::smiSelect, and u16.


Member Data Documentation

u32 argAddressOffset[4] [protected]
 

Definition at line 137 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), and DellCallingInterfaceSmiImpl::setArgAsPhysicalAddress().

bool argIsAddress[4] [protected]
 

Definition at line 136 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), and DellCallingInterfaceSmiImpl::setArgAsPhysicalAddress().

u8* buffer [protected]
 

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().

struct callintf_cmd kernel_buf [protected]
 

Definition at line 138 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), and DellCallingInterfaceSmiImpl::setCommandIOMagic().

struct calling_interface_command_buffer smi_buf [protected]
 

Definition at line 135 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::DellCallingInterfaceSmiImpl(), DellCallingInterfaceSmiImpl::execute(), DellCallingInterfaceSmiImpl::getRes(), DellCallingInterfaceSmiImpl::setArg(), DellCallingInterfaceSmiImpl::setClass(), and DellCallingInterfaceSmiImpl::setSelect().

std::auto_ptr<SmiStrategy> smiStrategy [protected]
 

Definition at line 141 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::execute().


The documentation for this class was generated from the following files:
Generated on Tue Jul 3 18:35:16 2007 for SMBIOS Library by doxygen1.2.18