DellCallingInterfaceSmiImpl Class Reference

#include <SmiImpl.h>

Inheritance diagram for DellCallingInterfaceSmiImpl:

IDellCallingInterfaceSmi ISmi List of all members.

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 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 Member Functions

 DellCallingInterfaceSmiImpl ()

Detailed Description

Definition at line 116 of file SmiImpl.h.


Constructor & Destructor Documentation

DellCallingInterfaceSmiImpl SmiStrategy  ) 
 

Definition at line 60 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 81 of file Smi.cpp.

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

DellCallingInterfaceSmiImpl  )  [private]
 


Member Function Documentation

void execute  )  [virtual]
 

Implements ISmi.

Definition at line 114 of file Smi.cpp.

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

u8 * getBufferPtr  )  [virtual]
 

Implements ISmi.

Definition at line 97 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::buffer.

u32 getRes u8  resNumber  )  const [virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 177 of file Smi.cpp.

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

void setArg u8  argNumber,
u32  argValue
[virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 169 of file Smi.cpp.

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

void setArgAsPhysicalAddress u8  argNumber,
u32  bufferOffset
[virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 149 of file Smi.cpp.

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

void setBufferSize size_t  newSize  )  [virtual]
 

Implements ISmi.

Definition at line 102 of file Smi.cpp.

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

void setClass u16  newClass  )  [virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 159 of file Smi.cpp.

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

void setCommandIOMagic u16  address,
u8  code
[virtual]
 

Implements ISmi.

Definition at line 91 of file Smi.cpp.

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

void setSelect u16  newSelect  )  [virtual]
 

Implements IDellCallingInterfaceSmi.

Definition at line 164 of file Smi.cpp.

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


Member Data Documentation

u32 argAddressOffset[4] [protected]
 

Definition at line 135 of file SmiImpl.h.

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

bool argIsAddress[4] [protected]
 

Definition at line 134 of file SmiImpl.h.

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

u8* buffer [protected]
 

Definition at line 137 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::execute(), DellCallingInterfaceSmiImpl::getBufferPtr(), DellCallingInterfaceSmiImpl::setBufferSize(), and DellCallingInterfaceSmiImpl::~DellCallingInterfaceSmiImpl().

size_t bufferSize [protected]
 

Definition at line 138 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::execute(), DellCallingInterfaceSmiImpl::setBufferSize(), and DellCallingInterfaceSmiImpl::~DellCallingInterfaceSmiImpl().

struct callintf_cmd kernel_buf [protected]
 

Definition at line 136 of file SmiImpl.h.

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

struct calling_interface_command_buffer smi_buf [protected]
 

Definition at line 133 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 139 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::execute().


The documentation for this class was generated from the following files:
Generated on Tue Jan 17 02:59:09 2006 for SMBIOS Library by  doxygen 1.4.6