Commit Graph
1182 Commits
Author SHA1 Message Date
Tyler Smith 4e451f6986 feat(xtask): add a script that builds the standalone host-check boot stick 2026-10-20 18:47:34 +00:00
Tyler Smith 622ec344fd fix(xhci): map the controller's whole register BAR, which QEMU sizes at 16 KiB 2026-10-20 18:47:17 +00:00
Tyler Smith b95672b937 feat(boot): add a --host-check mode that reports the PC's CPU, timers, interrupts, display, disks and keyboard to a USB log file 2026-10-20 18:47:17 +00:00
Tyler Smith c250f094bb fix(boot): map the system-mode xAPIC page strong uncacheable 2026-10-20 18:47:17 +00:00
Tyler Smith 8d1a0330c6 refactor(boot): share one local APIC driver between the engine and the loader 2026-10-20 18:47:17 +00:00
Tyler Smith 06cee8cb66 feat(boot-log): take a contiguous preallocated FAT32 file as the machine-state region 2026-10-20 18:47:17 +00:00
Tyler Smith 09cf983892 feat(boot): report which level-1 ranges of the guest's TTBR1 its tables map whenever they change 2026-10-20 18:25:25 +00:00
Tyler Smith 4547d692ad feat(boot): report the engine's entries, exits by kind and top exit words at each heartbeat 2026-10-20 18:18:00 +00:00
Tyler Smith 05ca920fe4 perf(runtime): complete reads of the thread pointers, GXF status and DAIF natively from mirror cells opened by a plain read 2026-10-20 18:18:00 +00:00
Tyler Smith e81a76ae84 perf(runtime): let a native run chain into 4096 blocks before it returns to the engine 2026-10-20 18:18:00 +00:00
Tyler Smith db7d805342 feat(hosted): route IOKit requests to a device family's service for its own ports and the main-port requests it claims 2026-10-20 18:18:00 +00:00
Tyler Smith 7e636fb12f feat(mach): catalog the IOKit device.defs routines under the kernel configuration's IOKIT option 2026-10-20 18:18:00 +00:00
Tyler Smith e2d6585927 test(hosted): carve the host's pages out of a shared guest page in place, so no parallel test's mapping can take the gap 2026-10-20 18:18:00 +00:00
Tyler Smith 4a655577a9 feat(hosted): fail a mach_msg2 send that misdeclares its destination kind with the fatal kGUARD_EXC_INVALID_OPTIONS guard 2026-10-20 18:18:00 +00:00
Tyler Smith 9f27336fcd fix(hosted): keep a thread that ends its process active to the others until no guest code runs, as exit terminates the other threads first 2026-10-20 18:18:00 +00:00
Tyler Smith 02a5b99cd7 perf(compiler): take a vector XMM0 holds from there in SIMD instructions and lane moves, and track lane moves' results in RAX 2026-10-20 18:10:58 +00:00
Tyler Smith 327bb1fabe perf(compiler): take unsigned byte and halfword minima and maxima across lanes with SSE4.1's PHMINPOSUW 2026-10-20 18:10:58 +00:00
Tyler Smith 00411e4c5c perf(compiler): check SP alignment once per block while SP keeps a checked alignment 2026-10-20 18:10:58 +00:00
Tyler Smith c1755d3278 perf(compiler): take numerical inputs and vector store sources from XMM0 where the previous instruction left the vector 2026-10-20 18:10:58 +00:00
Tyler Smith 266ea93485 perf(compiler): move numerical slow paths out of line and check FPCR and FPSR once per run of numerical instructions 2026-10-20 18:10:58 +00:00
Tyler Smith c60b0c345a feat(hosted): refuse execution from RWX MAP_JIT pages while a thread's view makes them writable 2026-10-20 18:05:59 +00:00
Tyler Smith f6d94d1f3b feat(hosted): answer hw.optional.arm.sme_max_svl_b as 0 for a machine presented without SME 2026-10-20 17:53:49 +00:00
Tyler Smith f1554a850e feat(hosted): let a hosted device serve iokit_user_client_trap on the connections it made 2026-10-20 17:53:49 +00:00
Tyler Smith fbc2fce171 fix(hosted): report a JIT entry's own region when the host coalesces it with an adjacent anonymous mapping 2026-10-20 17:53:49 +00:00
Tyler Smith c34af82697 perf(hosted): serve SPRR_PERM_EL0 accesses holding the execution lock instead of through the hosted kernel 2026-10-20 17:53:49 +00:00
Tyler Smith 2f53408eeb refactor(runtime): name the ID register field mask the presented-feature check reads 2026-10-20 17:40:38 +00:00
Tyler Smith 38324c75c2 feat(runtime): give a PE that withholds features the register layouts of its chip's profile without them (234 layouts, 16 KiB of stela.efi) 2026-10-20 17:40:38 +00:00
Tyler Smith 7debce9a79 perf(runtime): read the system count for interrupt lines only when a device, timer or PMI deadline needs it 2026-10-20 17:33:16 +00:00
Tyler Smith 66e7acba2f perf(runtime): take a block's last word as it was compiled instead of reading it again at each exit 2026-10-20 17:33:16 +00:00
Tyler Smith 34f8cee371 perf(hosted): read guest memory with a copy whose faults the signal handler refuses instead of a Mach call per read 2026-10-20 17:33:16 +00:00
Tyler Smith 11354a902f perf(hosted): refresh a stored record from the modification time read with it instead of opening it again 2026-10-20 17:33:16 +00:00
Tyler Smith 4d68d077c6 feat(runtime): let the host refuse a fetch with a permission instruction abort and re-check fetches when its permissions change 2026-10-20 17:33:16 +00:00
Tyler Smith 7829dc6f91 perf(compiler): analyze a block and plan its compilation from one parse 2026-10-20 17:33:16 +00:00
Tyler Smith 83a9b19649 perf(runtime): read and admit a block's first 32 instructions before its whole source window 2026-10-20 17:33:16 +00:00
Tyler Smith 4622aa54a1 perf(hosted): slide each shared-region page in one copy instead of a Mach call per pointer 2026-10-20 17:33:16 +00:00
Tyler Smith 9371979b31 feat(hosted): trace each forwarded message send's header and descriptors under --trace 2026-10-20 17:29:11 +00:00
Tyler Smith 1af446286b feat(dcp): present l10r swap surfaces and record every SurfaceContents field with its IOSurface accessor 2026-10-20 17:23:45 +00:00
Tyler Smith 5276e55f56 perf(dcp): compose in the scanout's byte order and copy unscaled rows whole when blending cannot change them 2026-10-20 17:23:45 +00:00
Tyler Smith ff0946d258 feat(hosted): make an entry of a parent memory entry's partial range over its 16 KiB pages as the arm64 kernel does 2026-10-20 17:20:18 +00:00
Tyler Smith c86dc3912b fix(hosted): release the rest of a sent region's guest pages only when host regions map them whole on guest pages 2026-10-20 17:20:18 +00:00
Tyler Smith 6c74c12f45 fix(runtime): refuse a stored preparation description whose withheld set has no admit table instead of panicking 2026-10-20 17:20:18 +00:00
Tyler Smith 00764b12e0 feat(runtime): refuse an admit table for a PE that withholds a feature only some encodings of a presented form need 2026-10-20 17:20:18 +00:00
Tyler Smith 77776c9518 feat(runtime): make the forms of features a PE's identification withholds absent, from each form's generated feature requirement 2026-10-20 17:15:46 +00:00
Tyler Smith 3905fe84c9 feat(hosted): map MAP_JIT regions with XNU's checks and each thread's SPRR JIT write protection 2026-10-20 17:10:12 +00:00
Tyler Smith e263a004db fix(hosted): keep out-of-line memory a guest sends or receives in whole guest pages so its deallocations cannot free host memory 2026-10-20 17:08:31 +00:00
Tyler Smith 4a38e97579 feat(hosted): report each MIG routine and exception type refused at one place once instead of only the first 2026-10-20 17:08:31 +00:00
Tyler Smith 7d9a85c7f5 feat(hosted): fail unsupported MIG routines and exception deliveries as the guest's kernel does and report each once 2026-10-20 17:08:31 +00:00
Tyler Smith 9f26f1272e docs(runtime): state that the CLPC sampler counters are held as 64 bits because their hardware widths are not established 2026-10-20 17:03:07 +00:00
Tyler Smith 0df8595d2f feat(dcp): compose every swap layer, cropped, scaled and blended by its premultiplied flag, instead of refusing all but one full-screen layer 2026-10-20 17:03:07 +00:00
Tyler Smith cab9134074 test(agx): pin BC7, BC6H and ASTC decoding to host-decoder vectors for every mode and block-mode family 2026-10-20 17:03:07 +00:00