Adeeb Rahman
16e0ff446a
Add process-local Winsock TCP loopback
...
Stream sockets listen, accept and connect between guest sockets on
127.0.0.1 inside the runtime; no host socket is opened. Each socket
buffers up to 64 KiB, send takes what fits, recv returns 0 at end of
file after shutdown(SD_SEND) or closesocket, and sending to a closed
peer reports WSAECONNRESET. WSAPoll reports listen-queue readiness,
write space and POLLHUP. TCP and UDP ports are separate namespaces.
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:54:04 -05:00
Adeeb Rahman
9a7ae95f61
Record PR push, CI and MoveFileExW in the runtime handoff
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:47:37 -05:00
Adeeb Rahman
6229447a6a
Add MoveFileExW with replace and write-through on both drives
...
MoveFileExW accepts MOVEFILE_REPLACE_EXISTING, MOVEFILE_WRITE_THROUGH
and MOVEFILE_COPY_ALLOWED. A closed file may atomically replace another
closed file on a host mount or the synthetic C: drive; directories are
never replaced, and open files can neither move nor be replaced. Write
through flushes both host directories. Moves between drives report
ERROR_NOT_SAME_DEVICE, or ERROR_NOT_SUPPORTED when a copy is allowed.
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:47:18 -05:00
Adeeb Rahman
7bb47989e5
Rename files and directories within writable host mounts
...
MoveFileW now renames closed files and directories inside one writable
host mount using an exclusive host rename (renameatx_np RENAME_EXCL on
macOS, renameat2 RENAME_NOREPLACE on Linux), so an existing name is
never replaced. A change of case alone renames in place. Open files,
read-only mounts, the mount root and moves between drives fail with
explicit Win32 errors.
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:38:16 -05:00
Adeeb Rahman
b1b6629f8b
Update system-runtime handoff after upstream sync and mount quota
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:33:49 -05:00
Adeeb Rahman
30cf55e753
Bound net growth of writable host mounts with an optional quota
...
HostMount::with_quota limits the net bytes and the number of files and
directories guest operations add to a writable mount. Win32 writes,
extending SetEndOfFile, CreateFileW, CreateDirectoryW, GetTempFileNameW
and CRT fopen/fclose are charged; deletion and shrinking give the
amount back, never below zero. Exceeding a limit fails with
ERROR_DISK_FULL (CRT ENOSPC) and leaves the host unchanged.
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:33:49 -05:00
Adeeb Rahman
52ddb4f51f
Merge remote-tracking branch 'origin/main' into feat/system-runtime-expansion
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 18:19:19 -05:00
Zach Doxsee
3b47c21bb0
Merge pull request #348 from 1Bartosz/cpu/195-adc-sbb-dbt
...
loader: run ADC and SBB register and immediate forms natively in the DBT (#195 )
2026-11-24 22:20:44 +01:00
Zach Doxsee
9a62d86a89
Merge pull request #362 from katherinebytes/codex/metal-compute-pipeline-cache
...
Reuse bounded Metal compute pipelines
2026-11-24 22:20:29 +01:00
Zach Doxsee
4b32c532fe
Merge pull request #370 from vedantdadhich21/fix/portable-gpu-timeout
...
Scripts: run GPU tests without GNU timeout
2026-11-24 22:20:20 +01:00
Adeeb Rahman
4afbbc3a32
Format system runtime changes for workspace verification
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 16:02:20 -05:00
Adeeb Rahman
b0b6733a27
Share file position and timestamp policy across duplicate handles
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 16:01:23 -05:00
Adeeb Rahman
bbfe9027a9
Honor timestamp suppression on synthetic guest file handles
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 16:00:28 -05:00
Adeeb Rahman
b031640fef
Advance synthetic file timestamps using the guest clock
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:59:03 -05:00
Adeeb Rahman
6aa386a916
Merge remote-tracking branch 'origin/main' into feat/system-runtime-expansion
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
# Conflicts:
# CHANGELOG.md
2026-11-24 15:58:47 -05:00
Adeeb Rahman
6dc241323b
Track explicit timestamps on synthetic guest files
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:57:53 -05:00
Zach Doxsee
bbc84c0da0
Merge pull request #373 from 1Bartosz/bench/112-json-export
...
bench: export dbt_bench results as JSON (#112 )
2026-11-24 21:57:25 +01:00
Adeeb Rahman
cda25954fa
Update mounted file timestamps through guest handles
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:56:26 -05:00
Adeeb Rahman
c4a2b53ac4
Read Win32 file timestamps from open guest handles
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:55:12 -05:00
Bartosz Szczepański
d2f77cdea3
Merge upstream main into cpu/195-adc-sbb-dbt
...
Signed-off-by: Bartosz Szczepański <bartosz.szczepanski@hotmail.com >
archive/pull/348/head
2026-11-24 21:55:01 +01:00
Adeeb Rahman
7b0255b4df
Merge remote-tracking branch 'origin/main' into feat/system-runtime-expansion
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
# Conflicts:
# CHANGELOG.md
2026-11-24 15:54:37 -05:00
Adeeb Rahman
da9f2c0035
Expose mounted file timestamps to Win32 guests
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:53:55 -05:00
Zach Doxsee
3a36379db4
Merge pull request #342 from Swastickc/qa/cpu-test-selection-159
...
qa: measure CPU test runtime and add deterministic test-target shards (#159 )
2026-11-24 21:53:45 +01:00
Zach Doxsee
147e2a9f1a
Merge pull request #372 from GDemay/perf/104-allocation-free-fetch
...
loader: avoid allocations when fetching instruction bytes
2026-11-24 21:53:30 +01:00
Adeeb Rahman
b15226efe9
Return extended Win32 path metadata
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:52:08 -05:00
Adeeb Rahman
74fdf04f78
Report Win32 file types for guest disk handles
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:50:55 -05:00
Adeeb Rahman
1127cac9d9
Implement legacy Win32 file size queries
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:49:58 -05:00
Adeeb Rahman
0fdd33a440
Flush writable guest file handles
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:48:41 -05:00
katherinebytes
a7fa8b0d65
Retry the ARM64 CI run
...
Signed-off-by: katherinebytes <rebooteduck+kr@gmail.com >
archive/pull/362/head
2026-11-24 20:47:35 +00:00
Adeeb Rahman
ef5337557f
Support ASCII Win32 file creation and open
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:47:18 -05:00
Adeeb Rahman
d96dd70bc3
Support ASCII Win32 file deletion
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:45:59 -05:00
Adeeb Rahman
89dae334bf
Support ASCII Win32 file attribute queries
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:44:44 -05:00
Adeeb Rahman
55c51b40d4
Merge remote-tracking branch 'origin/main' into feat/system-runtime-expansion
2026-11-24 15:43:41 -05:00
Adeeb Rahman
f21d8ea1be
Create guest temporary files on explicit host mounts
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:43:10 -05:00
Zach Doxsee
e6b657a2e9
Merge pull request #341 from sahib453/task/175-page-boundary-faults
...
loader: report the first inaccessible byte of a page-crossing guest fault (#175 )
2026-11-24 21:43:08 +01:00
Zach Doxsee
c05e631c6d
Merge pull request #343 from sahib453/task/78-tls-callback-metadata
...
loader: reject malformed TLS callback metadata and unusable callback stacks (#78 )
2026-11-24 21:42:51 +01:00
Adeeb Rahman
941ac8cf2e
Create temporary files on the synthetic guest drive
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:41:41 -05:00
Adeeb Rahman
db20a1870f
Expose guest-scoped Win32 temporary directory lookup
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:39:40 -05:00
Adeeb Rahman
c45e11d5af
Report host directory creation collisions consistently
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:37:28 -05:00
Adeeb Rahman
b00321aa1e
Implement caller-owned UCRT wide tokenization
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:35:46 -05:00
Adeeb Rahman
d8d008668f
Verify strtok_s through translated Win64 imports
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:34:04 -05:00
Adeeb Rahman
8b12bf4212
Merge remote-tracking branch 'origin/main' into feat/system-runtime-expansion
2026-11-24 15:32:56 -05:00
Adeeb Rahman
d94173ba3d
Implement caller-owned UCRT byte tokenization
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:32:38 -05:00
Zach Doxsee
34a583b101
Merge pull request #356 from sahib453/task/76-tls-pointer-array
...
loader: give the thread a TLS pointer array separate from its data (#76 )
2026-11-24 21:32:15 +01:00
Adeeb Rahman
83e497a97b
Document Win64 CRT tokenization and search signatures in the catalog
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:29:34 -05:00
Adeeb Rahman
3b926d5166
Verify wcstok guest ABI and cross-alias continuation
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:23:23 -05:00
Bartosz Szczepański
061c28b405
bench: export dbt_bench results as JSON ( #112 )
...
dbt_bench printed its results only as text. With
XENORA_DBT_BENCH_JSON=<path> set it now also writes one JSON document:
host CPU, OS and architecture, git revision and dirty state, debug
assertions, the workload and sample counts, median, min, max, p95, p99,
IQR and MIPS for the interpreter and cold and warm DBT, and the cold
DBT counters. Values the benchmark cannot determine are null.
The statistics are computed once in a Summary that feeds both the text
line and the JSON, so the two cannot disagree. The text output and the
timed work are unchanged, and no dependency is added.
Unit tests cover string escaping, null handling, the whole document for
fixed inputs and the text line format.
Signed-off-by: Bartosz Szczepański <bartosz.szczepanski@hotmail.com >
archive/pull/373/head
2026-11-24 21:22:58 +01:00
Adeeb Rahman
290a6b620b
Implement wide CRT tokenization with explicit guest context
...
Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com >
2026-11-24 15:22:00 -05:00
zachdoxsee
3b52215a30
Merge upstream main into task/175-page-boundary-faults
...
Conflict in CHANGELOG.md only: both new entries are kept.
Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com >
archive/pull/341/head
2026-11-24 21:20:41 +01:00
Guillaume Demay
0214a7bab5
loader: avoid allocations when fetching instruction bytes
...
Signed-off-by: Guillaume Demay <guillaumedemay@hotmail.fr >
archive/pull/372/head
2026-11-24 21:20:28 +01:00