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

Go to the source code of this file.

Macros

#define DEFAULT_MAJOR_ROOT   0
 
#define DEFAULT_MINOR_ROOT   0
 
#define DEFAULT_ROOT_DEV   (DEFAULT_MAJOR_ROOT << 8 | DEFAULT_MINOR_ROOT)
 
#define SETUP_SECT_MIN   5
 
#define SETUP_SECT_MAX   64
 
#define PECOFF_RELOC_RESERVE   0x20
 

Typedefs

typedef unsigned char u8
 
typedef unsigned short u16
 
typedef unsigned int u32
 

Functions

int main (int argc, char **argv)
 

Variables

u8 buf [SETUP_SECT_MAX *512]
 
int is_big_kernel
 

Macro Definition Documentation

#define DEFAULT_MAJOR_ROOT   0

Definition at line 41 of file build.c.

#define DEFAULT_MINOR_ROOT   0

Definition at line 42 of file build.c.

#define DEFAULT_ROOT_DEV   (DEFAULT_MAJOR_ROOT << 8 | DEFAULT_MINOR_ROOT)

Definition at line 43 of file build.c.

#define PECOFF_RELOC_RESERVE   0x20

Definition at line 53 of file build.c.

#define SETUP_SECT_MAX   64

Definition at line 47 of file build.c.

#define SETUP_SECT_MIN   5

Definition at line 46 of file build.c.

Typedef Documentation

typedef unsigned short u16

Definition at line 38 of file build.c.

typedef unsigned int u32

Definition at line 39 of file build.c.

typedef unsigned char u8

Definition at line 37 of file build.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 233 of file build.c.

Variable Documentation

Definition at line 50 of file build.c.

int is_big_kernel

Definition at line 51 of file build.c.