Subversion Repositories HelenOS-historic

Rev

Rev 504 | Rev 960 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 504 Rev 505
Line 26... Line 26...
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
#include <libc.h>
29
#include <libc.h>
30
 
30
 
31
unsigned int __syscall(const syscall_t id, const unsigned int p1, const unsigned int p2, const unsigned int p3)
31
sysarg_t __syscall(const syscall_t id, const sysarg_t p1, const sysarg_t p2, const sysarg_t p3)
32
{
32
{
33
    unsigned int ret;
33
    sysarg_t ret;
34
   
34
   
35
    asm volatile (
35
    asm volatile (
36
        "int $0x80\n"
36
        "int $0x80\n"
37
        : "=a" (ret)
37
        : "=a" (ret)
38
        : "a" (id),
38
        : "a" (id),