setup.c (f9bd170a87948a9e077149b70fb192c563770fdf) setup.c (033ef338b6e007dc081c6282a4f2a9dd761f8cd2)
1/*
1/*
2 * linux/arch/ppc/kernel/setup.c
2 * 64-bit pSeries and RS/6000 setup code.
3 *
4 * Copyright (C) 1995 Linus Torvalds
5 * Adapted from 'alpha' version by Gary Thomas
6 * Modified by Cort Dougan (cort@cs.nmt.edu)
7 * Modified by PPC64 Team, IBM Corp
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License

--- 51 unchanged lines hidden (view full) ---

62#include <asm/xics.h>
63#include <asm/firmware.h>
64#include <asm/pmc.h>
65#include <asm/mpic.h>
66#include <asm/ppc-pci.h>
67#include <asm/i8259.h>
68#include <asm/udbg.h>
69
3 *
4 * Copyright (C) 1995 Linus Torvalds
5 * Adapted from 'alpha' version by Gary Thomas
6 * Modified by Cort Dougan (cort@cs.nmt.edu)
7 * Modified by PPC64 Team, IBM Corp
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License

--- 51 unchanged lines hidden (view full) ---

62#include <asm/xics.h>
63#include <asm/firmware.h>
64#include <asm/pmc.h>
65#include <asm/mpic.h>
66#include <asm/ppc-pci.h>
67#include <asm/i8259.h>
68#include <asm/udbg.h>
69
70#include "rtas-fw.h"
71
70#ifdef DEBUG
71#define DBG(fmt...) udbg_printf(fmt)
72#else
73#define DBG(fmt...)
74#endif
75
76extern void find_udbg_vterm(void);
77extern void system_reset_fwnmi(void); /* from head.S */

--- 506 unchanged lines hidden (view full) ---

584 .probe = pSeries_probe,
585 .setup_arch = pSeries_setup_arch,
586 .init_early = pSeries_init_early,
587 .show_cpuinfo = pSeries_show_cpuinfo,
588 .log_error = pSeries_log_error,
589 .pcibios_fixup = pSeries_final_fixup,
590 .pci_probe_mode = pSeries_pci_probe_mode,
591 .irq_bus_setup = pSeries_irq_bus_setup,
72#ifdef DEBUG
73#define DBG(fmt...) udbg_printf(fmt)
74#else
75#define DBG(fmt...)
76#endif
77
78extern void find_udbg_vterm(void);
79extern void system_reset_fwnmi(void); /* from head.S */

--- 506 unchanged lines hidden (view full) ---

586 .probe = pSeries_probe,
587 .setup_arch = pSeries_setup_arch,
588 .init_early = pSeries_init_early,
589 .show_cpuinfo = pSeries_show_cpuinfo,
590 .log_error = pSeries_log_error,
591 .pcibios_fixup = pSeries_final_fixup,
592 .pci_probe_mode = pSeries_pci_probe_mode,
593 .irq_bus_setup = pSeries_irq_bus_setup,
592 .restart = rtas_restart,
593 .power_off = rtas_power_off,
594 .halt = rtas_halt,
594 .restart = rtas_fw_restart,
595 .power_off = rtas_fw_power_off,
596 .halt = rtas_fw_halt,
595 .panic = rtas_os_term,
596 .cpu_die = pSeries_mach_cpu_die,
597 .get_boot_time = rtas_get_boot_time,
598 .get_rtc_time = rtas_get_rtc_time,
599 .set_rtc_time = rtas_set_rtc_time,
600 .calibrate_decr = generic_calibrate_decr,
601 .progress = rtas_progress,
602 .check_legacy_ioport = pSeries_check_legacy_ioport,
603 .system_reset_exception = pSeries_system_reset_exception,
604 .machine_check_exception = pSeries_machine_check_exception,
605};
597 .panic = rtas_os_term,
598 .cpu_die = pSeries_mach_cpu_die,
599 .get_boot_time = rtas_get_boot_time,
600 .get_rtc_time = rtas_get_rtc_time,
601 .set_rtc_time = rtas_set_rtc_time,
602 .calibrate_decr = generic_calibrate_decr,
603 .progress = rtas_progress,
604 .check_legacy_ioport = pSeries_check_legacy_ioport,
605 .system_reset_exception = pSeries_system_reset_exception,
606 .machine_check_exception = pSeries_machine_check_exception,
607};