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/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/user.h>
#include <linux/screen_info.h>
#include <linux/delay.h>
#include <linux/mc146818rtc.h>
#include <linux/console.h>
#include <linux/cpu.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/bootmem.h>
#include <linux/pci.h>
#include <linux/seq_file.h>
#include <linux/root_dev.h>
#include <linux/initrd.h>
#include <linux/eisa.h>
#include <linux/pfn.h>
#include <linux/notifier.h>
#include <asm/setup.h>
#include <asm/io.h>
#include <linux/log2.h>
#include <linux/export.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/hwrpb.h>
#include <asm/dma.h>
#include <asm/mmu_context.h>
#include <asm/console.h>
#include "proto.h"
#include "pci_impl.h"

Go to the source code of this file.

Macros

#define WEAK(X)
 
#define PFN_MAX   PFN_DOWN(0x80000000)
 
#define for_each_mem_cluster(memdesc, _cluster, i)
 
#define CSHAPE(totalsize, linesize, assoc)   ((totalsize & ~0xff) | (linesize << 4) | assoc)
 
#define MAX_BCACHE_SIZE   16*1024*1024
 

Functions

 EXPORT_SYMBOL (hwrpb)
 
 EXPORT_SYMBOL (screen_info)
 
 EXPORT_SYMBOL (__direct_map_base)
 
 EXPORT_SYMBOL (__direct_map_size)
 
 WEAK (alcor_mv)
 
 WEAK (alphabook1_mv)
 
 WEAK (avanti_mv)
 
 WEAK (cabriolet_mv)
 
 WEAK (clipper_mv)
 
 WEAK (dp264_mv)
 
 WEAK (eb164_mv)
 
 WEAK (eb64p_mv)
 
 WEAK (eb66_mv)
 
 WEAK (eb66p_mv)
 
 WEAK (eiger_mv)
 
 WEAK (jensen_mv)
 
 WEAK (lx164_mv)
 
 WEAK (lynx_mv)
 
 WEAK (marvel_ev7_mv)
 
 WEAK (miata_mv)
 
 WEAK (mikasa_mv)
 
 WEAK (mikasa_primo_mv)
 
 WEAK (monet_mv)
 
 WEAK (nautilus_mv)
 
 WEAK (noname_mv)
 
 WEAK (noritake_mv)
 
 WEAK (noritake_primo_mv)
 
 WEAK (p2k_mv)
 
 WEAK (pc164_mv)
 
 WEAK (privateer_mv)
 
 WEAK (rawhide_mv)
 
 WEAK (ruffian_mv)
 
 WEAK (rx164_mv)
 
 WEAK (sable_mv)
 
 WEAK (sable_gamma_mv)
 
 WEAK (shark_mv)
 
 WEAK (sx164_mv)
 
 WEAK (takara_mv)
 
 WEAK (titan_mv)
 
 WEAK (webbrick_mv)
 
 WEAK (wildfire_mv)
 
 WEAK (xl_mv)
 
 WEAK (xlt_mv)
 
int __init page_is_ram (unsigned long pfn)
 
 arch_initcall (register_cpus)
 
void __init setup_arch (char **cmdline_p)
 
 device_initcall (add_pcspkr)
 

Variables

struct atomic_notifier_head panic_notifier_list
 
struct hwrpb_structhwrpb
 
unsigned long srm_hae
 
int alpha_l1i_cacheshape
 
int alpha_l1d_cacheshape
 
int alpha_l2_cacheshape
 
int alpha_l3_cacheshape
 
int boot_cpuid
 
int srmcons_output = 0
 
unsigned long mem_size_limit = 0
 
unsigned long alpha_agpgart_size = DEFAULT_AGP_APER_SIZE
 
struct screen_info screen_info
 
unsigned long __direct_map_base
 
unsigned long __direct_map_size
 
struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define CSHAPE (   totalsize,
  linesize,
  assoc 
)    ((totalsize & ~0xff) | (linesize << 4) | assoc)

