Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dump_psb.c File Reference
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <sys/mman.h>

Go to the source code of this file.

Data Structures

struct  psb_header
 
struct  pst_header
 

Macros

#define _GNU_SOURCE
 
#define LEN   (0x100000 - 0xc0000)
 
#define OFFSET   (0xc0000)
 
#define __packed   __attribute((packed))
 

Functions

void print_help (void)
 
int main (int argc, char *argv[])
 

Variables

struct psb_header __packed
 

Macro Definition Documentation

#define __packed   __attribute((packed))

Definition at line 21 of file dump_psb.c.

#define _GNU_SOURCE

Definition at line 12 of file dump_psb.c.

#define LEN   (0x100000 - 0xc0000)

Definition at line 17 of file dump_psb.c.

#define OFFSET   (0xc0000)

Definition at line 18 of file dump_psb.c.

Function Documentation

int main ( int  argc,
char argv[] 
)

Definition at line 149 of file dump_psb.c.

static void print_help ( void  )

Definition at line 140 of file dump_psb.c.

Variable Documentation