/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __UML_LONGJMP_H #define __UML_LONGJMP_H #include <sysdep/archsetjmp.h> #include <os.h> extern int setjmp(jmp_buf); extern void longjmp(jmp_buf, int); #define UML_LONGJMP(buf, val) do { \ longjmp(*buf, val); \ } while(0) #define UML_SETJMP(buf) ({ \ int n; \ volatile int enable; \ enable = get_signals(); \ n = setjmp(*buf); \ if(n != 0) \ set_signals(enable); \ n; }) #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
skas | Folder | 0755 |
|
|
aio.h | File | 530 B | 0644 |
|
arch.h | File | 350 B | 0644 |
|
as-layout.h | File | 1.56 KB | 0644 |
|
common-offsets.h | File | 1.05 KB | 0644 |
|
elf_user.h | File | 385 B | 0644 |
|
frame_kern.h | File | 392 B | 0644 |
|
init.h | File | 3.89 KB | 0644 |
|
irq_kern.h | File | 409 B | 0644 |
|
irq_user.h | File | 652 B | 0644 |
|
kern.h | File | 569 B | 0644 |
|
kern_util.h | File | 2.1 KB | 0644 |
|
longjmp.h | File | 440 B | 0644 |
|
mem.h | File | 455 B | 0644 |
|
mem_user.h | File | 2.42 KB | 0644 |
|
net_kern.h | File | 1.81 KB | 0644 |
|
net_user.h | File | 1.6 KB | 0644 |
|
os.h | File | 10.63 KB | 0644 |
|
ptrace_user.h | File | 1.88 KB | 0644 |
|
registers.h | File | 1002 B | 0644 |
|
sigio.h | File | 271 B | 0644 |
|
timer-internal.h | File | 275 B | 0644 |
|
um_malloc.h | File | 384 B | 0644 |
|
user.h | File | 1.45 KB | 0644 |
|