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
757 B
C
15 lines
757 B
C
/* SPDX-License-Identifier: MIT */
|
|
#pragma once
|
|
#include "pauth-batch.h"
|
|
struct pauth_pointer_state {
|
|
uint64_t attempts,calls,signs,auths,valid,invalid,failures;
|
|
uint64_t pointer,modifier,key,authenticate,tbi,tbid,stripped,computed,result;
|
|
uint64_t native_calls,native_restores;
|
|
};
|
|
/* SIGN forwards all64 input bits to a sign-only native backend; it must not
|
|
* require an AUT round trip. A mismatched signature is a successful service call returning UINT64_MAX.
|
|
* Backend/configuration failures stop the guest without supplying a result. */
|
|
enum sptm_result pauth_pointer(const uint64_t pointer,uint64_t key,uint64_t modifier,
|
|
uint64_t authenticate,uint64_t tbi,uint64_t tbid,pauth_batch_sign_fn,void *,
|
|
struct pauth_pointer_state *);
|