~ubuntu-branches/ubuntu/utopic/qemu/utopic

« back to all changes in this revision

Viewing changes to linux-user/signal.c

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn, Serge Hallyn, dann frazier
  • Date: 2014-01-10 12:19:08 UTC
  • Revision ID: package-import@ubuntu.com-20140110121908-6lsn06rypqbokbaf
Tags: 1.7.0+dfsg-2ubuntu6
[ Serge Hallyn ]
* add arm64 patchset from upstream.  The three arm virt patches previously
  pushed are in that set, so drop them.

[ dann frazier ]
* Add packaging for qemu-system-aarch64. This package is currently only
  available for arm64, as full software emulation is not yet supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1171
1171
    }
1172
1172
    __put_user(env->xregs[31], &sf->uc.tuc_mcontext.sp);
1173
1173
    __put_user(env->pc, &sf->uc.tuc_mcontext.pc);
1174
 
    __put_user(env->pstate, &sf->uc.tuc_mcontext.pstate);
 
1174
    __put_user(pstate_read(env), &sf->uc.tuc_mcontext.pstate);
1175
1175
 
1176
1176
    __put_user(/*current->thread.fault_address*/ 0,
1177
1177
            &sf->uc.tuc_mcontext.fault_address);
1210
1210
    struct target_aux_context *aux =
1211
1211
        (struct target_aux_context *)sf->uc.tuc_mcontext.__reserved;
1212
1212
    uint32_t magic, size;
 
1213
    uint64_t pstate;
1213
1214
 
1214
1215
    target_to_host_sigset(&set, &sf->uc.tuc_sigmask);
1215
1216
    sigprocmask(SIG_SETMASK, &set, NULL);
1220
1221
 
1221
1222
    __get_user(env->xregs[31], &sf->uc.tuc_mcontext.sp);
1222
1223
    __get_user(env->pc, &sf->uc.tuc_mcontext.pc);
1223
 
    __get_user(env->pstate, &sf->uc.tuc_mcontext.pstate);
 
1224
    __get_user(pstate, &sf->uc.tuc_mcontext.pstate);
 
1225
    pstate_write(env, pstate);
1224
1226
 
1225
1227
    __get_user(magic, &aux->fpsimd.head.magic);
1226
1228
    __get_user(size, &aux->fpsimd.head.size);