Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | 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 <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <asm/boot.h>

Go to the source code of this file.

Macros

#define DEFAULT_MAJOR_ROOT   0
 
#define DEFAULT_MINOR_ROOT   0
 
#define SETUP_SECTS   4
 

Functions

 __attribute__ ((noreturn))
 
void file_open (const char *name)
 
int main (int argc, char **argv)
 

Variables

uint8_t buf [1024]
 
int fd
 
int is_big_kernel
 

Macro Definition Documentation

#define DEFAULT_MAJOR_ROOT   0

Definition at line 36 of file build.c.

#define DEFAULT_MINOR_ROOT   0

Definition at line 37 of file build.c.

#define SETUP_SECTS   4

Definition at line 40 of file build.c.

Function Documentation

Definition at line 46 of file build.c.

void file_open ( const char name)

Definition at line 56 of file build.c.

int main ( int  argc,
char **  argv 
)

Definition at line 69 of file build.c.

Variable Documentation

uint8_t buf[1024]

Definition at line 42 of file build.c.

Definition at line 43 of file build.c.

int is_big_kernel

Definition at line 44 of file build.c.