mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
initial sparc64 support - sparc fixes (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1251 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
49be803015
commit
af7bf89b1f
7 changed files with 263 additions and 180 deletions
|
@ -209,7 +209,8 @@ void helper_st_asi(int asi, int size, int sign)
|
|||
|
||||
void helper_rett()
|
||||
{
|
||||
int cwp;
|
||||
unsigned int cwp;
|
||||
|
||||
env->psret = 1;
|
||||
cwp = (env->cwp + 1) & (NWINDOWS - 1);
|
||||
if (env->wim & (1 << cwp)) {
|
||||
|
@ -255,3 +256,13 @@ void helper_debug()
|
|||
env->exception_index = EXCP_DEBUG;
|
||||
cpu_loop_exit();
|
||||
}
|
||||
|
||||
void do_wrpsr()
|
||||
{
|
||||
PUT_PSR(env, T0);
|
||||
}
|
||||
|
||||
void do_rdpsr()
|
||||
{
|
||||
T0 = GET_PSR(env);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue