summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorPavel Dovgaluk2015-07-10 11:57:08 +0200
committerLeon Alrae2015-09-18 13:07:24 +0200
commit9c708c7f9fbb813a3fac02f2728e51e62f2f5ffc (patch)
tree30c2e51a383243a8d135465729a43b0c2745d94f /linux-headers/linux
parenttarget-mips: correct MTC0 instruction on MIPS64 (diff)
downloadqemu-9c708c7f9fbb813a3fac02f2728e51e62f2f5ffc.tar.gz
qemu-9c708c7f9fbb813a3fac02f2728e51e62f2f5ffc.tar.xz
qemu-9c708c7f9fbb813a3fac02f2728e51e62f2f5ffc.zip
target-mips: improve exception handling
This patch improves exception handling in MIPS. Instructions generate several types of exceptions. When exception is generated, it breaks the execution of the current translation block. Implementation of the exceptions handling does not correctly restore icount for the instruction which caused the exception. In most cases icount will be decreased by the value equal to the size of TB. This patch passes pointer to the translation block internals to the exception handler. It allows correct restoring of the icount value. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Leon Alrae <leon.alrae@imgtec.com> [leon.alrae@imgtec.com: avoid retranslation in linux-user SC, break lines which are over 80 chars, remove v3 changelog from the commit message] Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions