target-ppc: convert SLB/TLB instructions to TCG
[qemu/mini2440/sniper_sniper_test.git] / target-ppc / op_helper.h
blob1de35a1b0b351f1ba5f1fba2316511ce875adef7
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 void do_print_mem_EA (target_ulong EA);
23 /* Registers load and stores */
24 #if defined(TARGET_PPC64)
25 void do_store_pri (int prio);
26 #endif
27 target_ulong ppc_load_dump_spr (int sprn);
28 void ppc_store_dump_spr (int sprn, target_ulong val);
30 /* Misc */
31 /* POWER / PowerPC 601 specific helpers */
32 #if !defined(CONFIG_USER_ONLY)
33 void do_POWER_rac (void);
34 void do_store_hid0_601 (void);
35 #endif
37 /* PowerPC 403 specific helpers */
38 #if !defined(CONFIG_USER_ONLY)
39 void do_load_403_pb (int num);
40 void do_store_403_pb (int num);
41 #endif