/seL4-refos-master/libs/libmuslc/src/signal/ |
H A D | sigemptyset.c | 4 int sigemptyset(sigset_t *set) argument 6 set->__bits[0] = 0; 7 if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0; 9 set->__bits[2] = 0; 10 set->__bits[3] = 0;
|
H A D | sigfillset.c | 4 int sigfillset(sigset_t *set) argument 7 set->__bits[0] = 0x7ffffffful; 8 set->__bits[1] = 0xfffffffcul; 10 set->__bits[2] = 0xfffffffful; 11 set->__bits[3] = 0xfffffffful; 14 set->__bits[0] = 0xfffffffc7ffffffful; 15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful;
|
H A D | sigismember.c | 3 int sigismember(const sigset_t *set, int sig) argument 7 return !!(set->__bits[s/8/sizeof *set->__bits] & 1UL<<(s&8*sizeof *set->__bits-1));
|
H A D | sigpending.c | 4 int sigpending(sigset_t *set) argument 6 return syscall(SYS_rt_sigpending, set, _NSIG/8);
|
H A D | sigisemptyset.c | 5 int sigisemptyset(const sigset_t *set) argument 8 return !memcmp(set, &zeroset, _NSIG/8);
|
H A D | sigaddset.c | 4 int sigaddset(sigset_t *set, int sig) argument 11 set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1);
|
H A D | sigdelset.c | 4 int sigdelset(sigset_t *set, int sig) argument 11 set->__bits[s/8/sizeof *set->__bits] &=~(1UL<<(s&8*sizeof *set->__bits-1));
|
H A D | block.c | 31 void __block_all_sigs(void *set) argument 33 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &all_mask, set, _NSIG/8); 36 void __block_app_sigs(void *set) argument 38 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &app_mask, set, _NSIG/8); 41 void __restore_sigs(void *set) argument 43 __syscall(SYS_rt_sigprocmask, SIG_SETMASK, set, 0, _NSIG/8);
|
H A D | sigprocmask.c | 4 int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict old) argument 6 int r = pthread_sigmask(how, set, old);
|
H A D | raise.c | 9 sigset_t set; local 10 __block_app_sigs(&set); 13 __restore_sigs(&set);
|
H A D | sigqueue.c | 10 sigset_t set; local 17 __block_app_sigs(&set); 20 __restore_sigs(&set);
|
/seL4-refos-master/libs/libmuslc/src/sched/ |
H A D | affinity.c | 7 int sched_setaffinity(pid_t tid, size_t size, const cpu_set_t *set) argument 9 return syscall(SYS_sched_setaffinity, tid, size, set); 12 int pthread_setaffinity_np(pthread_t td, size_t size, const cpu_set_t *set) argument 14 return -__syscall(SYS_sched_setaffinity, td->tid, size, set); 17 static int do_getaffinity(pid_t tid, size_t size, cpu_set_t *set) argument 19 long ret = __syscall(SYS_sched_getaffinity, tid, size, set); 21 if (ret < size) memset((char *)set+ret, 0, size-ret); 25 int sched_getaffinity(pid_t tid, size_t size, cpu_set_t *set) argument 27 return __syscall_ret(do_getaffinity(tid, size, set)); 30 int pthread_getaffinity_np(pthread_t td, size_t size, cpu_set_t *set) argument [all...] |
H A D | sched_cpucount.c | 4 int __sched_cpucount(size_t size, const cpu_set_t *set) argument 7 const unsigned char *p = (const void *)set;
|
/seL4-refos-master/libs/libmuslc/include/ |
H A D | sched.h | 84 #define __CPU_op_S(i, size, set, op) ( (i)/8U >= (size) ? 0 : \ 85 (((unsigned long *)(set))[(i)/8/sizeof(long)] op (1UL<<((i)%(8*sizeof(long))))) ) 87 #define CPU_SET_S(i, size, set) __CPU_op_S(i, size, set, |=) 88 #define CPU_CLR_S(i, size, set) __CPU_op_S(i, size, set, &=~) 89 #define CPU_ISSET_S(i, size, set) __CPU_op_S(i, size, set, &) 109 #define CPU_COUNT_S(size,set) __sched_cpucount(size,set) [all...] |
/seL4-refos-master/libs/libmuslc/src/thread/mips64/ |
H A D | __unmapself.s | 1 .set noreorder
|
/seL4-refos-master/libs/libmuslc/src/thread/mipsn32/ |
H A D | __unmapself.s | 1 .set noreorder
|
/seL4-refos-master/libs/libmuslc/src/process/ |
H A D | fork.c | 17 sigset_t set; local 19 __block_all_sigs(&set); 32 __restore_sigs(&set);
|
/seL4-refos-master/libs/libmuslc/src/signal/mips/ |
H A D | restore.s | 1 .set noreorder
|
/seL4-refos-master/libs/libmuslc/src/signal/mips64/ |
H A D | restore.s | 1 .set noreorder
|
/seL4-refos-master/libs/libmuslc/src/signal/mipsn32/ |
H A D | restore.s | 1 .set noreorder
|
/seL4-refos-master/libs/libmuslc/src/thread/mips/ |
H A D | __unmapself.s | 1 .set noreorder
|
/seL4-refos-master/libs/libmuslc/src/thread/ |
H A D | pthread_sigmask.c | 5 int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) argument 9 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8);
|
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/zynq7000/ |
H A D | io.h | 128 * Clear and set bits in one shot. These macros can be used to clear and 129 * set multiple bits in a register using a single call. These macros can 130 * also be used to set a multiple-bit bit pattern using a mask, by 132 * in the 'set' parameter. 138 #define setbits(type, addr, set) \ 139 out_##type((addr), in_##type(addr) | (set)) 141 #define clrsetbits(type, addr, clear, set) \ 142 out_##type((addr), (in_##type(addr) & ~(clear)) | (set)) 145 #define setbits_be32(addr, set) setbits(be32, addr, set) [all...] |
/seL4-refos-master/projects/util_libs/libethdrivers/src/plat/tx2/ |
H A D | io.h | 125 * Clear and set bits in one shot. These macros can be used to clear and 126 * set multiple bits in a register using a single call. These macros can 127 * also be used to set a multiple-bit bit pattern using a mask, by 129 * in the 'set' parameter. 135 #define setbits(type, addr, set) \ 136 out_##type((addr), in_##type(addr) | (set)) 138 #define clrsetbits(type, addr, clear, set) \ 139 out_##type((addr), (in_##type(addr) & ~(clear)) | (set)) 142 #define setbits_be32(addr, set) setbits(be32, addr, set) [all...] |
/seL4-refos-master/libs/libmuslc/crt/mips/ |
H A D | crtn.s | 1 .set noreorder
|