XNU as a loadable kernel module inside Linux (macOS personality for arm64 Linux)
C
Commits on main
Prepare for open source: per-module licenses, SPDX headers, README
d9fb700 Heyang Zhou committed 6 days ago
fki hostcall: fail at once when no service is there; unload xnu.ko after a run ends by itself
19c91ec Heyang Zhou committed 6 days ago
xnulinux.service: the GPU bridge off by default (it hangs the VM in about one boot of six under krunkit)
75780cc Heyang Zhou committed 6 days ago
fki_log_alert: an XNU panic and a silent XNU CPU reach the console even when it is quiet
afbaba7 Heyang Zhou committed 6 days ago
krun-vm.sh: 6 vCPUs by default (room for the Mac's own work); README: the Mac agent
5246089 Heyang Zhou committed 6 days ago
install-krun-agent.sh: ProcessType Interactive (a background agent's vCPUs stall on a busy Mac)
466c3f2 Heyang Zhou committed 6 days ago
ops: scripts/install-krun-agent.sh keeps the krunkit VM running on the Mac (launchd: started again after a guest reboot, and at login)
08799fd Heyang Zhou committed 6 days ago
xnulinux-boot.sh stop: wait up to 2 min for every XNU CPU to see the stop (a VM shutdown found one in a long host call)
094c401 Heyang Zhou committed 6 days ago
xnulinux-boot.sh --wait: keep the run's log on systemctl stop too (SIGTERM after ExecStop)
0a3d87a Heyang Zhou committed 6 days ago
ops: the hosted macOS as a systemd service (scripts/install-service.sh, /etc/xnulinux.conf, xnulinux-boot.sh --wait with run logs in /var/log/xnulinux/)
6f8e96a Heyang Zhou committed 6 days ago
docs/smp.md: step 3 done for up to 6 CPUs, what it needed, what is open
a96c02a Heyang Zhou committed 6 days ago
SMP: the hosted XNU on any number of CPUs (4 and 6 tested); paravirtual ticket locks
7aeedb9 Heyang Zhou committed 6 days ago
fki: claim a CPU's kick csd before queuing it (two CPUs kicking a third queued it twice and looped the target in its IPI handler)
fe4456e Heyang Zhou committed 6 days ago
docs/production.md: performance against a native VM, what it took, what is open
22de182 Heyang Zhou committed 6 days ago
Hosted boot to the desktop faster than a native VM; host-safe kernel stacks; performance accounting
9f729e8 Heyang Zhou committed 6 days ago
gpu/xnu-cpu-metal: Round 21 report & Darwin Venus patch note
6512634 Heyang Zhou committed 6 days ago
gpu/xnu-cpu-metal: Round 21 Venus+MoltenVK underlying_driver_id & r20 follow-ups
a7fb280 Heyang Zhou committed 6 days ago
gpu/venus: harden virglrenderer failed-pipeline tombstones and sync pipeline creation on Darwin
b9575d0 Heyang Zhou committed 6 days ago
SMP step 2: the hosted XNU on two CPUs (kexts/XnuCPU, CPU start and IPIs through the host)
081e6b4 Heyang Zhou committed 6 days ago
gpu/xnu-cpu-metal: Round 20 mach_vm_remap NoCopy zero-copy aliasing & LOD clamp SPI
9a00438 Heyang Zhou committed 6 days ago
gpu/xnu-cpu-metal: Round 19 clean fixes (2-plane YCbCr wallpaper, combined texture+sampler SPI, 16B alignment)
5aef0b4 Heyang Zhou committed 7 days ago
tests/host: checks that the hosted kernel leaves Linux's FP/SIMD state and memory alone (1 min)
cd71c34 Heyang Zhou committed 7 days ago
fki: Linux tasks on the hosted kernel's CPU no longer inherit its FP/SIMD registers
2cb44e2 Heyang Zhou committed 7 days ago
Hosted XNU keeps its thread pointer in TPIDRRO_EL0, per CPU (SMP step 1)
9cfcbb9 Heyang Zhou committed 7 days ago