qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] alpha - syscalls can return two values


From: Vince Weaver
Subject: Re: [Qemu-devel] alpha - syscalls can return two values
Date: Tue, 11 Nov 2008 15:23:56 -0500 (EST)


and as soon as I sent this, I realized I was reading the code wrong.

It doesn't return the second result in $1, but rather it returns the second result on the stack at offset 80.

This remains a problem though, as I don't think there's an easy way to get the stack pointer from the syscall code.

The relevant linux-kernel syscall code can be found in
  ./arch/alpha/kernel/entry.S

specifically the getxuid, getxgid, getxpid, syscalls.

Vince






reply via email to

[Prev in Thread] Current Thread [Next in Thread]