#ifdef CONFIG_PA11 staticvoid __init dma_ops_init(void)
{ switch (boot_cpu_data.cpu_type) { case pcx: /* * We've got way too many dependencies on 1.1 semantics * to support 1.0 boxes at this point.
*/
panic( "PA-RISC Linux currently only supports machines that conform to\n" "the PA-RISC 1.1 or 2.0 architecture specification.\n");
/* * Check if initial kernel page mappings are sufficient. * panic early if not, else we may access kernel functions * and variables which can't be reached.
*/ if (__pa((unsignedlong) &_end) >= KERNEL_INITIAL_SIZE)
panic("KERNEL_INITIAL_ORDER too small!");
#ifdef CONFIG_64BIT if(parisc_narrow_firmware) {
printk(KERN_INFO "Kernel is using PDC in 32-bit mode.\n");
} #endif
setup_pdc();
setup_cmdline(cmdline_p);
collect_boot_cpu_data();
do_memory_inventory(); /* probe for physical memory */
parisc_cache_init();
paging_init();
#ifdef CONFIG_PA11
dma_ops_init(); #endif
clear_sched_clock_stable();
}
/* * Display CPU info for all CPUs.
*/ staticvoid *
c_start (struct seq_file *m, loff_t *pos)
{ /* Looks like the caller will call repeatedly until we return * 0, signaling EOF perhaps. This could be used to sequence * through CPUs for example. Since we print all cpu info in our * show_cpuinfo() disregarding 'pos' (which I assume is 'v' above)
* we only allow for one "position". */ return ((long)*pos < 1) ? (void *)1 : NULL;
}
/* start with known state */
flush_cache_all_local();
flush_tlb_all_local(NULL);
processor_init(); #ifdef CONFIG_SMP
pr_info("CPU(s): %d out of %d %s at %d.%06d MHz online\n",
num_online_cpus(), num_present_cpus(), #else
pr_info("CPU(s): 1 x %s at %d.%06d MHz\n", #endif
boot_cpu_data.cpu_name,
boot_cpu_data.cpu_hz / 1000000,
boot_cpu_data.cpu_hz % 1000000 );
#ifdefined(CONFIG_64BIT) && defined(CONFIG_SMP) /* Don't serialize TLB flushes if we run on one CPU only. */ if (num_online_cpus() == 1)
pa_serialize_tlb_flushes = 0; #endif
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.