← Blog
KERNEL · 0.6.0

Apple Silicon HAL Batch 16: I2C, AOP Coprocessor, SMC, USB4/TB4 Port Controller, Apple PMU + PPC GMAC/VIA/Symbios/SWIM3/G3G4-PMU

June 22, 2026 · sigil-kernel · Sigil-Docs
kernel hal apple-silicon powerpc hardware 0.6.0

sigil-kernel's sixteenth HAL batch adds 10 more seams — 5 Apple Silicon and 5 PowerPC. Apple: I2C controller (100/400kHz, 4-slave register table, NACK on unknown), AOP coprocessor (Always-On Processor: boot/sleep/wake, 8-slot event FIFO for HEY_SIRI/LID_OPEN/MOTION/NFC_TAP/CRASH/ALS), SMC System Management Controller (16-key table, CPU/GPU temp + fan RPM + backlight, FourCC read/write), USB4/TB4 port controller (Gen2×2=20G / Gen3×2=40G link train, PD 3.1 EPR 140W, DP+TBT3 alt-mode), Apple Silicon PMU (M-series P/E-cluster DVFS 5-OPP, GPU on/off, S0→S3 suspend+wake). PowerPC: GMAC Ethernet (Sun GMAC G4/G5, MDIO auto-neg GbE FD, 8-desc TX+RX ring, cksum offload), VIA 6522 (G3/G4 VIA1+VIA2, RTC bit-bang, 8-byte NVRAM, SCSI+VBLANK IRQ), Symbios 875 UW-SCSI (8-device table, SELECT→CMD→DATA→STATUS→DONE, selection timeout), SWIM3 floppy (MFM 1440K, 80-track seek, r/w sectors, WP guard), G3/G4 PMU coprocessor (battery SoC/V/A/T, RTC get+set, SLEEP/WAKEUP_EVENT). All QEMU PASS. (sigil-kernel f201e7a, 24528ad, 4681230, cf8a563, 2d5534a)

HAL batch 16 QEMU test pass
sigil-kernel HAL batch 16 — 10 seams verified on QEMU, all PASS

Apple Silicon Seams

apple_i2c.sg — Apple Silicon I2C Controller PASS

Commit f201e7a. MMIO base 0x492000. The Apple Silicon I2C controller drives low-speed peripheral buses — sensors, PMICs, touch controllers, and various platform devices.

PASS: I2C init=1 rw=1 nack=1


apple_aop.sg — Always-On Processor (AOP) Coprocessor PASS

Commit 24528ad. MMIO base 0x494000. The AOP is the low-power coprocessor that stays active while the main CPU cluster is power-gated. It monitors sensors and dispatches wake events without consuming main-cluster power.

PASS: AOP init=1 slp=1 wak=1


apple_smc.sg — System Management Controller PASS

Commit 4681230. MMIO base 0x496000. The SMC is the platform telemetry and control hub — the bridge between the OS and thermal, power, and display hardware sensors.

PASS: SMC init=1 srd=1 swr=1


apple_usb4.sg — USB4 / Thunderbolt 4 Port Controller PASS

Commit cf8a563. MMIO base 0x498000. The USB4/TB4 port controller manages the high-speed port fabric on Apple Silicon Macs — link training, power delivery negotiation, and alternate-mode tunneling.

PASS: U4 init=1 lnk=1 pd=1


apple_pmu.sg — M-Series Apple Silicon PMU PASS

Commit 2d5534a. MMIO base 0x49A000. The M-series PMU drives the DVFS fabric for both CPU clusters and manages the platform power states.

PASS: PMU init=1 dvf=1 slp=1


PowerPC Seams

ppc_gmac.sg — G4/G5 GMAC Gigabit Ethernet PASS

Commit f201e7a. MMIO base 0x493000. The Sun GMAC core is the Gigabit Ethernet MAC in G4 and G5 Power Mac systems — a Sun Microsystems IP block licensed into the Apple PowerPC platform.

PASS: MAC init=1 lnk=1 pkt=1


ppc_via.sg — G3/G4 VIA 6522 (VIA1 + VIA2) PASS

Commit 24528ad. MMIO base 0x495000. The MOS 6522 Versatile Interface Adapter was the system glue chip in every Apple from the Apple II through the PowerBook G4. The seam models both VIA1 (system VIA) and VIA2 (expansion VIA).

PASS: VIA init=1 nvr=1 irq=1


ppc_sym875.sg — G4/G5 Symbios 875 UW-SCSI PASS

Commit 4681230. MMIO base 0x497000. The Symbios Logic SYM53C875 is the Ultra-Wide SCSI controller found in Power Mac G4 and G5 towers.

PASS: SCS init=1 cmd=1 sel=1


ppc_swim3.sg — PowerBook G3/G4 SWIM3 Floppy Controller PASS

Commit cf8a563. MMIO base 0x499000. The SWIM3 (Sander-Wozniak Integrated Machine 3) is the final Apple floppy controller, present in PowerBook G3 and G4 models that still shipped with a floppy drive.

PASS: FD init=1 rds=1 wp=1


ppc_pmu.sg — G3/G4 PMU Coprocessor (CUDA/PMU Chip) PASS

Commit 2d5534a. MMIO base 0x49B000. The G3/G4 PMU is a dedicated coprocessor (the CUDA chip in G3 desktops, the PMU chip in PowerBooks) that manages battery telemetry, the real-time clock, and system power events — the PowerPC equivalent of the Apple Silicon AOP + SMC combined.

PASS: PPM init=1 bat=1 slp=1


Seam Address Table — Batch 16

MMIO Base Seam Platform Commit PASS
0x492000 apple_i2c.sg Apple Silicon f201e7a init=1 rw=1 nack=1
0x493000 ppc_gmac.sg PowerPC G4/G5 f201e7a init=1 lnk=1 pkt=1
0x494000 apple_aop.sg Apple Silicon 24528ad init=1 slp=1 wak=1
0x495000 ppc_via.sg PowerPC G3/G4 24528ad init=1 nvr=1 irq=1
0x496000 apple_smc.sg Apple Silicon 4681230 init=1 srd=1 swr=1
0x497000 ppc_sym875.sg PowerPC G4/G5 4681230 init=1 cmd=1 sel=1
0x498000 apple_usb4.sg Apple Silicon cf8a563 init=1 lnk=1 pd=1
0x499000 ppc_swim3.sg PowerPC G3/G4 cf8a563 init=1 rds=1 wp=1
0x49A000 apple_pmu.sg Apple Silicon 2d5534a init=1 dvf=1 slp=1
0x49B000 ppc_pmu.sg PowerPC G3/G4 2d5534a init=1 bat=1 slp=1