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/sched.h>
#include <linux/kernel.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/bootmem.h>
#include <linux/seq_file.h>
#include <linux/cpu.h>
#include <asm/processor.h>
#include <linux/console.h>
#include <asm/uaccess.h>
#include <asm/setup.h>
#include <asm/io.h>
#include <asm/smp.h>
#include <proc/proc.h>
#include <asm/fpu.h>
#include <asm/sections.h>

Go to the source code of this file.


#define mn10300_known_cpus   5


void __init setup_arch (char **cmdline_p)
void __init cpu_init (void)
 subsys_initcall (topology_init)


struct mn10300_cpuinfo boot_cpu_data
unsigned long pci_mem_start = 0x18000000
char redboot_command_line [COMMAND_LINE_SIZE]
char __initdata redboot_platform_name [COMMAND_LINE_SIZE]
unsigned long memory_size
struct thread_info__current_ti = &init_thread_union.thread_info
struct task_struct__current = &init_task
struct seq_operations cpuinfo_op

Macro Definition Documentation

#define mn10300_known_cpus   5

Definition at line 66 of file setup.c.

Function Documentation

void __init cpu_init ( void  )

Definition at line 181 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 120 of file setup.c.

subsys_initcall ( topology_init  )

Variable Documentation

struct task_struct* __current = &init_task

Definition at line 64 of file setup.c.

Definition at line 63 of file setup.c.

struct mn10300_cpuinfo boot_cpu_data

Definition at line 36 of file setup.c.

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

Definition at line 293 of file setup.c.

unsigned long memory_size

Definition at line 61 of file setup.c.

unsigned long pci_mem_start = 0x18000000

Definition at line 39 of file setup.c.

char redboot_command_line[COMMAND_LINE_SIZE]
Initial value:
"console=ttyS0,115200 root=/dev/mtdblock3 rw"

Definition at line 41 of file setup.c.

char __initdata redboot_platform_name[COMMAND_LINE_SIZE]

Definition at line 44 of file setup.c.