mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-15 23:29:56 +00:00
Improve signal handling and math
- Polyfill ucontext_t on FreeBSD/OpenBSD/NetBSD - Add tests confirming signals can edit CPU state - Work towards supporting ZIP filesystem on bare metal - Add more tinymath unit tests for POSIX conformance - Add X87 and SSE status flags to crash report - Fix some bugs in blinkenlights - Fix llvm build breakage
This commit is contained in:
parent
cdc54ea1fd
commit
40291c9db3
109 changed files with 2316 additions and 520 deletions
|
@ -1792,12 +1792,12 @@ syscon misc SCSI_IOCTL_TAGGED_DISABLE 0x5384 0 0 0 0 0
|
|||
syscon misc SCSI_IOCTL_TAGGED_ENABLE 0x5383 0 0 0 0 0
|
||||
syscon misc SCSI_IOCTL_TEST_UNIT_READY 2 0 0 0 0 0
|
||||
|
||||
syscon misc CLD_CONTINUED 6 6 6 6 6 0 # unix consensus
|
||||
syscon misc CLD_DUMPED 3 3 3 3 3 0 # unix consensus
|
||||
syscon misc CLD_EXITED 1 1 1 1 1 0 # unix consensus
|
||||
syscon misc CLD_KILLED 2 2 2 2 2 0 # unix consensus
|
||||
syscon misc CLD_STOPPED 5 5 5 5 5 0 # unix consensus
|
||||
syscon misc CLD_TRAPPED 4 4 4 4 4 0 # unix consensus
|
||||
syscon misc CLD_CONTINUED 6 6 6 6 6 6 # unix consensus
|
||||
syscon misc CLD_DUMPED 3 3 3 3 3 3 # unix consensus
|
||||
syscon misc CLD_EXITED 1 1 1 1 1 1 # unix consensus
|
||||
syscon misc CLD_KILLED 2 2 2 2 2 2 # unix consensus
|
||||
syscon misc CLD_STOPPED 5 5 5 5 5 5 # unix consensus
|
||||
syscon misc CLD_TRAPPED 4 4 4 4 4 4 # unix consensus
|
||||
|
||||
syscon misc READ_10 40 0 0 0 0 0
|
||||
syscon misc READ_12 168 0 0 0 0 0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,CLD_CONTINUED,6,6,6,6,6,0
|
||||
.syscon misc,CLD_CONTINUED,6,6,6,6,6,6
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,CLD_DUMPED,3,3,3,3,3,0
|
||||
.syscon misc,CLD_DUMPED,3,3,3,3,3,3
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,CLD_EXITED,1,1,1,1,1,0
|
||||
.syscon misc,CLD_EXITED,1,1,1,1,1,1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,CLD_KILLED,2,2,2,2,2,0
|
||||
.syscon misc,CLD_KILLED,2,2,2,2,2,2
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,CLD_STOPPED,5,5,5,5,5,0
|
||||
.syscon misc,CLD_STOPPED,5,5,5,5,5,5
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,CLD_TRAPPED,4,4,4,4,4,0
|
||||
.syscon misc,CLD_TRAPPED,4,4,4,4,4,4
|
||||
|
|
|
@ -1,24 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_CLD_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_CLD_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define CLD_CONTINUED SYMBOLIC(CLD_CONTINUED)
|
||||
#define CLD_DUMPED SYMBOLIC(CLD_DUMPED)
|
||||
#define CLD_EXITED SYMBOLIC(CLD_EXITED)
|
||||
#define CLD_KILLED SYMBOLIC(CLD_KILLED)
|
||||
#define CLD_STOPPED SYMBOLIC(CLD_STOPPED)
|
||||
#define CLD_TRAPPED SYMBOLIC(CLD_TRAPPED)
|
||||
#define CLD_CONTINUED 6
|
||||
#define CLD_DUMPED 3
|
||||
#define CLD_EXITED 1
|
||||
#define CLD_KILLED 2
|
||||
#define CLD_STOPPED 5
|
||||
#define CLD_TRAPPED 4
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const long CLD_CONTINUED;
|
||||
extern const long CLD_DUMPED;
|
||||
extern const long CLD_EXITED;
|
||||
extern const long CLD_KILLED;
|
||||
extern const long CLD_STOPPED;
|
||||
extern const long CLD_TRAPPED;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CLD_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue