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/screen_info.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/initrd.h>
#include <linux/bootmem.h>
#include <linux/console.h>
#include <linux/root_dev.h>
#include <linux/utsname.h>
#include <linux/nodemask.h>
#include <linux/cpu.h>
#include <linux/pfn.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/kexec.h>
#include <linux/module.h>
#include <linux/smp.h>
#include <linux/err.h>
#include <linux/crash_dump.h>
#include <linux/mmzone.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/memblock.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/page.h>
#include <asm/elf.h>
#include <asm/sections.h>
#include <asm/irq.h>
#include <asm/setup.h>
#include <asm/clock.h>
#include <asm/smp.h>
#include <asm/mmu_context.h>
#include <asm/mmzone.h>
#include <asm/sparsemem.h>

Go to the source code of this file.

Macros

#define RAMDISK_IMAGE_START_MASK   0x07FF
 
#define RAMDISK_PROMPT_FLAG   0x8000
 
#define RAMDISK_LOAD_FLAG   0x4000
 

Functions

 EXPORT_SYMBOL (cpu_data)
 
 EXPORT_SYMBOL (sh_mv)
 
 EXPORT_SYMBOL (memory_start)
 
 EXPORT_SYMBOL (memory_end)
 
 early_param ("mem", early_parse_mem)
 
void __init check_for_initrd (void)
 
void __cpuinit calibrate_delay (void)
 
void __init __add_active_range (unsigned int nid, unsigned long start_pfn, unsigned long end_pfn)
 
void __init __weak plat_early_device_setup (void)
 
void __init setup_arch (char **cmdline_p)
 
int generic_mode_pins (void)
 
int test_mode_pin (int pin)
 

Variables

struct sh_cpuinfo cpu_data[NR_CPUS__read_mostly
 
struct sh_machine_vector sh_mv = { .mv_name = "generic", }
 
int root_mountflags
 
unsigned long memory_start
 
unsigned long memory_end = 0
 
unsigned long memory_limit = 0
 
int l1i_cache_shape
 
int l1d_cache_shape
 
int l2_cache_shape
 

Macro Definition Documentation

#define RAMDISK_IMAGE_START_MASK   0x07FF

Definition at line 73 of file setup.c.

#define RAMDISK_LOAD_FLAG   0x4000

Definition at line 75 of file setup.c.

#define RAMDISK_PROMPT_FLAG   0x8000

Definition at line 74 of file setup.c.

Function Documentation

void __init __add_active_range ( unsigned int  nid,
unsigned long  start_pfn,
unsigned long  end_pfn 
)

Definition at line 191 of file setup.c.

void __cpuinit calibrate_delay ( void  )

Definition at line 175 of file setup.c.

void __init check_for_initrd ( void  )

Definition at line 117 of file setup.c.

early_param ( "mem"  ,
early_parse_mem   
)
EXPORT_SYMBOL ( cpu_data  )
EXPORT_SYMBOL ( sh_mv  )
EXPORT_SYMBOL ( memory_start  )
EXPORT_SYMBOL ( memory_end  )
int generic_mode_pins ( void  )

Definition at line 315 of file setup.c.

void __init __weak plat_early_device_setup ( void  )

Definition at line 237 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 241 of file setup.c.

int test_mode_pin ( int  pin)

Definition at line 321 of file setup.c.

Variable Documentation

struct sh_cpuinfo cpu_data [NR_CPUS] __read_mostly
Initial value:
= {
[0] = {
.type = CPU_SH_NONE,
.family = CPU_FAMILY_UNKNOWN,
.loops_per_jiffy = 10000000,
.phys_bits = MAX_PHYSMEM_BITS,
},
}

Definition at line 50 of file setup.c.

int l1d_cache_shape

Definition at line 102 of file setup.c.

int l1i_cache_shape

Definition at line 102 of file setup.c.

int l2_cache_shape

Definition at line 102 of file setup.c.

unsigned long memory_end = 0

Definition at line 96 of file setup.c.

unsigned long memory_limit = 0

Definition at line 98 of file setup.c.

unsigned long memory_start

Definition at line 94 of file setup.c.

int root_mountflags

Definition at line 38 of file do_mounts.c.

struct sh_machine_vector sh_mv = { .mv_name = "generic", }

Definition at line 64 of file setup.c.