cc0a887302
Initial macOS support (x86_64 with Rosetta 2)
2025-11-08 01:45:47 -07:00
3dd9fb77ff
Experimental 64-bit host support
2025-11-06 19:14:48 -07:00
4dc599381f
Refactor memory management into wibo::heap
...
- Removes blockUpper2GB hack; we now start early in the process
and reserve all (available) space in the lower 2GB address
space, leaving the upper 2GB untouched for host code
- All virtual memory operations flow through wibo::heap for
bookkeeping
- All guest code uses a guest mimalloc area + thread-local heaps
reserved in the guest address space
2025-11-03 13:58:33 -07:00
52cdd7c811
Fully functional guest<->host trampolines
2025-10-31 00:45:32 -06:00
55a62a27c9
Initial guest-to-host trampoline generation
2025-10-30 02:23:09 -06:00
9367f003c5
Refactor to use TIB LastErrorValue
2025-10-28 10:01:21 -06:00
a240e3dc4b
Support TlsExpansionSlots (>64 TLS slots)
2025-10-27 12:27:26 -06:00
50a457c5e3
Begin reworking TLS impl & add TLS loader support
2025-10-27 01:03:30 -06:00
0c2c0f653b
Add Handles::clear() and run it on exit
2025-10-09 16:48:33 -06:00
e185629d19
Always use _exit to terminate (for now)
2025-10-09 13:14:59 -06:00
dc5a91c480
Simplify process spawning using SYS_clone
2025-10-09 12:33:58 -06:00
cac944400f
Rework subprocess spawning using clone3/execveat
2025-10-08 18:13:54 -06:00
df36de18bf
Implement async (overlapped) I/O with io_uring
2025-10-06 23:51:09 -06:00
166b9036fd
Dont set ERROR_SUCCESS generally
...
Turns out we should only be setting this in a select few cases.
2025-10-06 00:03:10 -06:00
ff04eb9f41
Fix OpenProcessToken pseudo-handle regression
2025-10-05 18:16:15 -06:00
0d76e541c1
Reorg headers, module_registry -> modules, remove ActCtx msvcr80.dll hack
2025-10-05 17:46:16 -06:00
5a2f8e2926
Docker build fixes
2025-10-05 14:37:45 -06:00
0bc80b6618
Split into HostContextGuard/GuestContextGuard
2025-10-05 14:32:06 -06:00
cd7baffc5e
Save/restore fs/gs segments when re-entering host code
2025-10-05 13:58:40 -06:00
04516b246c
More logging & some hacks
2025-10-04 21:26:46 -06:00
390f26b28d
New handles, threading and processes subsystems
2025-10-04 13:31:26 -06:00
d8150e33b9
Rework thread TIB handling & DLL initialization handling
2025-10-02 16:40:23 -06:00
3249ebf4bf
Split advapi32 into separate files (part 2) & more impls for ee-gcc/cygwin
2025-10-02 09:05:27 -06:00
2cbd624119
Split kernel32 into separate files (part 3)
2025-10-02 01:02:26 -06:00
fa3ed4893a
Split kernel32 into separate files (part 2)
2025-10-02 00:20:28 -06:00
9ea5b24b67
Split kernel32 into separate files (part 1)
2025-10-01 18:18:13 -06:00