os/linux-2.6-tag--devboard-R2_10-4/arch/cris/kernel/setup.c File Reference

#include <linux/init.h>
#include <linux/mm.h>
#include <linux/bootmem.h>
#include <asm/pgtable.h>
#include <linux/seq_file.h>
#include <linux/screen_info.h>
#include <linux/utsname.h>
#include <linux/pfn.h>
#include <linux/cpu.h>
#include <asm/setup.h>

Include dependency graph for setup.c:

Go to the source code of this file.

Defines

#define CMDLINE_MAGIC   0x63951087

Functions

void show_etrax_copyright (void)
void __init setup_arch (char **cmdline_p)
static void * c_start (struct seq_file *m, loff_t *pos)
static void * c_next (struct seq_file *m, void *v, loff_t *pos)
static void c_stop (struct seq_file *m, void *v)
int show_cpuinfo (struct seq_file *m, void *v)
static int __init topology_init (void)
 subsys_initcall (topology_init)

Variables

screen_info screen_info
int root_mountflags
char _etext
char _edata
char _end
char cris_command_line [COMMAND_LINE_SIZE] = { 0, }
const unsigned long text_start
const unsigned long edata
unsigned long dram_start
unsigned long dram_end
unsigned long romfs_start
unsigned long romfs_length
unsigned long romfs_in_flash
static struct cpu cpu_devices [NR_CPUS]
seq_operations cpuinfo_op


Define Documentation

#define CMDLINE_MAGIC   0x63951087

Referenced by setup_arch().


Function Documentation

static void* c_next ( struct seq_file *  m,
void *  v,
loff_t *  pos 
) [static]

Definition at line 191 of file setup.c.

References c_start().

static void* c_start ( struct seq_file *  m,
loff_t *  pos 
) [static]

Definition at line 186 of file setup.c.

Referenced by c_next().

static void c_stop ( struct seq_file *  m,
void *  v 
) [static]

Definition at line 197 of file setup.c.

void __init setup_arch ( char **  cmdline_p  ) 

Definition at line 60 of file setup.c.

References _edata, _end, _etext, CMDLINE_MAGIC, cris_command_line, dram_end, memcpy(), printk, romfs_in_flash, romfs_length, romfs_start, show_etrax_copyright(), and text_start.

int show_cpuinfo ( struct seq_file *  m,
void *  v 
)

void show_etrax_copyright ( void   ) 

Referenced by setup_arch().

subsys_initcall ( topology_init   ) 

static int __init topology_init ( void   )  [static]

Definition at line 210 of file setup.c.

References cpu_devices.


Variable Documentation

char _edata

Referenced by bootload(), and setup_arch().

char _end

char _etext

Referenced by setup_arch().

struct cpu cpu_devices[NR_CPUS] [static]

Definition at line 39 of file setup.c.

Referenced by topology_init().

struct seq_operations cpuinfo_op

Initial value:

 {
        .start = c_start,
        .next  = c_next,
        .stop  = c_stop,
        .show  = show_cpuinfo,
}

Definition at line 203 of file setup.c.

char cris_command_line[COMMAND_LINE_SIZE] = { 0, }

Definition at line 32 of file setup.c.

Referenced by setup_arch().

unsigned long dram_end

Referenced by setup_arch().

unsigned long dram_start

const unsigned long edata

unsigned long romfs_in_flash

unsigned long romfs_length

unsigned long romfs_start

int root_mountflags

struct screen_info screen_info

Definition at line 27 of file setup.c.

const unsigned long text_start

Referenced by setup_arch().


Generated on Fri Nov 28 00:08:19 2008 for elphel by  doxygen 1.5.1