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

Memory_Linux.cpp File Reference

#include "smbios/compat.h"
#include <errno.h>
#include <sys/mman.h>
#include <unistd.h>
#include <string.h>
#include "MemoryImpl.h"
#include "smbios/message.h"

Go to the source code of this file.

Namespaces

namespace  memory

Classes

struct  LinuxData

Defines

#define LIBSMBIOS_SOURCE

Functions

void condOpenFd (struct LinuxData *data)
void closeFd (struct LinuxData *data)


Define Documentation

#define LIBSMBIOS_SOURCE
 

Definition at line 20 of file Memory_Linux.cpp.


Function Documentation

void closeFd struct LinuxData *  data  )  [static]
 

Definition at line 66 of file Memory_Linux.cpp.

References LinuxData::fd, LinuxData::lastMappedOffset, LinuxData::lastMapping, and LinuxData::mappingSize.

Referenced by MemoryOsSpecific::fillBuffer(), MemoryOsSpecific::MemoryOsSpecific(), MemoryOsSpecific::putByte(), and MemoryOsSpecific::~MemoryOsSpecific().

void condOpenFd struct LinuxData *  data  )  [static]
 

Definition at line 48 of file Memory_Linux.cpp.

References _, LinuxData::fd, LinuxData::filename, LinuxData::lastMappedOffset, and LinuxData::lastMapping.

Referenced by MemoryOsSpecific::fillBuffer(), MemoryOsSpecific::MemoryOsSpecific(), and MemoryOsSpecific::putByte().


Generated on Tue Feb 26 14:39:01 2008 for SMBIOS Library by  doxygen 1.3.9.1