Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/cpu.h>
#include <asm/param.h>
#include <asm/cache.h>
#include <asm/hardware.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/pdc.h>
#include <asm/pdcpat.h>
#include <asm/irq.h>
#include <asm/parisc-device.h>
Go to the source code of this file.
Macros | |
#define | p ((unsigned long *)&boot_cpu_data.pdc.model) |
Variables | |
struct system_cpuinfo_parisc boot_cpu_data | __read_mostly |
unsigned char p ((unsigned long *)&boot_cpu_data.pdc.model) |
collect_boot_cpu_data - Fill the boot_cpu_data structure.
This function collects and stores the generic processor information in the boot_cpu_data structure.
Definition at line 242 of file processor.c.
DEFINE_PER_CPU | ( | struct cpuinfo_parisc | , |
cpu_data | |||
) |
EXPORT_SYMBOL | ( | boot_cpu_data | ) |
init_per_cpu - Handle individual processor initializations. : logical processor number.
This function handles initialization for every CPU in the system:
o Set "default" CPU width for trap handlers
o Enable FP coprocessor REVISIT: this could be done in the "code 22" trap handler. (frowands idea - that way we know which processes need FP registers saved on the interrupt stack.) NEWS FLASH: wide kernels need FP coprocessor enabled to handle formatted printing of lx for example (double divides I think)
o Enable CPU profiling hooks.
Definition at line 302 of file processor.c.
processor_init - Processor initialization procedure.
Register this driver.
Definition at line 419 of file processor.c.
struct system_cpuinfo_parisc boot_cpu_data __read_mostly |
Definition at line 45 of file processor.c.