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 118 of file SmiImpl.h.


Constructor & Destructor Documentation

DellCallingInterfaceSmiImpl ( SmiStrategy  ) 

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]


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, 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.

void setArg ( u8  argNumber,
u32  argValue 
) [virtual]

Implements IDellCallingInterfaceSmi.

Definition at line 177 of file Smi.cpp.

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

u32 getRes ( u8  resNumber  )  const [virtual]

Implements IDellCallingInterfaceSmi.

Definition at line 185 of file Smi.cpp.

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

void setArgAsPhysicalAddress ( u8  argNumber,
u32  bufferOffset 
) [virtual]

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.

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, and DellCallingInterfaceSmiImpl::kernel_buf.


Member Data Documentation

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

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

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 Sat Apr 21 11:36:11 2007 for SMBIOS Library by  doxygen 1.5.2