cosmopolitan/tool
Justine Tunney 6ffed14b9c
Rewrite memory manager
Actually Portable Executable now supports Android. Cosmo's old mmap code
required a 47 bit address space. The new implementation is very agnostic
and supports both smaller address spaces (e.g. embedded) and even modern
56-bit PML5T paging for x86 which finally came true on Zen4 Threadripper

Cosmopolitan no longer requires UNIX systems to observe the Windows 64kb
granularity; i.e. sysconf(_SC_PAGE_SIZE) will now report the host native
page size. This fixes a longstanding POSIX conformance issue, concerning
file mappings that overlap the end of file. Other aspects of conformance
have been improved too, such as the subtleties of address assignment and
and the various subtleties surrounding MAP_FIXED and MAP_FIXED_NOREPLACE

On Windows, mappings larger than 100 megabytes won't be broken down into
thousands of independent 64kb mappings. Support for MAP_STACK is removed
by this change; please use NewCosmoStack() instead.

Stack overflow avoidance is now being implemented using the POSIX thread
APIs. Please use GetStackBottom() and GetStackAddr(), instead of the old
error-prone GetStackAddr() and HaveStackMemory() APIs which are removed.
2024-06-22 05:45:11 -07:00
..
args Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
build Rewrite memory manager 2024-06-22 05:45:11 -07:00
cosmocc Support -x LANG flag in cosmocc 2024-06-20 23:55:46 -07:00
curl Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
decode Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
emacs Rewrite memory manager 2024-06-22 05:45:11 -07:00
hello Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
lambda Rewrite memory manager 2024-06-22 05:45:11 -07:00
net Rewrite memory manager 2024-06-22 05:45:11 -07:00
plinko Rewrite memory manager 2024-06-22 05:45:11 -07:00
scripts Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
viz Rewrite memory manager 2024-06-22 05:45:11 -07:00
zsh Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
BUILD.mk more modeline errata (#1019) 2023-12-16 23:07:10 -05:00