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

Detailed Description

Definition at line 60 of file SmbiosImpl.h.


Member Enumeration Documentation

anonymous enum [protected]

Enumerator:
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.

SmbiosMemoryStrategy ( const SmbiosMemoryStrategy src  )  [inline]

Definition at line 65 of file SmbiosImpl.h.


Member Function Documentation

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

Implements SmbiosStrategy.

Definition at line 175 of file SmbiosStrategy.cpp.

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

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

Reimplemented in SmbiosLinuxEFIStrategy.

Definition at line 229 of file SmbiosStrategy.cpp.

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

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

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

Definition at line 199 of file SmbiosStrategy.cpp.

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

Referenced by SmbiosMemoryStrategy::getSmbiosTable().


Member Data Documentation

unsigned long offset [protected]

Definition at line 77 of file SmbiosImpl.h.

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


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