From d47a30390052709735a12566e650a58273937a47 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 27 Mar 2009 14:25:45 +0100 Subject: [PATCH] --- yaml --- r: 143051 b: refs/heads/master c: 9de8901153ebf8c1070d9aca73c4a98db32abc78 h: refs/heads/master i: 143049: 745df602b9c057b0c84e7ec1aab775470daf4447 143047: 6d4bc22448a4b6d54165b357c9573aba0f159e2e v: v3 --- [refs] | 2 +- trunk/arch/microblaze/include/asm/fcntl.h | 1 + trunk/arch/microblaze/include/asm/sockios.h | 23 ++++++++++++++++++++ trunk/arch/microblaze/include/asm/ucontext.h | 22 +++++++++++++++++++ 4 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/microblaze/include/asm/fcntl.h create mode 100644 trunk/arch/microblaze/include/asm/sockios.h create mode 100644 trunk/arch/microblaze/include/asm/ucontext.h diff --git a/[refs] b/[refs] index 640e4a59fe2d..d65a0246751b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a9ebdfc5edd1600c21f9ae942a95340ca948c788 +refs/heads/master: 9de8901153ebf8c1070d9aca73c4a98db32abc78 diff --git a/trunk/arch/microblaze/include/asm/fcntl.h b/trunk/arch/microblaze/include/asm/fcntl.h new file mode 100644 index 000000000000..46ab12db5739 --- /dev/null +++ b/trunk/arch/microblaze/include/asm/fcntl.h @@ -0,0 +1 @@ +#include diff --git a/trunk/arch/microblaze/include/asm/sockios.h b/trunk/arch/microblaze/include/asm/sockios.h new file mode 100644 index 000000000000..9fff57a701e1 --- /dev/null +++ b/trunk/arch/microblaze/include/asm/sockios.h @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_MICROBLAZE_SOCKIOS_H +#define _ASM_MICROBLAZE_SOCKIOS_H + +#include + +/* Socket-level I/O control calls. */ +#define FIOSETOWN 0x8901 +#define SIOCSPGRP 0x8902 +#define FIOGETOWN 0x8903 +#define SIOCGPGRP 0x8904 +#define SIOCATMARK 0x8905 +#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ +#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ + +#endif /* _ASM_MICROBLAZE_SOCKIOS_H */ diff --git a/trunk/arch/microblaze/include/asm/ucontext.h b/trunk/arch/microblaze/include/asm/ucontext.h new file mode 100644 index 000000000000..11f6bb3ae3a4 --- /dev/null +++ b/trunk/arch/microblaze/include/asm/ucontext.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_MICROBLAZE_UCONTEXT_H +#define _ASM_MICROBLAZE_UCONTEXT_H + +#include + +struct ucontext { + unsigned long uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + struct sigcontext uc_mcontext; + sigset_t uc_sigmask; /* mask last for extensibility */ +}; + +#endif /* _ASM_MICROBLAZE_UCONTEXT_H */