Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
setup_32.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/slab.h>
#include <linux/initrd.h>
#include <asm/smp.h>
#include <linux/user.h>
#include <linux/screen_info.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/seq_file.h>
#include <linux/syscalls.h>
#include <linux/kdev_t.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/console.h>
#include <linux/spinlock.h>
#include <linux/root_dev.h>
#include <linux/cpu.h>
#include <linux/kdebug.h>
#include <linux/export.h>
#include <linux/start_kernel.h>
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/oplib.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/traps.h>
#include <asm/vaddrs.h>
#include <asm/mbus.h>
#include <asm/idprom.h>
#include <asm/cpudata.h>
#include <asm/setup.h>
#include <asm/cacheflush.h>
#include <asm/sections.h>
#include "kernel.h"

Go to the source code of this file.

Data Structures

struct  cpuid_patch_entry
 
struct  leon_1insn_patch_entry
 

Macros

#define BOOTME_DEBUG   0x1
 
#define RAMDISK_IMAGE_START_MASK   0x07FF
 
#define RAMDISK_PROMPT_FLAG   0x8000
 
#define RAMDISK_LOAD_FLAG   0x4000
 

Functions

 EXPORT_SYMBOL (sparc_cpu_model)
 
void __init sparc32_start_kernel (struct linux_romvec *rp)
 
void __init setup_arch (char **cmdline_p)
 
void sun_do_break (void)
 
 EXPORT_SYMBOL (sun_do_break)
 
 subsys_initcall (topology_init)
 

Variables

struct screen_info screen_info
 
unsigned long trapbase
 
unsigned char boot_cpu_id = 0xff
 
unsigned short root_flags
 
unsigned short root_dev
 
unsigned short ram_flags
 
int root_mountflags
 
char reboot_command [COMMAND_LINE_SIZE]
 
struct cpuid_patch_entry
__cpuid_patch 
__cpuid_patch_end
 
enum sparc_cpu sparc_cpu_model
 
struct tt_entrysparc_ttable
 
struct pt_regs fake_swapper_regs
 
int stop_a_enabled = 1
 

Macro Definition Documentation

#define BOOTME_DEBUG   0x1

Definition at line 103 of file setup_32.c.

#define RAMDISK_IMAGE_START_MASK   0x07FF

Definition at line 188 of file setup_32.c.

#define RAMDISK_LOAD_FLAG   0x4000

Definition at line 190 of file setup_32.c.

#define RAMDISK_PROMPT_FLAG   0x8000

Definition at line 189 of file setup_32.c.

Function Documentation

EXPORT_SYMBOL ( sparc_cpu_model  )
EXPORT_SYMBOL ( sun_do_break  )
void __init setup_arch ( char **  cmdline_p)

Definition at line 298 of file setup_32.c.

void __init sparc32_start_kernel ( struct linux_romvec rp)

Definition at line 275 of file setup_32.c.

subsys_initcall ( topology_init  )
void sun_do_break ( void  )

Definition at line 386 of file setup_32.c.

Variable Documentation

struct cpuid_patch_entry __cpuid_patch __cpuid_patch_end
unsigned char boot_cpu_id = 0xff

Definition at line 109 of file setup_32.c.

struct pt_regs fake_swapper_regs

Definition at line 270 of file setup_32.c.

unsigned short ram_flags
char reboot_command[COMMAND_LINE_SIZE]

Definition at line 194 of file setup_32.c.

unsigned short root_dev

Definition at line 79 of file bootparam.h.

unsigned short root_flags

Definition at line 72 of file bootparam.h.

int root_mountflags

Definition at line 38 of file do_mounts.c.

Initial value:
= {
0, 0,
0,
0,
0,
128,
0,0,0,
54,
0,
16
}

Definition at line 53 of file setup_32.c.

enum sparc_cpu sparc_cpu_model

Definition at line 247 of file setup_32.c.

struct tt_entry* sparc_ttable

Definition at line 269 of file setup_32.c.

int stop_a_enabled = 1

Definition at line 398 of file setup_32.c.

unsigned long trapbase