bsek
08/19/2026, 7:36 PMFabian Schmieder
08/19/2026, 8:42 PM960216ed1f), we don't force -ffixed-x18 on generic AROS target code to maintain object compatibility across AArch64 targets.
The host boundary calls into Cocoa/libSystem operate cleanly through the host bridge (hostlib / native host thread context), so x18 is preserved and untouched across macOS system and display callbacks.bsek
08/19/2026, 8:46 PMFabian Schmieder
08/19/2026, 9:00 PMSAVEREGS and RESTOREREGS macros preserve Darwin's full register array across AROS task switches.
2. The communication between AROS HIDD and Cocoa runs over lock-free atomic ring-buffers and a shared frame buffer avoiding unsafe cross-ABI pointer chases.
3. As noted in 960216ed1f, keeping -ffixed-x18 off generic AROS objects prevents ABI fragmentation, while the Darwin host boundary remains self-contained.bsek
08/20/2026, 8:03 AM