/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/mips/ |
A D | __longjmp.c | 31 void __longjmp (__jmp_buf env, int val_arg) in libc_hidden_proto() 60 __asm__ __volatile__ ("lw $2, %0" : : "m" (env[0].__fpc_csr)); in libc_hidden_proto() 66 __asm__ __volatile__ ("ld $gp, %0" : : "m" (env[0].__gp)); in libc_hidden_proto() 68 __asm__ __volatile__ ("lw $gp, %0" : : "m" (env[0].__gp)); in libc_hidden_proto() 73 __asm__ __volatile__ ("lw $16, %0" : : "m" (env[0].__regs[0])); in libc_hidden_proto() 74 __asm__ __volatile__ ("lw $17, %0" : : "m" (env[0].__regs[1])); in libc_hidden_proto() 94 __asm__ __volatile__ ("lw $25, %0" : : "m" (env[0].__pc)); in libc_hidden_proto() 96 __asm__ __volatile__ ("lw $31, %0" : : "m" (env[0].__pc)); in libc_hidden_proto() 98 __asm__ __volatile__ ("ld $31, %0" : : "m" (env[0].__pc)); in libc_hidden_proto() 106 "ld $30, %1\n\t" : : "m" (env[0].__sp), "m" (env[0].__fp)); in libc_hidden_proto() [all …]
|
A D | setjmp_aux.c | 33 __sigsetjmp_aux (jmp_buf env, int savemask, int sp, int fp) in __sigsetjmp_aux() 59 __asm__ __volatile__ ("sd $31, %0" : : "m" (env[0].__jmpbuf[0].__pc)); in __sigsetjmp_aux() 61 __asm__ __volatile__ ("sw $31, %0" : : "m" (env[0].__jmpbuf[0].__pc)); in __sigsetjmp_aux() 65 env[0].__jmpbuf[0].__sp = (ptrsize) sp; in __sigsetjmp_aux() 68 env[0].__jmpbuf[0].__fp = (ptrsize) fp; in __sigsetjmp_aux() 72 env[0].__jmpbuf[0].__gp = (ptrsize) gp; in __sigsetjmp_aux() 74 __asm__ __volatile__ ("sw $gp, %0" : : "m" (env[0].__jmpbuf[0].__gp)); in __sigsetjmp_aux() 79 __asm__ __volatile__ ("sw $16, %0" : : "m" (env[0].__jmpbuf[0].__regs[0])); in __sigsetjmp_aux() 80 __asm__ __volatile__ ("sw $17, %0" : : "m" (env[0].__jmpbuf[0].__regs[1])); in __sigsetjmp_aux() 100 __asm__ ("cfc1 %0, $31" : "=r" (env[0].__jmpbuf[0].__fpc_csr)); in __sigsetjmp_aux() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/ |
A D | ptlongjmp.c | 29 extern void __novmx__libc_longjmp (sigjmp_buf env, int val) 33 void __novmx_siglongjmp (sigjmp_buf env, int val) in __novmx_siglongjmp() argument 35 __novmx__libc_siglongjmp (env, val); in __novmx_siglongjmp() 38 void __novmx_longjmp (jmp_buf env, int val) in __novmx_longjmp() argument 40 __novmx__libc_longjmp (env, val); in __novmx_longjmp() 54 extern void __vmx__libc_siglongjmp (sigjmp_buf env, int val) 56 extern void __vmx__libc_longjmp (sigjmp_buf env, int val) 59 void __vmx_siglongjmp (sigjmp_buf env, int val) in __vmx_siglongjmp() argument 61 __vmx__libc_siglongjmp (env, val); in __vmx_siglongjmp() 64 void __vmx_longjmp (jmp_buf env, int val) in __vmx_longjmp() argument [all …]
|
/l4re-core-master/libloader/include/ |
A D | remote_app_model | 12 #include <l4/re/env> 94 return env; 148 env->factory().snd_base())); 150 env->main_thread().snd_base())); 152 env->scheduler().snd_base())); 154 env->parent().snd_base())); 156 env->log().snd_base())); 158 env->rm().snd_base())); 160 env->mem_alloc().snd_base())); 167 th_attr.pager(env->rm()); [all …]
|
/l4re-core-master/l4re_kernel/server/src/ |
A D | loader.cc | 68 L4Re::Env::env()->rm()->detach(l4_addr_t(__loader_stack_p) - 1, 0); in unmap_stack_and_start() 203 L4Re::Env *e = const_cast<L4Re::Env *>(L4Re::Env::env()); in add_env() 266 = L4Re::Env::env()->rm()->attach(&__loader_stack_p, Loader_stack_size, in start() 296 Env *const env = const_cast<Env *>(Env::env()); in start() local 298 app_thread = Cap<Thread>(env->first_free_cap() << L4_CAP_SHIFT); in start() 299 env->first_free_cap((app_thread.cap() >> L4_CAP_SHIFT)+1); in start() 302 chksys(env->factory()->create_gate(__loader_entry.pager, env->main_thread(), 0)); in start() 304 __loader_entry.pager = L4::cap_reinterpret_cast<Rm>(env->main_thread()); in start() 307 chksys(env->factory()->create(app_thread), "create app thread"); in start() 316 attr.bind((l4_utcb_t*)env->first_free_utcb(), L4Re::This_task); in start() [all …]
|
A D | main.cc | 48 char const *env[]); 87 while ((n = L4Re::Env::env()->rm()->get_regions(addr, &rl)) > 0) in insert_regions() 92 auto pager = L4::cap_reinterpret_cast<L4Re::Dataspace>(Env::env()->rm()); in insert_regions() 109 while ((n = L4Re::Env::env()->rm()->get_areas(addr, &al)) > 0) in insert_regions() 149 L4Re::Env *const env = const_cast<L4Re::Env*>(L4Re::Env::env()); in run() local 153 << "ENV=" << env << "\n" in run() 154 << "Binary: " << Global::l4re_aux->binary << " " << env << "\n"; in run() 156 if (!env || !Global::l4re_aux) in run() 186 env->scheduler()->run_thread(env->main_thread(), in run()
|
A D | globals.cc | 44 L4Re::Env *env = const_cast<L4Re::Env*>(L4Re::Env::env()); in init() local 45 cap_alloc.construct(env->first_free_cap()); in init() 46 env->first_free_cap(env->first_free_cap() + Global::Max_local_rm_caps); in init() 47 L4::Cap<L4Re::Mem_alloc> obj = env->mem_alloc(); in init()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/ |
A D | ptlongjmp.c | 57 void siglongjmp(sigjmp_buf env, int val) in siglongjmp() argument 59 pthread_cleanup_upto(env->__jmpbuf); in siglongjmp() 60 __libc_siglongjmp(env, val); in siglongjmp() 63 void longjmp(jmp_buf env, int val) in longjmp() argument 65 pthread_cleanup_upto(env->__jmpbuf); in longjmp() 66 __libc_longjmp(env, val); in longjmp()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/ |
A D | longjmp.c | 25 void __libc_longjmp (sigjmp_buf env, int val) in __libc_longjmp() argument 29 _longjmp_unwind (env, val); in __libc_longjmp() 32 if (env[0].__mask_was_saved) in __libc_longjmp() 34 (void) sigprocmask (SIG_SETMASK, &env[0].__saved_mask, NULL); in __libc_longjmp() 37 __longjmp (env[0].__jmpbuf, val ?: 1); in __libc_longjmp()
|
/l4re-core-master/uclibc/lib/uclibc/ARCH-all/libc/sysdeps/linux/common/ |
A D | longjmp.c | 31 void __libc_longjmp (sigjmp_buf env, int val) in __libc_longjmp() argument 35 _longjmp_unwind (env, val); in __libc_longjmp() 40 if (env[0].__mask_was_saved) in __libc_longjmp() 42 (void) sigprocmask (SIG_SETMASK, &env[0].__saved_mask, NULL); in __libc_longjmp() 46 __longjmp (env[0].__jmpbuf, val ?: 1); in __libc_longjmp()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/include/ |
A D | setjmp.h | 70 # define setjmp(env) _setjmp (env) argument 75 # define setjmp(env) setjmp (env) argument 105 # define sigsetjmp(env, savemask) __sigsetjmp (env, savemask) argument
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/powerpc/ |
A D | fpu_control.h | 58 unsigned int env; \ 59 __asm__ __volatile__ ("mfspefscr %0" : "=r" (env)); \ 60 (__cw) = env; }) 62 unsigned int env = __cw; \ 63 __asm__ __volatile__ ("mtspefscr %0" : : "r" (env)); })
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/ |
A D | ptlongjmp.c | 23 void siglongjmp (sigjmp_buf env, int val) in siglongjmp() argument 25 __libc_siglongjmp (env, val); in siglongjmp() 28 void longjmp (jmp_buf env, int val) in longjmp() argument 30 __libc_longjmp (env, val); in longjmp()
|
/l4re-core-master/uclibc/lib/uclibc/ARCH-all/libc/signal/ |
A D | sigjmp.c | 29 int __sigjmp_save (sigjmp_buf env, int savemask) attribute_hidden; 30 int __sigjmp_save (sigjmp_buf env, int savemask) in __sigjmp_save() argument 34 env[0].__mask_was_saved = (savemask && in __sigjmp_save() 35 sigprocmask (SIG_BLOCK, NULL, &env[0].__saved_mask) == 0); in __sigjmp_save()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/ |
A D | pt-longjmp.c | 25 __vmx_longjmp (jmp_buf env, int val) in __vmx_longjmp() argument 27 __libc_longjmp (env, val); in __vmx_longjmp() 31 __vmx_siglongjmp (jmp_buf env, int val) in __vmx_siglongjmp() argument 33 __libc_siglongjmp (env, val); in __vmx_siglongjmp()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | jmp-unwind.c | 23 extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe); 28 _longjmp_unwind (jmp_buf env, int val) in _longjmp_unwind() argument 32 PTHFCT_CALL (ptr___pthread_cleanup_upto, (env->__jmpbuf, in _longjmp_unwind() 36 __pthread_cleanup_upto (env->__jmpbuf, CURRENT_STACK_FRAME); in _longjmp_unwind()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/setjmp/ |
A D | tst-setjmp.c | 22 static jmp_buf env; variable 29 longjmp (env, val); in jump() 37 value = setjmp (env); in main() 65 value = setjmp (env); in main() 93 value = _setjmp (env); in main()
|
/l4re-core-master/uclibc/lib/libpthread/src/ |
A D | l4.cc | 66 L4Re::Env *env = const_cast<L4Re::Env*>(L4Re::Env::env()); in __pthread_l4_initialize_main_thread() local 67 if (!env) in __pthread_l4_initialize_main_thread() 70 L4::Cap<Th_sem_cap> s(env->first_free_cap() << L4_CAP_SHIFT); in __pthread_l4_initialize_main_thread() 75 th->p_th_cap = env->main_thread().cap(); in __pthread_l4_initialize_main_thread() 81 env->first_free_cap((s.cap() + L4_CAP_OFFSET) >> L4_CAP_SHIFT); in __pthread_l4_initialize_main_thread() 130 L4Re::Env::env()->scheduler()->run_thread(t, sp); in __pthread_setschedparam() 182 int e = l4_error(L4Re::Env::env()->scheduler()->run_thread(t, sp)); in strong_alias() 235 int res = l4_error(L4Re::Env::env()->scheduler() in pthread_l4_start()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/signal/ |
A D | sigjmp.c | 27 int __sigjmp_save (sigjmp_buf env, int savemask) in __sigjmp_save() argument 29 env[0].__mask_was_saved = (savemask && in __sigjmp_save() 30 sigprocmask (SIG_BLOCK, NULL, &env[0].__saved_mask) == 0); in __sigjmp_save()
|
/l4re-core-master/ned/server/src/ |
A D | ned.lua | 273 function Loader:startv(env, ...) 276 local caps = env.caps or {}; 292 env.loader = self; 293 env.caps = caps; 294 env.l4re_dbg = env.l4re_dbg or Dbg.Warn; 295 local e = App_env.new(env); 315 function Loader:start(env, cmd, posix_env) 317 return self:startv(env, self.split_args(cmd, posix_env));
|
/l4re-core-master/l4re/util/include/ |
A D | event | 28 #include <l4/re/env> 62 * \param env Pointer to L4Re-Environment 71 L4Re::Env const *env = L4Re::Env::env(), 84 if ((r = l4_error(env->factory()->create(ev_irq.get())))) 99 if ((r = env->rm()->attach(&buf, sz, 116 * \param env Pointer to L4Re-Environment 124 L4Re::Env const *env = L4Re::Env::env(), 142 if ((r = env->rm()->attach(&buf, sz,
|
A D | env_ns | 8 #include <l4/re/env> 20 explicit Env_ns(Env const *env = Env::env(), 22 : _ca(ca), _env(env) {}
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/wordexp/ |
A D | wordexp.c | 1147 char *env; in parse_param() local 1179 env = w_addchar(env, &env_length, &env_maxlen, words[*offset]); in parse_param() 1188 env = w_addchar(env, &env_length, &env_maxlen, words[*offset]); in parse_param() 1198 env = w_addchar(env, &env_length, &env_maxlen, words[*offset]); in parse_param() 1345 else if ((*env == '*' || *env == '@') && seen_hash) { in parse_param() 1350 free(env); in parse_param() 1355 else if (*env == '*' || (*env == '@' && !quoted)) { in parse_param() 1402 free(env); in parse_param() 1763 free(env); in parse_param() 1764 env = NULL; in parse_param() [all …]
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/unix/sysv/linux/ |
A D | jmp-unwind.c | 28 _longjmp_unwind (jmp_buf env, int val) in _longjmp_unwind() argument 31 (env->__jmpbuf, __builtin_frame_address (0)), in _longjmp_unwind()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/ |
A D | pt-longjmp.c | 26 longjmp (jmp_buf env, int val) in longjmp() argument 28 __libc_longjmp (env, val); in longjmp()
|