mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
MIPS Userland TLS register emulation, by Daniel Jacobowitz.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2465 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c05ac0cdac
commit
6f5b89a07c
6 changed files with 39 additions and 2 deletions
|
@ -4728,6 +4728,12 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
|
|||
case 3:
|
||||
gen_op_rdhwr_ccres();
|
||||
break;
|
||||
#if defined (CONFIG_USER_ONLY)
|
||||
case 29:
|
||||
gen_op_tls_value ();
|
||||
GEN_STORE_TN_REG(rt, T0);
|
||||
break;
|
||||
#endif
|
||||
default: /* Invalid */
|
||||
MIPS_INVAL("rdhwr");
|
||||
generate_exception(ctx, EXCP_RI);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue