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

checksum.cpp File Reference

#include "smbios/compat.h"
#include <sstream>
#include "CmosRWImpl.h"
#include "TokenImpl.h"
#include "smbios/message.h"

Go to the source code of this file.

Namespaces

namespace  smbios

Defines

#define LIBSMBIOS_SOURCE

Functions

u8 byteChecksum (const ICmosRW *cmos, u32 start, u32 end, u32 indexPort, u32 dataPort)
u16 wordChecksum (const ICmosRW *cmos, u32 start, u32 end, u32 indexPort, u32 dataPort, bool complement)
u16 wordCrc (const ICmosRW *cmos, u32 start, u32 end, u32 indexPort, u32 dataPort)


Define Documentation

#define LIBSMBIOS_SOURCE
 

Definition at line 20 of file checksum.cpp.


Function Documentation

u8 byteChecksum const ICmosRW cmos,
u32  start,
u32  end,
u32  indexPort,
u32  dataPort
[static]
 

Definition at line 226 of file checksum.cpp.

References ICmosRW::readByte(), u32, and u8.

Referenced by CmosRWChecksumObserver::update().

u16 wordChecksum const ICmosRW cmos,
u32  start,
u32  end,
u32  indexPort,
u32  dataPort,
bool  complement
[static]
 

Definition at line 242 of file checksum.cpp.

References ICmosRW::readByte(), u16, and u32.

Referenced by CmosRWChecksumObserver::update().

u16 wordCrc const ICmosRW cmos,
u32  start,
u32  end,
u32  indexPort,
u32  dataPort
[static]
 

Definition at line 260 of file checksum.cpp.

References ICmosRW::readByte(), u16, and u32.

Referenced by CmosRWChecksumObserver::update().


Generated on Thu Jun 21 02:49:21 2007 for SMBIOS Library by  doxygen 1.3.9.1