#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 CMDLINE_MAGIC 0x63951087 |
Referenced by setup_arch().
static void* c_next | ( | struct seq_file * | m, | |
void * | v, | |||
loff_t * | pos | |||
) | [static] |
static void* c_start | ( | struct seq_file * | m, | |
loff_t * | pos | |||
) | [static] |
static void c_stop | ( | struct seq_file * | m, | |
void * | v | |||
) | [static] |
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] |
char _edata |
Referenced by bootload(), and setup_arch().
char _end |
char _etext |
Referenced by setup_arch().
struct cpu cpu_devices[NR_CPUS] [static] |
struct seq_operations cpuinfo_op |
char cris_command_line[COMMAND_LINE_SIZE] = { 0, } |
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 |
const unsigned long text_start |
Referenced by setup_arch().