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

SmbiosMemoryStrategy Class Reference

#include <SmbiosImpl.h>

Inheritance diagram for SmbiosMemoryStrategy:

SmbiosStrategy SmbiosLinuxEFIStrategy List of all members.

Public Member Functions

virtual ~SmbiosMemoryStrategy () throw ()
 SmbiosMemoryStrategy (unsigned long initOffset)
 SmbiosMemoryStrategy (const SmbiosMemoryStrategy &src)
virtual bool getSmbiosTable (const u8 **, smbiosLowlevel::smbios_table_entry_point *, bool)

Protected Types

enum  { E_BLOCK_START = 0xE0000UL, F_BLOCK_START = 0xF0000UL, F_BLOCK_END = 0xFFFFFUL }

Protected Member Functions

virtual void getSmbiosTableHeader (smbiosLowlevel::smbios_table_entry_point *, bool)
virtual void getSmbiosTableBuf (const u8 **, smbiosLowlevel::smbios_table_entry_point)

Protected Attributes

unsigned long offset

Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
E_BLOCK_START 
F_BLOCK_START 
F_BLOCK_END 

Definition at line 69 of file SmbiosImpl.h.


Constructor & Destructor Documentation

virtual ~SmbiosMemoryStrategy  )  throw () [inline, virtual]
 

Definition at line 63 of file SmbiosImpl.h.

SmbiosMemoryStrategy unsigned long  initOffset  )  [inline]
 

Definition at line 64 of file SmbiosImpl.h.

References SmbiosMemoryStrategy::offset.

SmbiosMemoryStrategy const SmbiosMemoryStrategy src  )  [inline]
 

Definition at line 65 of file SmbiosImpl.h.

References SmbiosMemoryStrategy::offset.


Member Function Documentation

bool getSmbiosTable const u8 **  ,
smbiosLowlevel::smbios_table_entry_point ,
bool 
[virtual]
 

Implements SmbiosStrategy.

Definition at line 121 of file SmbiosStrategy.cpp.

References DCERR, SmbiosMemoryStrategy::getSmbiosTableBuf(), SmbiosMemoryStrategy::getSmbiosTableHeader(), u8, and UNREFERENCED_PARAMETER.

void getSmbiosTableBuf const u8 **  ,
smbiosLowlevel::smbios_table_entry_point 
[protected, virtual]
 

Definition at line 145 of file SmbiosStrategy.cpp.

References IMemory::fillBuffer(), MemoryFactory::getFactory(), smbios_table_entry_point::table_address, smbios_table_entry_point::table_length, and u8.

Referenced by SmbiosMemoryStrategy::getSmbiosTable().

void getSmbiosTableHeader smbiosLowlevel::smbios_table_entry_point ,
bool 
[protected, virtual]
 

Reimplemented in SmbiosLinuxEFIStrategy.

Definition at line 175 of file SmbiosStrategy.cpp.

References _, DCERR, SmbiosMemoryStrategy::E_BLOCK_START, SmbiosMemoryStrategy::F_BLOCK_END, IMemory::fillBuffer(), MemoryFactory::getFactory(), SmbiosMemoryStrategy::offset, and smbios::validateTableEntryPoint().

Referenced by SmbiosMemoryStrategy::getSmbiosTable().


Member Data Documentation

unsigned long offset [protected]
 

Definition at line 77 of file SmbiosImpl.h.

Referenced by SmbiosMemoryStrategy::getSmbiosTableHeader(), and SmbiosMemoryStrategy::SmbiosMemoryStrategy().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:12 2007 for SMBIOS Library by doxygen 1.3.5