]> git.proxmox.com Git - qemu.git/commit
target-openrisc: Correct memory bounds checking for the tlb buffers
authorSebastian Macke <sebastian@macke.de>
Tue, 22 Oct 2013 00:12:42 +0000 (02:12 +0200)
committerJia Liu <proljc@gmail.com>
Wed, 20 Nov 2013 13:47:17 +0000 (21:47 +0800)
commit93147a180c10b97bf9575a87e01c9a1c93e6c9ce
treee93cc5d14e881ccee682650ce23e2d08b2f69161
parentd51552176a2ab5e80a211514aa1339fe2575ec2a
target-openrisc: Correct memory bounds checking for the tlb buffers

The mtspr and mfspr routines didn't check for the correct memory boundaries.
This fixes a segmentation fault while booting Linux.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Jia Liu <proljc@gmail.com>
target-openrisc/sys_helper.c