Files
reims-vgpu/guest/bundle
Anees Iqbal ab53a4b949 🆕 Build the guest's kext set for arm64 guests too
The arm64 macOS 13 and later guests Ambrosia boots get a set of their own,
guest/prebuilt-arm64e: ReimsGraphics and RgfxGate for arm64e, the Metal bundle
inside RgfxGate for arm64e (system processes such as WindowServer) and arm64
(apps). `make -C guest set-arm64e` builds it and `prebuilt-arm64e` writes it with
its own sources.toml; prebuilt-check, which cargo xtask check runs, now checks
both sets.

The build picks per-architecture files with ARCH_NAME. An arm64 kernel collection
has neither AppleGraphicsDeviceControl nor IOAcceleratorFamily2, so the arm64e
kext has its own Graft declaration (src/graft-arm64e.json: IOFramebuffer and
IOAccelerator, both from IOGraphicsFamily) and its own Info.plist
(src/Info-arm64e.plist: no device control, no library of either). It leaves
RgfxDeviceControl out and references no IOAccelMemoryMap function. Graft's
consumer rules read src/Info.plist only, so the kext Makefile replaces that one
recipe for arm64e until Graft's rules take the path; make says so with a warning.
RgfxGate packs the guest's slice's cdhash, arm64e for this set.

The x86-64 set's kexts build byte for byte as before; only its record of the
sources changes. The arm64e set does not list Graft yet: it takes Graft's arm64e
build once guest/graft carries one. Its ReimsGraphics' imports all resolve in the
kernel collections of macOS 13.6, 14.6.1, 15.6.1, 26.6.2 and 27.0.1; RgfxGate's
install still calls VNOP functions an arm64 collection does not export.
2026-11-08 20:34:15 -08:00
..