From c7757f181f0bd52206059f2685a5197113aca76f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 8 Oct 2003 18:15:50 +0000 Subject: Patch from George Thanos adding support for the "e1" architecture. --- libc/sysdeps/linux/e1/syscalls.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libc/sysdeps/linux/e1/syscalls.c (limited to 'libc/sysdeps/linux/e1/syscalls.c') diff --git a/libc/sysdeps/linux/e1/syscalls.c b/libc/sysdeps/linux/e1/syscalls.c new file mode 100644 index 000000000..e58ad5f79 --- /dev/null +++ b/libc/sysdeps/linux/e1/syscalls.c @@ -0,0 +1,11 @@ +/* This file is lisenced under LGPL + * Copyright (C) 2002-2003, George Thanos + * Yannis Mitsos + */ + +#include + +/* We now need a declaration of the `errno' variable. */ +extern int errno; +# define __set_errno(val) ((errno) = (val)) +_syscall2( int, kprintf, char *, msg, int, len) -- cgit v1.2.3