DellCallingInterfaceSmiImpl Class Reference

#include <SmiImpl.h>

Inheritance diagram for DellCallingInterfaceSmiImpl:

IDellCallingInterfaceSmi List of all members.

Public Member Functions

 DellCallingInterfaceSmiImpl (SmiStrategy *, u16 address, u8 code)
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 const u8getBufferPtr ()
virtual void setBufferSize (size_t newSize)
virtual void setBufferContents (const u8 *, size_t size)

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


Constructor & Destructor Documentation

DellCallingInterfaceSmiImpl ( SmiStrategy ,
u16  address,
u8  code 
)

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

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

DellCallingInterfaceSmiImpl (  )  [private]


Member Function Documentation

void execute (  )  [virtual]

Implements IDellCallingInterfaceSmi.

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

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

void setSelect ( u16  newSelect  )  [virtual]

Implements IDellCallingInterfaceSmi.

Definition at line 168 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 173 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 181 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 153 of file Smi.cpp.

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

const u8 * getBufferPtr (  )  [virtual]

Implements IDellCallingInterfaceSmi.

Definition at line 88 of file Smi.cpp.

References DellCallingInterfaceSmiImpl::buffer.

void setBufferSize ( size_t  newSize  )  [virtual]

Implements IDellCallingInterfaceSmi.

Definition at line 93 of file Smi.cpp.

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

void setBufferContents ( const u8 ,
size_t  size 
) [virtual]

Implements IDellCallingInterfaceSmi.

Definition at line 105 of file Smi.cpp.

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


Member Data Documentation

struct calling_interface_command_buffer smi_buf [protected]

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

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

u32 argAddressOffset[4] [protected]

Definition at line 141 of file SmiImpl.h.

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

struct callintf_cmd kernel_buf [protected]

Definition at line 142 of file SmiImpl.h.

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

u8* buffer [protected]

Definition at line 143 of file SmiImpl.h.

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

size_t bufferSize [protected]

Definition at line 144 of file SmiImpl.h.

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

std::auto_ptr<SmiStrategy> smiStrategy [protected]

Definition at line 145 of file SmiImpl.h.

Referenced by DellCallingInterfaceSmiImpl::execute().


The documentation for this class was generated from the following files:
Generated on Wed Apr 2 16:37:33 2008 for SMBIOS Library by  doxygen 1.5.1