search for: ucontext

Displaying 20 results from an estimated 45 matches for "ucontext".

Did you mean: context
2013 Feb 27
2
[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support
.../asan/asan_linux.cc b/lib/asan/asan_linux.cc index 845493d..417ecad 100644 --- a/lib/asan/asan_linux.cc +++ b/lib/asan/asan_linux.cc @@ -88,6 +88,11 @@ void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) { stk_ptr = (uptr *) *sp; *bp = stk_ptr[15]; # endif +#elif defined(__mips__) + ucontext_t *ucontext = (ucontext_t*)context; + *pc = ucontext->uc_mcontext.gregs[31]; + *bp = ucontext->uc_mcontext.gregs[30]; + *sp = ucontext->uc_mcontext.gregs[29]; #else # error "Unsupported arch" #endif -- 1.7.9.5
2011 Oct 21
2
[LLVMdev] ANN: libclc (OpenCL C library implementation)
...as much as possible what LLVM/CLANG offers: compiler, jit, build system, diagnostic routines, testing infrastructure, ... Currently I have implemented an OpenCL backend for i386 and X86_64 CPUs. I have coded work-item stacks by hand because after some sintetic benchmarks I have observed that both ucontext and setjmp/longjmp contain some extra overheads. Code is not fully documented -- sorry -- and some mandatory features are still missing (e.g. local variables). Looking at the code, you can observe that there are a lot of LLVM passes. I have implemented some features through passed because I want...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...--- include/uapi/asm-generic/stat.h | 6 +++--- include/uapi/asm-generic/statfs.h | 6 +++--- include/uapi/asm-generic/swab.h | 6 +++--- include/uapi/asm-generic/termbits.h | 6 +++--- include/uapi/asm-generic/types.h | 6 +++--- include/uapi/asm-generic/ucontext.h | 6 +++--- include/uapi/asm-generic/unistd.h | 5 +++++ include/uapi/drm/drm.h | 6 +++--- include/uapi/drm/drm_fourcc.h | 6 +++--- include/uapi/drm/drm_mode.h | 6 +++--- include/uapi/drm/drm_sarea.h | 6 +++--- include/ua...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...--- include/uapi/asm-generic/stat.h | 6 +++--- include/uapi/asm-generic/statfs.h | 6 +++--- include/uapi/asm-generic/swab.h | 6 +++--- include/uapi/asm-generic/termbits.h | 6 +++--- include/uapi/asm-generic/types.h | 6 +++--- include/uapi/asm-generic/ucontext.h | 6 +++--- include/uapi/asm-generic/unistd.h | 5 +++++ include/uapi/drm/drm.h | 6 +++--- include/uapi/drm/drm_fourcc.h | 6 +++--- include/uapi/drm/drm_mode.h | 6 +++--- include/uapi/drm/drm_sarea.h | 6 +++--- include/ua...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...--- include/uapi/asm-generic/stat.h | 6 +++--- include/uapi/asm-generic/statfs.h | 6 +++--- include/uapi/asm-generic/swab.h | 6 +++--- include/uapi/asm-generic/termbits.h | 6 +++--- include/uapi/asm-generic/types.h | 6 +++--- include/uapi/asm-generic/ucontext.h | 6 +++--- include/uapi/asm-generic/unistd.h | 5 +++++ include/uapi/drm/drm.h | 6 +++--- include/uapi/drm/drm_fourcc.h | 6 +++--- include/uapi/drm/drm_mode.h | 6 +++--- include/uapi/drm/drm_sarea.h | 6 +++--- include/ua...
2010 May 20
1
Patching wine -- 64bits
...tting an error of compatibility, i installed ia32libs...bison... all the packages that i heard about for 32bits compatibility. I got this error: Code: checking for linux/ipx.h... yes checking for linux/irda.h... yes checking for mach-o/dyld_images.h... no checking for resolv.h... yes checking for ucontext.h... yes checking for sys/thr.h... no checking for pthread_np.h... no checking for linux/videodev.h... yes checking for linux/capi.h... yes checking for ldd... /usr/bin/ldd checking whether we can build a GNU style ELF dll... yes checking whether the compiler supports -fPIC -shared -Wl,-soname,conf...
2011 Aug 04
0
[LLVMdev] [RFC] Coroutines
On 07/28/2011 05:31 PM, Sanjoy Das wrote: > Hi llvmdev! > > I've been working on adding coroutines to LLVM. Mentioned below is the > implementation plan I'm following, for suggestions, flames and other > input. Using segmented stacks is a prerequisite. I think my only comment is that, while this would probably work, implementing it in C with a bit of assembly for
2011 Jul 28
4
[LLVMdev] [RFC] Coroutines
Hi llvmdev! I've been working on adding coroutines to LLVM. Mentioned below is the implementation plan I'm following, for suggestions, flames and other input. Using segmented stacks is a prerequisite. The idea is to associate every coroutine with a coroutine descriptor. A coroutine descriptor consists of four words: w0, w1, w2 and w3. w0 always contains the _launcher_, and invoking a
2011 Oct 21
0
[LLVMdev] [cfe-dev] ANN: libclc (OpenCL C library implementation)
On Fri, Oct 21, 2011 at 9:48 AM, Speziale Ettore <speziale.ettore at gmail.com> wrote: > Currently I have implemented an OpenCL backend for i386 and X86_64 CPUs. > I have coded work-item stacks by hand because after some sintetic > benchmarks I have observed that both ucontext and setjmp/longjmp contain > some extra overheads. If you have not already seen it, you (and anyone else working on OpenCL runtimes) might be interested in this paper from AMD: http://dl.acm.org/citation.cfm?id=1854302 In particular, Section 4 describes the implementation approach for their x86...
2006 Oct 31
0
Rsync hangs on large files over stunnel
Greetings. Here's my setup: On the server - rsync 2.5.6 protocol version 26 stunnel 4.04 on i686-suse-linux-gnu PTHREAD with OpenSSL 0.9.7b On the client - rsync version 2.6.6 protocol version 29 stunnel 4.14 on i686-suse-linux-gnu UCONTEXT+POLL+IPv4+LIBWRAP with OpenSSL 0.9.8a Both ends run rsync as root The rsync daemon listens on a non-default port that is only bound to 127.0.01. Stunnel securely proxies between an exposed high port and the rsync port. The client is configured to pull from the server The connection works. Rsync...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...de "linux/module.h" -#include "linux/slab.h" -#include "linux/tty.h" -#include "linux/binfmts.h" -#include "linux/ptrace.h" -#include "asm/signal.h" -#include "asm/uaccess.h" -#include "asm/unistd.h" -#include "asm/ucontext.h" +#include <linux/stddef.h> +#include <linux/sys.h> +#include <linux/sched.h> +#include <linux/wait.h> +#include <linux/kernel.h> +#include <linux/smp_lock.h> +#include <linux/module.h> +#include <linux/slab.h> +#include <linux/tty.h> +#i...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...de "linux/module.h" -#include "linux/slab.h" -#include "linux/tty.h" -#include "linux/binfmts.h" -#include "linux/ptrace.h" -#include "asm/signal.h" -#include "asm/uaccess.h" -#include "asm/unistd.h" -#include "asm/ucontext.h" +#include <linux/stddef.h> +#include <linux/sys.h> +#include <linux/sched.h> +#include <linux/wait.h> +#include <linux/kernel.h> +#include <linux/smp_lock.h> +#include <linux/module.h> +#include <linux/slab.h> +#include <linux/tty.h> +#i...
2010 Aug 24
4
[PATCH 1/3] S390: take a full byte as ext_param indicator
Currenty the ext_param field only distinguishes between "config change" and "vring interrupt". We can do a lot more with it though, so let's enable a full byte of possible values and constants to #defines while at it. Signed-off-by: Alexander Graf <agraf at suse.de> --- v1 -> v2: - move defines to virtio_s390.h --- arch/s390/include/asm/kvm_virtio.h | 6
2010 Aug 24
4
[PATCH 1/3] S390: take a full byte as ext_param indicator
Currenty the ext_param field only distinguishes between "config change" and "vring interrupt". We can do a lot more with it though, so let's enable a full byte of possible values and constants to #defines while at it. Signed-off-by: Alexander Graf <agraf at suse.de> --- v1 -> v2: - move defines to virtio_s390.h --- arch/s390/include/asm/kvm_virtio.h | 6
2007 Nov 15
0
6 commits - libswfdec/compiler.c libswfdec/swfdec_as_date.h libswfdec/swfdec_text_format.c libswfdec/swfdec_xml.c test/dump.c test/render.c test/render-fast.c
...td.h> -#include <stdlib.h> -#include <sys/stat.h> -#include <glib.h> -#include <glib-object.h> -#include <swfdec.h> -#include <swfdec_decoder.h> -#include <swfdec_render.h> -#include <swfdec_sprite.h> -#include <swfdec_buffer.h> -#include <ucontext.h> -#include <sys/mman.h> - -#if 0 -void * smash_checker (void * (func) (void *), void *priv); -void *go(void *priv); -#endif - -void dump_sprite(SwfdecSprite *s); - -static void buffer_free (SwfdecBuffer *buffer, void *priv) -{ - g_free (buffer->data); -} - -int main (int argc, char *...
2011 Oct 19
0
[LLVMdev] ANN: libclc (OpenCL C library implementation)
Do we have a list of these open-source LLVM-based OpenCL projects somewhere? Off the top of my head, we have: libclc: http://www.pcc.me.uk/~peter/libclc/ pocl: https://launchpad.net/pocl clover: http://cgit.freedesktop.org/~steckdenis/clover/ (I think that all of these have BSD- or MIT-style licenses). Are there any others? -Hal On Wed, 2011-10-19 at 14:47 +0100, Peter Collingbourne wrote:
2007 Aug 24
0
[PATCH] convert #include "linux/..." and #include "asm/..." to #include <...>
..._64.h | 2 +- include/asm-um/termbits.h | 2 +- include/asm-um/termios.h | 2 +- include/asm-um/types.h | 2 +- include/asm-um/uaccess.h | 2 +- include/asm-um/ucontext.h | 2 +- include/asm-um/unaligned.h | 2 +- include/asm-um/unistd.h | 6 +- include/asm-um/user.h | 2 +- include/asm-um/vga.h | 2 +- include/asm-u...
2007 Aug 24
0
[PATCH] convert #include "linux/..." and #include "asm/..." to #include <...>
..._64.h | 2 +- include/asm-um/termbits.h | 2 +- include/asm-um/termios.h | 2 +- include/asm-um/types.h | 2 +- include/asm-um/uaccess.h | 2 +- include/asm-um/ucontext.h | 2 +- include/asm-um/unaligned.h | 2 +- include/asm-um/unistd.h | 6 +- include/asm-um/user.h | 2 +- include/asm-um/vga.h | 2 +- include/asm-u...
2007 Apr 18
1
No subject
...21-rc6-mm1/include/asm-i386/Kbuild 2007-04-05 19:36:56.000000000 -0700 +++ linux-2.6.21-rc6-mm1/include/asm-i386/Kbuild 2007-04-09 23:28:36.000000000 -0700 @@ -3,8 +3,10 @@ header-y += boot.h header-y += debugreg.h header-y += ldt.h +header-y += msr-index.h header-y += ptrace-abi.h header-y += ucontext.h +unifdef-y += msr.h unifdef-y += mtrr.h unifdef-y += vm86.h diff -urN --exclude='o.*' stock/linux-2.6.21-rc6-mm1/include/asm-i386/msr-index.h linux-2.6.21-rc6-mm1/include/asm-i386/msr-index.h --- stock/linux-2.6.21-rc6-mm1/include/asm-i386/msr-index.h 1969-12-31 16:00:00.000000000 -08...
2007 Apr 18
1
No subject
...21-rc6-mm1/include/asm-i386/Kbuild 2007-04-05 19:36:56.000000000 -0700 +++ linux-2.6.21-rc6-mm1/include/asm-i386/Kbuild 2007-04-09 23:28:36.000000000 -0700 @@ -3,8 +3,10 @@ header-y += boot.h header-y += debugreg.h header-y += ldt.h +header-y += msr-index.h header-y += ptrace-abi.h header-y += ucontext.h +unifdef-y += msr.h unifdef-y += mtrr.h unifdef-y += vm86.h diff -urN --exclude='o.*' stock/linux-2.6.21-rc6-mm1/include/asm-i386/msr-index.h linux-2.6.21-rc6-mm1/include/asm-i386/msr-index.h --- stock/linux-2.6.21-rc6-mm1/include/asm-i386/msr-index.h 1969-12-31 16:00:00.000000000 -08...