Linux Kernel
3.7.1
|
#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 |
#define DEFAULT_ROOT_DEV (DEFAULT_MAJOR_ROOT << 8 | DEFAULT_MINOR_ROOT) |
u8 buf[SETUP_SECT_MAX *512] |