Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <string.h>
#include <sys/resource.h>
#include <as-layout.h>
#include <init.h>
#include <kern_util.h>
#include <os.h>
#include <um_malloc.h>

Go to the source code of this file.

Macros

#define PGD_BOUND   (4 * 1024 * 1024)
 
#define STACKSIZE   (8 * 1024 * 1024)
 
#define THREAD_NAME_LEN   (256)
 
#define UML_LIB_PATH   ":" OS_LIB_PATH "/uml"
 

Functions

void scan_elf_aux (char **envp)
 
int __init main (int argc, char **argv, char **envp)
 
void__real_malloc (int)
 
void__wrap_malloc (int size)
 
void__wrap_calloc (int n, int size)
 
void __real_free (void *)
 
void __wrap_free (void *ptr)
 

Variables

long elf_aux_hwcap
 
unsigned long high_physmem
 

Macro Definition Documentation

#define PGD_BOUND   (4 * 1024 * 1024)

Definition at line 19 of file main.c.

#define STACKSIZE   (8 * 1024 * 1024)

Definition at line 20 of file main.c.

#define THREAD_NAME_LEN   (256)

Definition at line 21 of file main.c.

#define UML_LIB_PATH   ":" OS_LIB_PATH "/uml"

Definition at line 82 of file main.c.

Function Documentation

void __real_free ( void )
void* __real_malloc ( int  )
void* __wrap_calloc ( int  n,
int  size 
)

Definition at line 217 of file main.c.

void __wrap_free ( void ptr)

Definition at line 231 of file main.c.

void* __wrap_malloc ( int  size)

Definition at line 196 of file main.c.

int __init main ( int  argc,
char **  argv,
char **  envp 
)

Definition at line 117 of file main.c.

void scan_elf_aux ( char **  envp)

Definition at line 25 of file elf_aux.c.

Variable Documentation

long elf_aux_hwcap

Definition at line 23 of file main.c.

unsigned long high_physmem

Definition at line 20 of file physmem.c.