Rbu_Linux.cpp File Reference

#include "smbios/compat.h"
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include "RbuImpl.h"
#include "smbios/IToken.h"
#include "smbios/SystemInfo.h"
#include "smbios/message.h"

Go to the source code of this file.

Namespaces

namespace  rbu

Functions

packet_type rbu::getSupportedPacketType (void)
void rbu::activateRbuToken ()
void rbu::cancelRbuToken ()
void rbu::checksumPacket (rbu_packet *pkt, size_t size)
driver_type rbu::getDriverType ()
void rbu::createPacket (char *buffer, size_t bufSize, size_t imageSize)
static void rbu::writePacket (const char *fn, const char *buffer, size_t bufSize, bool openclose)
static void rbu::pktUpdateLoop (FILE *hdr_fh, const char *packetFilename, char *buffer, size_t bufSize, bool openclose)
static void rbu::monoUpdateLoop (FILE *hdr_fh, FILE *data_fh)
static void rbu::setSize (const char *fn, size_t sz)
static void rbu::doPacketUpdate_v1 (FILE *hdr_fh)
static void rbu::doMonoUpdate_v1 (FILE *hdr_fh)
static void rbu::setPacketType (packet_type type)
static void rbu::waitForFile (const char *fn, time_t wait)
static void rbu::setLoadValue (char val)
static void rbu::doPacketUpdate_v2 (FILE *hdr_fh)
static void rbu::doMonoUpdate_v2 (FILE *hdr_fh)
void rbu::dellBiosUpdate (string fileName, packet_type force_type)
void rbu::cancelDellBiosUpdate ()
 Cancel BIOS Update on Dell systems.

Variables

const char * rbu::rbu_v1_mono_data_file = "/sys/firmware/rbu/rbudata"
const char * rbu::rbu_v1_mono_size_file = "/sys/firmware/rbu/rbudatasize"
const char * rbu::rbu_v1_pkt_data_file = "/sys/firmware/rbu/packetdata"
const char * rbu::rbu_v1_pkt_size_file = "/sys/firmware/rbu/packetdatasize"
const char * rbu::rbu_v2_fw_data_file = "/sys/class/firmware/dell_rbu/data"
const char * rbu::rbu_v2_fw_load_file = "/sys/class/firmware/dell_rbu/loading"
const char * rbu::rbu_v2_drv_data_file = ""
const char * rbu::rbu_v2_img_type_file = "/sys/devices/platform/dell_rbu/image_type"
const char * rbu::rbu_v2_pkt_size_file = "/sys/devices/platform/dell_rbu/packet_size"


Generated on Tue Jul 11 20:46:47 2006 for SMBIOS Library by  doxygen 1.4.7