Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
setup.c File Reference
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/memblock.h>
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/ptrace.h>
#include <linux/user.h>
#include <linux/tty.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/initrd.h>
#include <linux/bootmem.h>
#include <linux/root_dev.h>
#include <linux/console.h>
#include <linux/kernel_stat.h>
#include <linux/device.h>
#include <linux/notifier.h>
#include <linux/pfn.h>
#include <linux/ctype.h>
#include <linux/reboot.h>
#include <linux/topology.h>
#include <linux/ftrace.h>
#include <linux/kexec.h>
#include <linux/crash_dump.h>
#include <linux/memory.h>
#include <linux/compat.h>
#include <asm/ipl.h>
#include <asm/uaccess.h>
#include <asm/facility.h>
#include <asm/smp.h>
#include <asm/mmu_context.h>
#include <asm/cpcmd.h>
#include <asm/lowcore.h>
#include <asm/irq.h>
#include <asm/page.h>
#include <asm/ptrace.h>
#include <asm/sections.h>
#include <asm/ebcdic.h>
#include <asm/kvm_virtio.h>
#include <asm/diag.h>
#include <asm/os_info.h>
#include <asm/sclp.h>
#include "entry.h"
#include <asm/setup.h>

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "setup"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 

Functions

 EXPORT_SYMBOL (uaccess)
 
 EXPORT_SYMBOL (console_mode)
 
 EXPORT_SYMBOL (console_devno)
 
 EXPORT_SYMBOL (console_irq)
 
 EXPORT_SYMBOL (VMALLOC_START)
 
 EXPORT_SYMBOL (VMALLOC_END)
 
 EXPORT_SYMBOL (vmemmap)
 
 EXPORT_SYMBOL (lowcore_ptr)
 
 __setup ("condev=", condev_setup)
 
void machine_restart (char *command)
 
void machine_halt (void)
 
void machine_power_off (void)
 
 early_param ("mem", early_parse_mem)
 
 early_param ("vmalloc", parse_vmalloc)
 
 EXPORT_SYMBOL_GPL (s390_user_mode)
 
 early_param ("user_mode", early_parse_user_mode)
 
void *restart_stack __attribute__ ((__section__(".data")))
 
 EXPORT_SYMBOL_GPL (real_memory_size)
 
void __init setup_arch (char **cmdline_p)
 

Variables

long psw_kernel_bits
 
long psw_user_bits
 
struct uaccess_ops uaccess
 
unsigned int console_mode = 0
 
unsigned int console_devno = -1
 
unsigned int console_irq = -1
 
unsigned long elf_hwcap = 0
 
char elf_platform [ELF_PLATFORM_SIZE]
 
struct mem_chunk __initdata memory_chunk [MEMORY_CHUNKS]
 
int __initdata memory_end_set
 
unsigned long __initdata memory_end
 
unsigned long VMALLOC_START
 
unsigned long VMALLOC_END
 
struct pagevmemmap
 
struct _lowcorelowcore_ptr [NR_CPUS]
 
void(* pm_power_off )(void) = machine_power_off
 
unsigned int s390_user_mode = PRIMARY_SPACE_MODE
 
unsigned long real_memory_size
 

Macro Definition Documentation

#define KMSG_COMPONENT   "setup"

Definition at line 15 of file setup.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 16 of file setup.c.

Function Documentation

void* restart_stack __attribute__ ( (__section__(".data"))  )
__setup ( )
early_param ( "mem"  ,
early_parse_mem   
)
early_param ( "vmalloc"  ,
parse_vmalloc   
)
early_param ( "user_mode"  ,
early_parse_user_mode   
)
EXPORT_SYMBOL ( uaccess  )
EXPORT_SYMBOL ( console_mode  )
EXPORT_SYMBOL ( console_devno  )
EXPORT_SYMBOL ( console_irq  )
EXPORT_SYMBOL ( VMALLOC_START  )
EXPORT_SYMBOL ( VMALLOC_END  )
EXPORT_SYMBOL ( vmemmap  )
EXPORT_SYMBOL ( lowcore_ptr  )
EXPORT_SYMBOL_GPL ( s390_user_mode  )
EXPORT_SYMBOL_GPL ( real_memory_size  )
void machine_halt ( void  )

Definition at line 266 of file setup.c.

void machine_power_off ( void  )

Definition at line 277 of file setup.c.

void machine_restart ( char command)

Definition at line 255 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 1051 of file setup.c.

Variable Documentation

unsigned int console_devno = -1

Definition at line 85 of file setup.c.

unsigned int console_irq = -1

Definition at line 88 of file setup.c.

unsigned int console_mode = 0

Definition at line 82 of file setup.c.

unsigned long elf_hwcap = 0

Definition at line 91 of file setup.c.

char elf_platform[ELF_PLATFORM_SIZE]

Definition at line 92 of file setup.c.

struct _lowcore* lowcore_ptr[NR_CPUS]

Definition at line 114 of file setup.c.

Definition at line 94 of file setup.c.

unsigned long __initdata memory_end

Definition at line 97 of file setup.c.

int __initdata memory_end_set

Definition at line 96 of file setup.c.

void(* pm_power_off)(void) = machine_power_off

Definition at line 291 of file setup.c.

long psw_kernel_bits
Initial value:

Definition at line 67 of file setup.c.

long psw_user_bits
unsigned long real_memory_size

Definition at line 509 of file setup.c.

unsigned int s390_user_mode = PRIMARY_SPACE_MODE

Definition at line 310 of file setup.c.

Definition at line 76 of file setup.c.

unsigned long VMALLOC_END

Definition at line 102 of file setup.c.

unsigned long VMALLOC_START

Definition at line 99 of file setup.c.

struct page* vmemmap

Definition at line 105 of file setup.c.