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/sched.h>
#include <linux/kernel.h>
#include <linux/mmzone.h>
#include <linux/bootmem.h>
#include <linux/module.h>
#include <linux/node.h>
#include <linux/cpu.h>
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/kexec.h>
#include <linux/pci.h>
#include <linux/swiotlb.h>
#include <linux/initrd.h>
#include <linux/io.h>
#include <linux/highmem.h>
#include <linux/smp.h>
#include <linux/timex.h>
#include <linux/hugetlb.h>
#include <linux/start_kernel.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/cacheflush.h>
#include <asm/pgalloc.h>
#include <asm/mmu_context.h>
#include <hv/hypervisor.h>
#include <arch/interrupts.h>

Go to the source code of this file.

Macros

#define setup_max_cpus   1
 
#define setup_numa_mapping()   do { } while (0)
 

Functions

 EXPORT_SYMBOL (node_data)
 
 DEFINE_PER_CPU (unsigned long, boot_sp)
 
 EXPORT_SYMBOL (highbits_to_node)
 
 early_param ("maxmem", setup_maxmem)
 
 early_param ("maxnodemem", setup_maxnodemem)
 
 early_param ("isolnodes", setup_isolnodes)
 
 early_param ("vmalloc", parse_vmalloc)
 
void *__init alloc_remap (int nid, unsigned long size)
 
void __cpuinit setup_cpu (int boot)
 
 EXPORT_SYMBOL (cpu_lotar_map)
 
 EXPORT_SYMBOL (cpu_cacheable_map)
 
 early_param ("disabled_cpus", disabled_cpus)
 
void __init print_disabled_cpus (void)
 
 early_param ("dataplane", dataplane)
 
void __init setup_arch (char **cmdline_p)
 
 EXPORT_SYMBOL (__per_cpu_offset)
 
void __init setup_per_cpu_areas (void)
 
 subsys_initcall (request_standard_resources)
 

Variables

char chip_model[64] __write_once
 
struct pglist_data node_data[MAX_NUMNODES__read_mostly
 
unsigned long __cpuinitdata node_start_pfn [MAX_NUMNODES]
 
unsigned long __cpuinitdata node_end_pfn [MAX_NUMNODES]
 
unsigned long __initdata node_memmap_pfn [MAX_NUMNODES]
 
unsigned long __initdata node_percpu_pfn [MAX_NUMNODES]
 
unsigned long __initdata node_free_pfn [MAX_NUMNODES]
 
unsigned long __initdata boot_pc = (unsigned long)start_kernel
 
int node_controller [MAX_NUMNODES] = { [0 ... MAX_NUMNODES-1] = -1 }
 
struct cpumask __write_once cpu_lotar_map
 
struct cpumask __write_once cpu_cacheable_map
 

Macro Definition Documentation

#define setup_max_cpus   1

Definition at line 44 of file setup.c.

#define setup_numa_mapping ( )    do { } while (0)

Definition at line 922 of file setup.c.

Function Documentation

void* __init alloc_remap ( int  nid,
unsigned long  size 
)

Definition at line 632 of file setup.c.

DEFINE_PER_CPU ( unsigned  long,
boot_sp   
)
early_param ( "maxmem"  ,
setup_maxmem   
)
early_param ( "maxnodemem"  ,
setup_maxnodemem   
)
early_param ( "isolnodes"  ,
setup_isolnodes   
)
early_param ( "vmalloc"  ,
parse_vmalloc   
)
early_param ( "disabled_cpus"  ,
disabled_cpus   
)
early_param ( "dataplane"  ,
dataplane   
)
EXPORT_SYMBOL ( node_data  )
EXPORT_SYMBOL ( highbits_to_node  )
EXPORT_SYMBOL ( cpu_lotar_map  )
EXPORT_SYMBOL ( cpu_cacheable_map  )
EXPORT_SYMBOL ( __per_cpu_offset  )
void __init print_disabled_cpus ( void  )

Definition at line 1223 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 1311 of file setup.c.

void __cpuinit setup_cpu ( int  boot)

setup_cpu() - Do all necessary per-cpu, tile-specific initialization. : Is this the boot cpu?

Called from setup_arch() on the boot cpu, or online_secondary().

Definition at line 948 of file setup.c.

void __init setup_per_cpu_areas ( void  )

Definition at line 1463 of file setup.c.

subsys_initcall ( request_standard_resources  )

Variable Documentation

Definition at line 52 of file setup.c.

unsigned long __per_cpu_offset [NR_CPUS] __write_once

Definition at line 50 of file setup.c.

unsigned long __initdata boot_pc = (unsigned long)start_kernel

Definition at line 77 of file setup.c.

struct cpumask __write_once cpu_cacheable_map

Definition at line 1203 of file setup.c.

struct cpumask __write_once cpu_lotar_map

Definition at line 1179 of file setup.c.

int node_controller[MAX_NUMNODES] = { [0 ... MAX_NUMNODES-1] = -1 }

Definition at line 89 of file setup.c.

unsigned long __cpuinitdata node_end_pfn[MAX_NUMNODES]

Definition at line 57 of file setup.c.

unsigned long __initdata node_free_pfn[MAX_NUMNODES]

Definition at line 60 of file setup.c.

unsigned long __initdata node_memmap_pfn[MAX_NUMNODES]

Definition at line 58 of file setup.c.

unsigned long __initdata node_percpu_pfn[MAX_NUMNODES]

Definition at line 59 of file setup.c.

unsigned long __cpuinitdata node_start_pfn[MAX_NUMNODES]

Definition at line 56 of file setup.c.