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 <linux/types.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/kernel.h>
#include <linux/syscalls.h>
#include <linux/stackprotector.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/initrd.h>
#include <linux/bootmem.h>
#include <linux/acpi.h>
#include <linux/tty.h>
#include <linux/percpu.h>
#include <linux/kmod.h>
#include <linux/vmalloc.h>
#include <linux/kernel_stat.h>
#include <linux/start_kernel.h>
#include <linux/security.h>
#include <linux/smp.h>
#include <linux/profile.h>
#include <linux/rcupdate.h>
#include <linux/moduleparam.h>
#include <linux/kallsyms.h>
#include <linux/writeback.h>
#include <linux/cpu.h>
#include <linux/cpuset.h>
#include <linux/cgroup.h>
#include <linux/efi.h>
#include <linux/tick.h>
#include <linux/interrupt.h>
#include <linux/taskstats_kern.h>
#include <linux/delayacct.h>
#include <linux/unistd.h>
#include <linux/rmap.h>
#include <linux/mempolicy.h>
#include <linux/key.h>
#include <linux/buffer_head.h>
#include <linux/page_cgroup.h>
#include <linux/debug_locks.h>
#include <linux/debugobjects.h>
#include <linux/lockdep.h>
#include <linux/kmemleak.h>
#include <linux/pid_namespace.h>
#include <linux/device.h>
#include <linux/kthread.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/idr.h>
#include <linux/kgdb.h>
#include <linux/ftrace.h>
#include <linux/async.h>
#include <linux/kmemcheck.h>
#include <linux/sfi.h>
#include <linux/shmem_fs.h>
#include <linux/slab.h>
#include <linux/perf_event.h>
#include <linux/file.h>
#include <linux/ptrace.h>
#include <asm/io.h>
#include <asm/bugs.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/cacheflush.h>

Go to the source code of this file.


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


void init_IRQ (void)
void fork_init (unsigned long)
void mca_init (void)
void sbus_init (void)
void radix_tree_init (void)
 EXPORT_SYMBOL (system_state)
void time_init (void)
void softirq_init (void)
 EXPORT_SYMBOL (reset_devices)
 __setup ("reset_devices", set_reset_devices)
 EXPORT_SYMBOL (loops_per_jiffy)
 early_param ("debug", debug_kernel)
 early_param ("quiet", quiet_kernel)
 early_param ("loglevel", loglevel)
 __setup ("init=", init_setup)
void __init parse_early_options (char *cmdline)
void __init parse_early_param (void)
void __init __weak smp_setup_processor_id (void)
void __init __weak thread_info_cache_init (void)
asmlinkage void __init start_kernel (void)
 core_param (initcall_debug, initcall_debug, bool, 0644)
int __init_or_module do_one_initcall (initcall_t fn)


bool early_boot_irqs_disabled __read_mostly
void(* __initdata )(void)
char __initdata boot_command_line [COMMAND_LINE_SIZE]
unsigned int reset_devices
const charenvp_init [MAX_INIT_ENVS+2] = { "HOME=/", "TERM=linux", NULL, }
struct obs_kernel_param __setup_start []
struct obs_kernel_param __setup_end []
unsigned long loops_per_jiffy = (1<<12)
bool initcall_debug
initcall_t __initcall_start []
initcall_t __initcall0_start []
initcall_t __initcall1_start []
initcall_t __initcall2_start []
initcall_t __initcall3_start []
initcall_t __initcall4_start []
initcall_t __initcall5_start []
initcall_t __initcall6_start []
initcall_t __initcall7_start []
initcall_t __initcall_end []

Macro Definition Documentation


Definition at line 114 of file main.c.


Definition at line 115 of file main.c.

#define smp_init (   void)    do { } while (0)

Definition at line 328 of file main.c.

Function Documentation

__setup ( "reset_devices"  ,
__setup ( )
core_param ( initcall_debug  ,
initcall_debug  ,
bool  ,
int __init_or_module do_one_initcall ( initcall_t  fn)

Definition at line 680 of file main.c.

early_param ( "debug"  ,
early_param ( "quiet"  ,
early_param ( "loglevel"  ,
EXPORT_SYMBOL ( system_state  )
EXPORT_SYMBOL ( reset_devices  )
EXPORT_SYMBOL ( loops_per_jiffy  )
void fork_init ( unsigned  long)

Definition at line 251 of file fork.c.

void init_IRQ ( void  )

The hexagon core comes with a first-level interrupt controller with 32 total possible interrupts. When the core is embedded into different systems/platforms, it is typically wrapped by macro cells that provide one or more second-level interrupt controllers that are cascaded into one or more of the first-level interrupts handled here. The precise wiring of these other irqs varies from platform to platform, and are set up & configured in the platform-specific files.

The first-level interrupt controller is wrapped by the VM, which virtualizes the interrupt controller for us. It provides a very simple, fast & efficient API, and so the fasteoi handler is appropriate for this case.

Definition at line 109 of file irq_alpha.c.

void mca_init ( void  )
void __init parse_early_options ( char cmdline)

Definition at line 407 of file main.c.

void __init parse_early_param ( void  )

Definition at line 413 of file main.c.

void radix_tree_init ( void  )

Definition at line 1447 of file radix-tree.c.

void sbus_init ( void  )
void __init __weak smp_setup_processor_id ( void  )

Definition at line 441 of file main.c.

void softirq_init ( void  )

Definition at line 725 of file softirq.c.

asmlinkage void __init start_kernel ( void  )

Definition at line 468 of file main.c.

void __init __weak thread_info_cache_init ( void  )

Definition at line 446 of file main.c.

void time_init ( void  )

Definition at line 386 of file time.c.

Variable Documentation

initcall_t __initcall0_start[]
initcall_t __initcall1_start[]
initcall_t __initcall2_start[]
initcall_t __initcall3_start[]
initcall_t __initcall4_start[]
initcall_t __initcall5_start[]
initcall_t __initcall6_start[]
initcall_t __initcall7_start[]
initcall_t __initcall_end[]
initcall_t __initcall_start[]
char* initcall_level_names [] __initdata
enum system_states system_state __read_mostly

Definition at line 106 of file main.c.

struct obs_kernel_param __setup_end[]
struct obs_kernel_param __setup_start[]
char __initdata boot_command_line[COMMAND_LINE_SIZE]

Definition at line 123 of file main.c.

const char* envp_init[MAX_INIT_ENVS+2] = { "HOME=/", "TERM=linux", NULL, }

Definition at line 153 of file main.c.

bool initcall_debug

Definition at line 657 of file main.c.

unsigned long loops_per_jiffy = (1<<12)

Definition at line 191 of file main.c.

unsigned int reset_devices

Definition at line 141 of file main.c.

char* saved_command_line

Definition at line 125 of file main.c.