summaryrefslogtreecommitdiff
path: root/target-mips/helper.c
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@nokia.com>2010-01-25 15:17:32 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-02-06 17:19:43 +0100
commit3f26c1227e3b08010f2a65379cecf4cb4b5933fa (patch)
treea3d5e7c5025ae9e1b2b7a972cf0f2f2665f5e2db /target-mips/helper.c
parentfd052bf63a2ee8e8aff9bb9a51ce7c5f744561f4 (diff)
downloadqemu-3f26c1227e3b08010f2a65379cecf4cb4b5933fa.tar.gz
qemu-3f26c1227e3b08010f2a65379cecf4cb4b5933fa.tar.bz2
qemu-3f26c1227e3b08010f2a65379cecf4cb4b5933fa.zip
target-arm: refactor cp15.c13 register access
Access the cp15.c13 TLS registers directly with TCG ops instead of with a slow helper. If the the cp15 read/write was not TLS register access, fall back to the cp15 helper. This makes accessing __thread variables in linux-user when apps are compiled with -mtp=cp15 possible. legal cp15 register to acces from linux-user are already checked in cp15_user_ok. While at it, make the cp15.c13 Thread ID registers available only on ARMv6K and newer. Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Diffstat (limited to 'target-mips/helper.c')
0 files changed, 0 insertions, 0 deletions