Device-assignment: really exit if cmdline parsing fails
[qemu-kvm/fedora.git] / target-ppc / op_helper.h
blob0fc379a8e1469d7f9d21fc04c32b68ad75143a8a
1 /*
2 * PowerPC emulation helpers header for qemu.
4 * Copyright (c) 2003-2007 Jocelyn Mayer
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 /* Registers load and stores */
22 #if defined(TARGET_PPC64)
23 void do_store_pri (int prio);
24 #endif
25 target_ulong ppc_load_dump_spr (int sprn);
26 void ppc_store_dump_spr (int sprn, target_ulong val);
28 /* Misc */
29 /* POWER / PowerPC 601 specific helpers */
30 #if !defined(CONFIG_USER_ONLY)
31 void do_store_hid0_601 (void);
32 #endif
34 /* PowerPC 403 specific helpers */
35 #if !defined(CONFIG_USER_ONLY)
36 void do_load_403_pb (int num);
37 void do_store_403_pb (int num);
38 #endif