On 2013-02-11 09:33, Peter Maydell wrote:
You're only changing the cast here, so this isn't something you
should feel the need to fix in this patch, but do you know what's
special about -1133 ?
It does correspond to the kernel code. C.f. EMAXERRNO.
r~
On 11 February 2013 17:51, Richard Henderson wrote:
> On 2013-02-11 09:33, Peter Maydell wrote:
>> You're only changing the cast here, so this isn't something you
>> should feel the need to fix in this patch, but do you know what's
>> special about -1133 ?
>
> It does correspond to the kernel code
On 10 February 2013 18:30, Richard Henderson wrote:
> Signed-off-by: Richard Henderson
Reviewed-by: Peter Maydell
> -if ((unsigned int)ret >= (unsigned int)(-1133)) {
> +if ((abi_ulong)ret >= (abi_ulong)-1133) {
> env->active_tc.gpr[7] = 1; /* error fla
On 2013-02-10 10:30, Richard Henderson wrote:
Signed-off-by: Richard Henderson
---
linux-user/main.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions(-)
n32/n64 have different argument registers from o32.
In addition, use abi_long properly instead of the
host un
Signed-off-by: Richard Henderson
---
linux-user/main.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 3df8aa2..3a3be70 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1783,8 +1783,8 @@ void cpu_