cosmopolitan/libc/zipos
Joshua Wierenga 4381b3d925
Get cosmopolitation working on Vista again (#635)
* Fixes virtual memory support for Windows Vista/7/8

Fixes file desciptor and zipos virtual memory sizes given that old versions of windows limit their user virtual memory space to 8tb.
Includes some changes from b69f3d2488 and 6f7d0cb1c3 in preparation for potentially using them on old windows and because it avoids duplicating addresses everywhere.

* Optimise windows version checking

Added GetNtMinorVersion() and IsAtleastWindows8p1() macros which get nt version info from the peb.

* Planned nsync memory region for old windows

Added nsync regon start and size macros that can switch to smaller values on old windows, just like previous fds and zipos change.
2022-10-04 01:20:39 -07:00
..
close.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
fcntl.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
find.c Improve zipos path handling (#579) 2022-09-03 22:50:23 -07:00
free.c Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
fstat.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
get.c Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
lock.c Tidy up the threading implementation 2022-09-10 02:56:25 -07:00
lseek.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
notat.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
open.c Get cosmopolitation working on Vista again (#635) 2022-10-04 01:20:39 -07:00
parseuri.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
read.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
stat-impl.c Improve zipos path handling (#579) 2022-09-03 22:50:23 -07:00
stat.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
zipos.h Don't relocate file descriptor memory 2022-09-09 16:54:28 -07:00
zipos.internal.h Remove stdio lock macros from amalgamation 2022-09-10 12:03:36 -07:00
zipos.mk Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
zipos.S Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00