Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
setup_mm.c File Reference
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fs.h>
#include <linux/console.h>
#include <linux/genhd.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/module.h>
#include <linux/initrd.h>
#include <asm/bootinfo.h>
#include <asm/sections.h>
#include <asm/setup.h>
#include <asm/fpu.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/machdep.h>
#include <asm/natfeat.h>

Go to the source code of this file.

Macros

#define MASK_256K   0xfffc0000
 
#define LOOP_CYCLES_68020   (8)
 
#define LOOP_CYCLES_68030   (8)
 
#define LOOP_CYCLES_68040   (3)
 
#define LOOP_CYCLES_68060   (1)
 
#define LOOP_CYCLES_COLDFIRE   (2)
 

Functions

 EXPORT_SYMBOL (m68k_machtype)
 
 EXPORT_SYMBOL (m68k_cputype)
 
 EXPORT_SYMBOL (m68k_mmutype)
 
 EXPORT_SYMBOL (m68k_is040or060)
 
 EXPORT_SYMBOL (m68k_num_memory)
 
 EXPORT_SYMBOL (m68k_realnum_memory)
 
 EXPORT_SYMBOL (m68k_memory)
 
void __init setup_arch (char **cmdline_p)
 
void check_bugs (void)
 

Variables

unsigned long m68k_machtype
 
unsigned long m68k_cputype
 
unsigned long m68k_fputype
 
unsigned long m68k_mmutype
 
int m68k_is040or060
 
unsigned long availmem
 
int m68k_num_memory
 
int m68k_realnum_memory
 
unsigned long m68k_memoffset
 
struct mem_info m68k_memory [NUM_MEMINFO]
 
struct mem_info m68k_ramdisk
 
void(* mach_sched_init )(irq_handler_t handler) __initdata = NULL
 
void(* mach_init_IRQ )(void)
 
struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define LOOP_CYCLES_68020   (8)
#define LOOP_CYCLES_68030   (8)
#define LOOP_CYCLES_68040   (3)
#define LOOP_CYCLES_68060   (1)
#define LOOP_CYCLES_COLDFIRE   (2)
#define MASK_256K   0xfffc0000

Function Documentation

void check_bugs ( void  )

Definition at line 532 of file setup_mm.c.

EXPORT_SYMBOL ( m68k_machtype  )
EXPORT_SYMBOL ( m68k_cputype  )
EXPORT_SYMBOL ( m68k_mmutype  )
EXPORT_SYMBOL ( m68k_is040or060  )
EXPORT_SYMBOL ( m68k_num_memory  )
EXPORT_SYMBOL ( m68k_realnum_memory  )
EXPORT_SYMBOL ( m68k_memory  )
void __init setup_arch ( char **  cmdline_p)

Definition at line 217 of file setup_mm.c.

Variable Documentation

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

Definition at line 482 of file setup_mm.c.

unsigned long m68k_cputype

Definition at line 54 of file setup_mm.c.

unsigned long m68k_fputype

Definition at line 56 of file setup_mm.c.

int m68k_is040or060

Definition at line 64 of file setup_mm.c.

unsigned long m68k_machtype

Definition at line 52 of file setup_mm.c.

unsigned long m68k_memoffset

Definition at line 73 of file setup_mm.c.

struct mem_info m68k_memory[NUM_MEMINFO]

Definition at line 74 of file setup_mm.c.

unsigned long m68k_mmutype

Definition at line 57 of file setup_mm.c.

int m68k_num_memory

Definition at line 69 of file setup_mm.c.

struct mem_info m68k_ramdisk

Definition at line 77 of file setup_mm.c.

int m68k_realnum_memory

Definition at line 71 of file setup_mm.c.

void(* mach_init_IRQ)(void)

Definition at line 83 of file setup_mm.c.

void(* mach_sched_init)(irq_handler_t handler) __initdata = NULL

Definition at line 81 of file setup_mm.c.