ia64/xen-unstable

view xen/arch/powerpc/exceptions.h @ 12970:dbc7ea73f5b2

[XEN][POWERPC] secondary_cpu_init() does not return.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Nov 28 16:43:53 2006 -0500 (2006-11-28)
parents 176c7264715c
children 3867217d3155
line source
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15 *
16 * Copyright (C) IBM Corp. 2005
17 *
18 * Authors: Hollis Blanchard <hollisb@us.ibm.com>
19 */
21 #ifndef _ARCH_PPC_EXCEPTIONS_H_
22 #define _ARCH_PPC_EXCEPTIONS_H_
24 #include <xen/types.h>
25 #include <public/xen.h>
26 #include <xen/multiboot.h>
28 extern void do_hcall(struct cpu_user_regs *regs);
29 extern void do_IRQ(struct cpu_user_regs *regs);
30 extern void deliver_ee(struct cpu_user_regs *regs);
31 extern void do_external(struct cpu_user_regs *regs);
32 extern void init_IRQ(void);
33 extern void ack_APIC_irq(void);
34 extern int ioapic_guest_read(unsigned long physbase, unsigned int reg, u32 *pval);
35 extern int ioapic_guest_write(unsigned long physbase, unsigned int reg, u32 val);
36 extern void __start_xen_ppc(
37 ulong r3, ulong r4, ulong r5, ulong r6, ulong r7, ulong orig_msr);
38 extern multiboot_info_t *boot_of_init(ulong r3, ulong r4, ulong vec, ulong r6, ulong r7, ulong orig_msr);
40 extern void do_timer(struct cpu_user_regs *regs);
41 extern void do_dec(struct cpu_user_regs *regs);
42 extern void program_exception(
43 struct cpu_user_regs *regs, unsigned long cookie);
45 extern long xen_hvcall_jump(struct cpu_user_regs *regs, ulong address);
47 extern void sleep(void);
48 extern void idle_loop(void);
50 extern ulong *__hypercall_table[];
52 extern char exception_vectors[];
53 extern char exception_vectors_end[];
54 extern int spin_start[];
55 extern void secondary_cpu_init(int cpuid, unsigned long r4);
56 #endif