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/module.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/bootmem.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/reboot.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/string.h>
#include <linux/threads.h>
#include <linux/screen_info.h>
#include <linux/dmi.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/efi.h>
#include <linux/initrd.h>
#include <linux/pm.h>
#include <linux/cpufreq.h>
#include <linux/kexec.h>
#include <linux/crash_dump.h>
#include <asm/machvec.h>
#include <asm/mca.h>
#include <asm/meminit.h>
#include <asm/page.h>
#include <asm/paravirt.h>
#include <asm/paravirt_patch.h>
#include <asm/patch.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/sal.h>
#include <asm/sections.h>
#include <asm/setup.h>
#include <asm/smp.h>
#include <asm/tlbflush.h>
#include <asm/unistd.h>
#include <asm/hpsim.h>

Go to the source code of this file.

Macros

#define I_CACHE_STRIDE_SHIFT   5 /* Safest way to go: 32 bytes by 32 bytes */
 
#define CACHE_STRIDE_SHIFT   5
 
#define lpj   loops_per_jiffy
 
#define cpunum   0
 
#define MAX_BRANDS   8
 

Functions

 DEFINE_PER_CPU (struct cpuinfo_ia64, ia64_cpu_info)
 
 DEFINE_PER_CPU (unsigned long, local_per_cpu_offset)
 
 EXPORT_SYMBOL (ia64_iobase)
 
 EXPORT_SYMBOL (io_space)
 
 EXPORT_SYMBOL (ia64_max_iommu_merge_mask)
 
int __init filter_rsvd_memory (u64 start, u64 end, void *arg)
 
int __init filter_memory (u64 start, u64 end, void *arg)
 
 __initcall (register_memory)
 
void __init reserve_memory (void)
 
void __init find_initrd (void)
 
 early_param ("nomca", setup_nomca)
 
void __init setup_arch (char **cmdline_p)
 
void __cpuinit cpu_init (void)
 
void __init check_bugs (void)
 
 core_initcall (run_dmi_scan)
 

Variables

unsigned long ia64_cycles_per_usec
 
struct ia64_boot_paramia64_boot_param
 
struct screen_info screen_info
 
unsigned long vga_console_iobase
 
unsigned long vga_console_membase
 
unsigned long ia64_max_cacheline_size
 
unsigned long ia64_iobase
 
struct io_space io_space [MAX_IO_SPACES]
 
unsigned int num_io_spaces
 
unsigned long ia64_i_cache_stride_shift = ~0
 
unsigned long ia64_cache_stride_shift = ~0
 
unsigned long ia64_max_iommu_merge_mask = ~0UL
 
struct rsvd_region rsvd_region[IA64_MAX_RSVD_REGIONS+1] __initdata
 
struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define CACHE_STRIDE_SHIFT   5

Definition at line 117 of file setup.c.

#define cpunum   0
#define I_CACHE_STRIDE_SHIFT   5 /* Safest way to go: 32 bytes by 32 bytes */

Definition at line 110 of file setup.c.

#define lpj   loops_per_jiffy
#define MAX_BRANDS   8

Definition at line 748 of file setup.c.

Function Documentation

__initcall ( register_memory  )
void __init check_bugs ( void  )

Definition at line 1058 of file setup.c.

core_initcall ( run_dmi_scan  )
void __cpuinit cpu_init ( void  )

Definition at line 919 of file setup.c.

DEFINE_PER_CPU ( struct cpuinfo_ia64  ,
ia64_cpu_info   
)
DEFINE_PER_CPU ( unsigned  long,
local_per_cpu_offset   
)
early_param ( "nomca"  ,
setup_nomca   
)
EXPORT_SYMBOL ( ia64_iobase  )
EXPORT_SYMBOL ( io_space  )
EXPORT_SYMBOL ( ia64_max_iommu_merge_mask  )
int __init filter_memory ( u64  start,
u64  end,
void arg 
)

Definition at line 186 of file setup.c.

int __init filter_rsvd_memory ( u64  start,
u64  end,
void arg 
)

Definition at line 146 of file setup.c.

void __init find_initrd ( void  )

find_initrd - get initrd parameters from the boot parameter structure

Grab the initrd start and end from the boot parameter struct given us by the boot loader.

Definition at line 404 of file setup.c.

void __init reserve_memory ( void  )

reserve_memory - setup reserved memory areas

Setup the reserved memory areas set aside for the boot parameters, initrd, etc. There are currently IA64_MAX_RSVD_REGIONS defined, see arch/ia64/include/asm/meminit.h if you need to define more.

Definition at line 338 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 527 of file setup.c.

Variable Documentation

int num_rsvd_regions __initdata

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

Definition at line 78 of file setup.c.

unsigned long ia64_cache_stride_shift = ~0

Definition at line 118 of file setup.c.

unsigned long ia64_cycles_per_usec

Definition at line 77 of file setup.c.

unsigned long ia64_i_cache_stride_shift = ~0

Definition at line 111 of file setup.c.

unsigned long ia64_iobase

Definition at line 100 of file setup.c.

unsigned long ia64_max_cacheline_size

Definition at line 98 of file setup.c.

unsigned long ia64_max_iommu_merge_mask = ~0UL

Definition at line 129 of file setup.c.

Definition at line 102 of file setup.c.

unsigned int num_io_spaces

Definition at line 104 of file setup.c.

Definition at line 79 of file setup.c.

unsigned long vga_console_iobase

Definition at line 80 of file setup.c.

unsigned long vga_console_membase

Definition at line 81 of file setup.c.