Files
Snapintosh/compat/cpu-release.h
T
Acelogic 1510d8c6ce Snapintosh public release
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.
2026-10-21 21:26:36 -04:00

13 lines
577 B
C

/* SPDX-License-Identifier: MIT */
#ifndef SNAP_CPU_RELEASE_H
#define SNAP_CPU_RELEASE_H
#include <stdint.h>
struct guest_cpu_release { uint64_t armed, issued; };
/* A live backend accepts one release at a time. No reads or power-completion
* values are fabricated. Offsets are relative to the PMGR CPU-start block;
* global bits 1..5 map to E-cluster bits1..3 and P-cluster bits0..1. */
int guest_cpu_release_write(struct guest_cpu_release *state,uint64_t allowed,
uint64_t offset,unsigned width,uint64_t value,
int (*launch)(void *,unsigned),void *context);
#endif