Namespaces | Defines | Functions

checksum.cpp File Reference

#include "smbios/compat.h"
#include <sstream>
#include "CmosRWImpl.h"
#include "TokenImpl.h"
#include "smbios/message.h"
Include dependency graph for checksum.cpp:

Go to the source code of this file.

Namespaces

namespace  smbios

Defines

#define LIBSMBIOS_SOURCE

Functions

static u8 byteChecksum (const ICmosRW *cmos, u32 start, u32 end, u32 indexPort, u32 dataPort)
static u16 wordChecksum (const ICmosRW *cmos, u32 start, u32 end, u32 indexPort, u32 dataPort, bool complement)
static 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.