An EL2 monitor/hypervisor and toolchain that boots macOS 27 on the ASUS A16 (Snapdragon X2 Elite), with an Adreno Metal plug-in and IOGPU kext, and air2ir3, an AIR to Mesa ir3 shader compiler. MIT, with GPL-2.0 components listed in LICENSE and THIRD_PARTY_NOTICES.md. No Apple, Qualcomm, ASUS or Microsoft binaries are included.
15 lines
436 B
C++
15 lines
436 B
C++
/* SPDX-License-Identifier: MIT */
|
|
#include <IOKit/IOService.h>
|
|
#include <IOKit/IOLib.h>
|
|
class SnapHello : public IOService {
|
|
OSDeclareDefaultStructors(SnapHello)
|
|
public:
|
|
bool start(IOService *provider) override {
|
|
if (!IOService::start(provider)) return false;
|
|
IOLog("SnapHello: AuxKC kext started\n");
|
|
registerService();
|
|
return true;
|
|
}
|
|
};
|
|
OSDefineMetaClassAndStructors(SnapHello, IOService)
|