Definition at line 1295 of file setup.c.

#define for_each_mem_cluster (   memdesc,
  _cluster,
  i 
)
Value:
for ((_cluster) = (memdesc)->cluster, (i) = 0; \
(i) < (memdesc)->numclusters; (i)++, (_cluster)++)

Definition at line 255 of file setup.c.

#define MAX_BCACHE_SIZE   16*1024*1024

Definition at line 1300 of file setup.c.

#define PFN_MAX   PFN_DOWN(0x80000000)

Definition at line 254 of file setup.c.

#define WEAK (   X)
Value:
extern struct alpha_machine_vector X; \
asm(".weak "#X)

Definition at line 166 of file setup.c.

Function Documentation

arch_initcall ( register_cpus  )
device_initcall ( add_pcspkr  )
EXPORT_SYMBOL ( hwrpb  )
EXPORT_SYMBOL ( screen_info  )
EXPORT_SYMBOL ( __direct_map_base  )
EXPORT_SYMBOL ( __direct_map_size  )
int __init page_is_ram ( unsigned long  pfn)

Definition at line 464 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 500 of file setup.c.

WEAK ( alcor_mv  )
WEAK ( alphabook1_mv  )
WEAK ( avanti_mv  )
WEAK ( cabriolet_mv  )
WEAK ( clipper_mv  )
WEAK ( dp264_mv  )
WEAK ( eb164_mv  )
WEAK ( eb64p_mv  )
WEAK ( eb66_mv  )
WEAK ( eb66p_mv  )
WEAK ( eiger_mv  )
WEAK ( jensen_mv  )
WEAK ( lx164_mv  )
WEAK ( lynx_mv  )
WEAK ( marvel_ev7_mv  )
WEAK ( miata_mv  )
WEAK ( mikasa_mv  )
WEAK ( mikasa_primo_mv  )
WEAK ( monet_mv  )
WEAK ( nautilus_mv  )
WEAK ( noname_mv  )
WEAK ( noritake_mv  )
WEAK ( noritake_primo_mv  )
WEAK ( p2k_mv  )
WEAK ( pc164_mv  )
WEAK ( privateer_mv  )
WEAK ( rawhide_mv  )
WEAK ( ruffian_mv  )
WEAK ( rx164_mv  )
WEAK ( sable_mv  )
WEAK ( sable_gamma_mv  )
WEAK ( shark_mv  )
WEAK ( sx164_mv  )
WEAK ( takara_mv  )
WEAK ( titan_mv  )
WEAK ( webbrick_mv  )
WEAK ( wildfire_mv  )
WEAK ( xl_mv  )
WEAK ( xlt_mv  )

Variable Documentation

unsigned long __direct_map_base

Definition at line 153 of file setup.c.

unsigned long __direct_map_size

Definition at line 154 of file setup.c.

unsigned long alpha_agpgart_size = DEFAULT_AGP_APER_SIZE

Definition at line 114 of file setup.c.

int alpha_l1d_cacheshape

Definition at line 72 of file setup.c.

int alpha_l1i_cacheshape

Definition at line 71 of file setup.c.

int alpha_l2_cacheshape

Definition at line 73 of file setup.c.

int alpha_l3_cacheshape

Definition at line 74 of file setup.c.

int boot_cpuid

Definition at line 88 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 1479 of file setup.c.

Definition at line 67 of file setup.c.

unsigned long mem_size_limit = 0

Definition at line 111 of file setup.c.

struct atomic_notifier_head panic_notifier_list
Initial value:
= {
.orig_x = 0,
.orig_y = 25,
.orig_video_cols = 80,
.orig_video_lines = 25,
.orig_video_isVGA = 1,
.orig_video_points = 16
}

Definition at line 137 of file setup.c.

unsigned long srm_hae

Definition at line 69 of file setup.c.

int srmcons_output = 0

Definition at line 108 of file setup.c.