mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 04:50:28 +00:00
Change support vector to Windows 8+
Doing this makes binaries tinier, since we don't need to have all the
extra code for supporting a 32-bit address space. It also benefits us
because we're able to use WIN32 futexes, which makes locking simpler.
b69f3d2488
is what officially ended our
Windows 7 support. This change is merely a formalization. You can use
old versions of Cosmo now and forevermore if you need Windows 7 since
our repository is hermetic and vendors all its dependencies.
Won't fix #617
This commit is contained in:
parent
6c90f830d9
commit
134ffee519
25 changed files with 296 additions and 167 deletions
|
@ -94,7 +94,7 @@ syscon errno EISCONN 106 56 56 56 56 10056 # socket is connected
|
|||
syscon errno ENOTCONN 107 57 57 57 57 10057 # socket is not connected; bsd consensus; WSAENOTCONN; raised by getpeername(2), recv(2), send(2), shutdown(2), ip(7)
|
||||
syscon errno ESHUTDOWN 108 58 58 58 58 10058 # cannot send after transport endpoint shutdown; note that shutdown write is an EPIPE; bsd consensus; WSAESHUTDOWN
|
||||
syscon errno ETOOMANYREFS 109 59 59 59 59 10059 # too many references: cannot splice; bsd consensus; WSAETOOMANYREFS; raised by sendmsg(2), unix(7)
|
||||
syscon errno ETIMEDOUT 110 60 60 60 60 10060 # connection timed out; bsd consensus; WSAETIMEDOUT; raised by connect(2), futex(2), keyctl(2), tcp(7)
|
||||
syscon errno ETIMEDOUT 110 60 60 60 60 1460 # connection timed out; kNtErrorTimeout; bsd consensus; WSAETIMEDOUT; raised by connect(2), futex(2), keyctl(2), tcp(7)
|
||||
syscon errno ECONNREFUSED 111 61 61 61 61 10061 # bsd consensus; WSAECONNREFUSED; raised by connect(2), listen(2), recv(2), unix(7), udp(7)system-imposed limit on the number of threads was encountered.
|
||||
syscon errno EHOSTDOWN 112 64 64 64 64 10064 # bsd consensus; WSAEHOSTDOWN; raised by accept(2)
|
||||
syscon errno EHOSTUNREACH 113 65 65 65 65 10065 # bsd consensus; WSAEHOSTUNREACH; raised by accept(2), ip(7)
|
||||
|
@ -1316,7 +1316,7 @@ syscon rusage RUSAGE_BOTH -2 99 99 99 99 99 # woop
|
|||
#
|
||||
# group name GNU/Systemd XNU's Not UNIX! FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon futex FUTEX_WAIT 0 0 0 1 0 0
|
||||
syscon futex FUTEX_WAKE 1 0 0 2 0 0
|
||||
syscon futex FUTEX_WAKE 1 0 0 2 0 1
|
||||
syscon futex FUTEX_REQUEUE 3 0 0 3 0 0
|
||||
syscon futex FUTEX_PRIVATE_FLAG 128 0 0 128 0 0
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
.include "o/libc/sysv/consts/syscon.internal.inc"
|
||||
.syscon errno,ETIMEDOUT,110,60,60,60,60,10060
|
||||
.syscon errno,ETIMEDOUT,110,60,60,60,60,1460
|
||||
.yoink kDos2Errno.ETIMEDOUT
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
.include "o/libc/sysv/consts/syscon.internal.inc"
|
||||
.syscon futex,FUTEX_WAKE,1,0,0,2,0,0
|
||||
.syscon futex,FUTEX_WAKE,1,0,0,2,0,1
|
||||
|
|
|
@ -84,7 +84,7 @@ dir=libc/sysv/dos2errno
|
|||
# dos WSAENOTCONN ENOTCONN # in consts.sh
|
||||
# dos WSAESHUTDOWN ESHUTDOWN # in consts.sh
|
||||
# dos WSAETOOMANYREFS ETOOMANYREFS # in consts.sh
|
||||
# dos WSAETIMEDOUT ETIMEDOUT # in consts.sh
|
||||
# dos kNtErrorTimeout ETIMEDOUT # in consts.sh
|
||||
# dos WSAECONNREFUSED ECONNREFUSED # in consts.sh
|
||||
# dos WSAEHOSTDOWN EHOSTDOWN # in consts.sh
|
||||
# dos WSAEHOSTUNREACH EHOSTUNREACH # in consts.sh
|
||||
|
@ -170,3 +170,4 @@ dos WSAEPROCLIM ENOMEM
|
|||
dos WSANOTINITIALISED ENETDOWN
|
||||
dos WSASYSNOTREADY ENETDOWN
|
||||
dos WSAVERNOTSUPPORTED ENOSYS
|
||||
dos WSAETIMEDOUT ETIMEDOUT
|
||||
|
|
|
@ -9,3 +9,4 @@
|
|||
.type kDos2Errno.ETIMEDOUT,@object
|
||||
kDos2Errno.ETIMEDOUT:
|
||||
.e kNtErrorSemTimeout,ETIMEDOUT
|
||||
.e WSAETIMEDOUT,ETIMEDOUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue