Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
um_arch.c File Reference
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <linux/utsname.h>
#include <linux/sched.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/setup.h>
#include <as-layout.h>
#include <arch.h>
#include <init.h>
#include <kern.h>
#include <kern_util.h>
#include <mem_user.h>
#include <os.h>

Go to the source code of this file.

Macros

#define DEFAULT_COMMAND_LINE   "root=98:0"
 
#define MIN_VMALLOC   (32 * 1024 * 1024)
 

Functions

union thread_union cpu0_irqstack __attribute__ ((__section__(".data..init_irqstack")))
 
unsigned long thread_saved_pc (struct task_struct *task)
 
 EXPORT_SYMBOL (uml_physmem)
 
 __uml_setup ("--version", uml_version_setup,"--version\n"" Prints the version number of the kernel.\n\n")
 
 __uml_setup ("root=", uml_root_setup,"root=<file containing the root fs>\n"" This is actually used by the generic kernel in exactly the same\n"" way as in any other kernel. If you configure a number of block\n"" devices and want to boot off something other than ubd0, you \n"" would use something like:\n"" root=/dev/ubd5\n\n")
 
 __uml_setup ("debug", no_skas_debug_setup,"debug\n"" this flag is not needed to run gdb on UML in skas mode\n\n")
 
 __uml_setup ("--help", Usage,"--help\n"" Prints this message.\n\n")
 
 EXPORT_SYMBOL (task_size)
 
 EXPORT_SYMBOL (end_iomem)
 
int __init linux_main (int argc, char **argv)
 
void __init setup_arch (char **cmdline_p)
 
void __init check_bugs (void)
 
void apply_alternatives (struct alt_instr *start, struct alt_instr *end)
 

Variables

struct cpuinfo_um boot_cpu_data
 
struct seq_operations cpuinfo_op
 
unsigned long uml_physmem
 
unsigned long uml_reserved
 
unsigned long start_vm
 
unsigned long end_vm
 
int ncpus = 1
 
long long physmem_size = 32 * 1024 * 1024
 
unsigned long task_size
 
unsigned long host_task_size
 
unsigned long brk_start
 
unsigned long end_iomem
 
char __binary_start
 

Macro Definition Documentation

#define DEFAULT_COMMAND_LINE   "root=98:0"

Definition at line 25 of file um_arch.c.

#define MIN_VMALLOC   (32 * 1024 * 1024)

Definition at line 260 of file um_arch.c.

Function Documentation

union thread_union cpu0_irqstack __attribute__ ( (__section__(".data..init_irqstack"))  )
write
__uml_setup ( "--version"  ,
uml_version_setup  ,
"--version\n"" Prints the version number of the kernel.\n\n  
)
__uml_setup ( root = ", uml_root_setup,"root=<file containing the root fs>\n""    This is actually used by the generic kernel in exactly the same\n""    way as in any other kernel. If you configure a number of block\n""    devices and want to boot off something other than ubd0)
__uml_setup ( "debug"  ,
no_skas_debug_setup  ,
"debug\n"" this flag is not needed to run gdb on UML in skas mode\n\n  
)
__uml_setup ( "--help"  ,
Usage  ,
"--help\n"" Prints this message.\n\n  
)
void apply_alternatives ( struct alt_instr start,
struct alt_instr end 
)

Definition at line 395 of file um_arch.c.

void __init check_bugs ( void  )

Definition at line 389 of file um_arch.c.

EXPORT_SYMBOL ( uml_physmem  )
EXPORT_SYMBOL ( task_size  )
EXPORT_SYMBOL ( end_iomem  )
int __init linux_main ( int  argc,
char **  argv 
)

Definition at line 264 of file um_arch.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 381 of file um_arch.c.

unsigned long thread_saved_pc ( struct task_struct task)

Definition at line 55 of file um_arch.c.

Variable Documentation

char __binary_start
struct cpuinfo_um boot_cpu_data
Initial value:
= {
.loops_per_jiffy = 0,
.ipi_pipe = { -1, -1 }
}

Definition at line 46 of file um_arch.c.

unsigned long brk_start

Definition at line 256 of file um_arch.c.

struct seq_operations cpuinfo_op
Initial value:
= {
.start = c_start,
.next = c_next,
.stop = c_stop,
.show = show_cpuinfo,
}

Definition at line 101 of file um_arch.c.

unsigned long end_iomem

Definition at line 257 of file um_arch.c.

unsigned long end_vm

Definition at line 114 of file um_arch.c.

unsigned long host_task_size

Definition at line 254 of file um_arch.c.

int ncpus = 1

Definition at line 117 of file um_arch.c.

long long physmem_size = 32 * 1024 * 1024

Definition at line 123 of file um_arch.c.

unsigned long start_vm

Definition at line 113 of file um_arch.c.

unsigned long task_size

Definition at line 251 of file um_arch.c.

unsigned long uml_physmem

Definition at line 109 of file um_arch.c.

unsigned long uml_reserved

Definition at line 112 of file um_arch.c.