On Mon, Aug 15, 2011 at 8:43 PM, Richard Henderson r...@twiddle.net wrote:
On 08/15/2011 04:25 AM, kha...@kics.edu.pk wrote:
((CPUMIPSState *) cpu_env)-tls_value = arg1;
+ if (((CPUMIPSState *) cpu_env)-insn_flags CPU_OCTEON) {
+ /* tls entry is moved to k0 so that
On 08/17/2011 12:00 AM, Khansa Butt wrote:
with out above fix Octeon user mode binary can not be correctly run
on QEMU. This was the behavior on actual hardware which we noticed
when we were debugging the user mode binary on Octeon board. (there
are instructions in user mode ELF of Octeon
From: Khansa Butt kha...@kics.edu.pk
Signed-off-by: Khansa Butt kha...@kics.edu.pk
---
linux-user/syscall.c |5 +
target-mips/mips-defs.h |2 ++
target-mips/translate_init.c | 24
3 files changed, 31 insertions(+), 0 deletions(-)
diff --git
On 08/15/2011 04:25 AM, kha...@kics.edu.pk wrote:
((CPUMIPSState *) cpu_env)-tls_value = arg1;
+ if (((CPUMIPSState *) cpu_env)-insn_flags CPU_OCTEON) {
+ /* tls entry is moved to k0 so that this can be used later
+ currently this thing is tested only for