Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Typedefs | Functions | Variables

biossums.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <unistd.h>
Include dependency graph for biossums.c:

Go to the source code of this file.

Typedefs

typedef unsigned char uint8_t

Functions

static uint8_t calculateChecksum (uint8_t *pb, size_t cb, size_t iChecksum)
static int fatal (const char *pszFormat,...)
int main (int argc, char **argv)
static const char * name (const char *pszPath)
static int searchHeader (uint8_t *pb, size_t cb, const char *pszHeader, uint8_t **pbHeader)

Variables

static uint8_t abBios [64 *1024]
static const char * g_argv0
static FILE * g_pIn = NULL
static FILE * g_pOut = NULL
static const char * g_pszOutFile = NULL

Detailed Description

Tool for modifying a BIOS image to write the BIOS checksum.

Definition in file biossums.c.


Generated by  Doxygen 1.6.0   Back to index