#include <linux/config.h>#include <linux/module.h>#include <linux/string.h>#include <linux/sched.h>#include <linux/init.h>#include <linux/reboot.h>#include <linux/delay.h>#include <linux/blk.h>#include <asm/adb.h>#include <asm/cuda.h>#include <asm/pmu.h>#include <asm/residual.h>#include <asm/io.h>#include <asm/ide.h>#include <asm/prom.h>#include <asm/processor.h>#include <asm/pgtable.h>#include <asm/bootinfo.h>#include <asm/setup.h>#include <asm/amigappc.h>#include <asm/smp.h>#include <asm/bootx.h>#include <asm/machdep.h>#include <asm/uaccess.h>Include dependency graph for ppc/kernel/setup.c:

Go to the source code of this file.
Defines | |
| #define | CPU_PRESENT(x) ((x)==0) |
| #define | smp_num_cpus 1 |
| #define | GET_PVR ((long int)_get_PVR()) |
| #define | CD(x) (x) |
Functions | |
| void | pmac_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| void | chrp_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| void | prep_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| void | mbx_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| void | apus_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| void | gemini_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| __initfunc (int pmac_display_supported(char *name)) | |
| __initfunc (void pmac_find_display(void)) | |
| void | machine_restart (char *cmd) |
| void | machine_power_off (void) |
| void | machine_halt (void) |
| unsigned long | cpu_temp (void) |
| int | get_cpuinfo (char *buffer) |
| unsigned long __init | identify_machine (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7) |
| void | ppc_setup_l2cr (char *str, int *ints) |
| __initfunc (void setup_arch(char **cmdline_p, unsigned long *memory_start_p, unsigned long *memory_end_p)) | |
| void | note_bootable_part (kdev_t dev, int part, int goodness) |
| void | ppc_generic_ide_fix_driveid (struct hd_driveid *id) |
Variables | |
| boot_infos_t * | boot_infos |
| char | cmd_line [512] |
| char | saved_command_line [256] |
| unsigned char | aux_device_present |
| ide_machdep_calls | ppc_ide_md |
| unsigned long | ISA_DMA_THRESHOLD |
| unsigned long | DMA_MODE_READ |
| unsigned long | DMA_MODE_WRITE |
| int | _machine = 0 |
| int | have_of = 0 |
| int | is_prep = 0 |
| int | is_chrp = 0 |
| int | is_powerplus = 0 |
| machdep_calls | ppc_md |
| unsigned char __res[sizeof(RESIDUAL) | __prepdata ) = {0,} |
| RESIDUAL * | res = (RESIDUAL *)&__res |
| screen_info | screen_info |
|
|
|
|
|
Referenced by get_cpuinfo(). |
|
|
Referenced by get_cpuinfo(). |
|
|
|
Definition at line 575 of file ppc/kernel/setup.c. References _edata, _etext, cmd_line, end_of_DRAM, find_available_memory(), init_task, klimit, long, NULL, PAGE_OFFSET, panic_timeout, saved_command_line, machdep_calls::setup_arch, sort_exception_table(), strcpy, strstr(), xmon(), and xmon_map_scc(). Here is the call graph for this function: ![]() |
|
|
Definition at line 141 of file ppc/kernel/setup.c. |
|
|
Definition at line 137 of file ppc/kernel/setup.c. |
|
||||||||||||||||||||||||
|
Referenced by identify_machine(). |
|
||||||||||||||||||||||||
|
Referenced by identify_machine(). |
|
|
Definition at line 187 of file ppc/kernel/setup.c. References printk, THRM1_TIN, THRM1_TIV, THRM1_V, THRM3_E, and udelay. Referenced by get_cpuinfo(). |
|
||||||||||||||||||||||||
|
|
Definition at line 216 of file ppc/kernel/setup.c. References __init, CD, CPU_PRESENT, cpu_temp(), find_type_devices(), fp, machdep_calls::get_cpuinfo, get_property(), GET_PVR, have_of, HZ, i, if, len, loops_per_jiffy, device_node::next, next, NULL, PAGE_SIZE, printk, s, machdep_calls::setup_residual, smp_num_cpus, sprintf(), xff, zero_cache_calls, zero_cache_hits, zero_cache_sz, and zero_cache_total. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||||||
|
Definition at line 354 of file ppc/kernel/setup.c. References __map_without_bats, __max_memory, _MACH_apus, _MACH_chrp, _MACH_fads, _MACH_gemini, _MACH_mbx, _MACH_Pmac, _MACH_prep, _machine, apus_init(), chrp_init(), cmd_line, find_devices(), find_path_device(), finish_device_tree(), first_cpu_booted, gemini_init(), get_property(), have_of, initrd_end, initrd_start, is_chrp, is_prep, KERNELBASE, mbx_init(), MKDEV, NULL, pmac_init(), prep_init(), printk, RAMDISK_MAJOR, relocate_nodes(), ROOT_DEV, simple_strtoul(), strncmp(), strncpy, strstr(), and x4000(). Here is the call graph for this function: ![]() |
|
|
Definition at line 173 of file ppc/kernel/setup.c. References machdep_calls::halt. |
|
|
Definition at line 168 of file ppc/kernel/setup.c. References machdep_calls::power_off. |
|
|
Definition at line 163 of file ppc/kernel/setup.c. References machdep_calls::restart. |
|
||||||||||||||||||||||||
|
Referenced by identify_machine(). |
|
||||||||||||||||
|
Definition at line 618 of file ppc/kernel/setup.c. |
|
||||||||||||||||||||||||
|
Referenced by identify_machine(). |
|
|
||||||||||||
|
Definition at line 555 of file ppc/kernel/setup.c. References _get_PVR(), _set_L2CR(), KERN_INFO, NULL, printk, simple_strtoul(), and val. Here is the call graph for this function: ![]() |
|
||||||||||||||||||||||||
|
Referenced by identify_machine(). |
|
|
Definition at line 108 of file ppc/kernel/setup.c. |
|
|
|
Definition at line 79 of file ppc/kernel/setup.c. |
|
|
|
|
|
Definition at line 43 of file arch/ppc/boot/misc.c. |
|
|
Definition at line 84 of file ppc/kernel/setup.c. |
|
|
Definition at line 84 of file ppc/kernel/setup.c. |
|
|
Definition at line 89 of file ppc/kernel/setup.c. Referenced by __initfunc(), get_cpuinfo(), identify_machine(), and proc_device_tree_init(). |
|
|
Definition at line 91 of file ppc/kernel/setup.c. Referenced by identify_machine(). |
|
|
Definition at line 95 of file ppc/kernel/setup.c. |
|
|
Definition at line 90 of file ppc/kernel/setup.c. Referenced by __initfunc(), identify_machine(), and sym53c8xx_pci_init(). |
|
|
Definition at line 83 of file ppc/kernel/setup.c. |
|
|
Definition at line 81 of file ppc/kernel/setup.c. Referenced by __initfunc(). |
|
|
|
|
Definition at line 78 of file ppc/kernel/setup.c. |
|
|
Initial value: {
0, 25,
0,
0,
0,
80,
0,0,0,
25,
1,
16
}
Definition at line 122 of file ppc/kernel/setup.c. |