1 |
/* |
/* |
2 |
* PPC emulation definitions for qemu. |
* PowerPC emulation definitions for qemu. |
3 |
* |
* |
4 |
* Copyright (c) 2003 Jocelyn Mayer |
* Copyright (c) 2003-2005 Jocelyn Mayer |
5 |
* |
* |
6 |
* This library is free software; you can redistribute it and/or |
* This library is free software; you can redistribute it and/or |
7 |
* modify it under the terms of the GNU Lesser General Public |
* modify it under the terms of the GNU Lesser General Public |
119 |
void do_raise_exception_err (uint32_t exception, int error_code); |
void do_raise_exception_err (uint32_t exception, int error_code); |
120 |
void do_raise_exception (uint32_t exception); |
void do_raise_exception (uint32_t exception); |
121 |
|
|
|
void do_load_cr (void); |
|
|
void do_store_cr (uint32_t mask); |
|
|
void do_load_xer (void); |
|
|
void do_store_xer (void); |
|
|
void do_load_msr (void); |
|
|
void do_store_msr (void); |
|
|
void do_load_fpscr (void); |
|
|
void do_store_fpscr (uint32_t mask); |
|
|
|
|
122 |
void do_sraw(void); |
void do_sraw(void); |
123 |
|
|
124 |
void do_fctiw (void); |
void do_fctiw (void); |
134 |
|
|
135 |
void do_check_reservation (void); |
void do_check_reservation (void); |
136 |
void do_icbi (void); |
void do_icbi (void); |
|
void do_store_sr (uint32_t srnum); |
|
|
void do_store_ibat (int ul, int nr); |
|
|
void do_store_dbat (int ul, int nr); |
|
137 |
void do_tlbia (void); |
void do_tlbia (void); |
138 |
void do_tlbie (void); |
void do_tlbie (void); |
139 |
|
|
|
void dump_state (void); |
|
|
void dump_rfi (void); |
|
|
void dump_store_sr (int srnum); |
|
|
void dump_store_ibat (int ul, int nr); |
|
|
void dump_store_dbat (int ul, int nr); |
|
|
void dump_store_tb (int ul); |
|
|
void dump_update_tb(uint32_t param); |
|
|
|
|
140 |
static inline void env_to_regs(void) |
static inline void env_to_regs(void) |
141 |
{ |
{ |
142 |
} |
} |