cosmopolitan/libc/nt/enum/context.h
Justine Tunney 425c055116
Make improvements
- Polyfill readlink("foo/") dir check on Windows
- Support asynchronous signal delivery on Windows
- Restore Windows Console from execve() daisy chain
- Work around bug in AARCH64 Optimized Routines memcmp()
- Disable unbourne.com shell completion on Windows for now
- Don't always set virtual terminal input state on console
- Remove Musl Libc's unusual preservation of realpath("//")
- Make realpath() strongly link malloc() to pass configure test
- Delete cosh.com shell, now that unbourne.com works on Windows!
2023-09-06 22:48:05 -07:00

21 lines
837 B
C

#ifndef COSMOPOLITAN_LIBC_NT_ENUM_CONTEXT_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_CONTEXT_H_
#define kNtContextAmd64 0x00100000
#define kNtContextControl (kNtContextAmd64 | 0x00000001)
#define kNtContextInteger (kNtContextAmd64 | 0x00000002)
#define kNtContextSegments (kNtContextAmd64 | 0x00000004)
#define kNtContextFloatingPoint (kNtContextAmd64 | 0x00000008)
#define kNtContextDebugRegisters (kNtContextAmd64 | 0x00000010)
#define kNtContextFull \
(kNtContextControl | kNtContextInteger | kNtContextFloatingPoint)
#define kNtContextAll \
(kNtContextControl | kNtContextInteger | kNtContextSegments | \
kNtContextFloatingPoint | kNtContextDebugRegisters)
#define kNtContextXstate (kNtContextAmd64 | 0x00000040)
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_CONTEXT_H_ */