m1n1/src/gxf.h
Hector Martin 0192bd6617 gxf: Add gxf_enabled()
Signed-off-by: Hector Martin <marcan@marcan.st>
2021-05-25 19:49:12 +09:00

16 lines
326 B
C

/* SPDX-License-Identifier: MIT */
#ifndef __GXF_H__
#define __GXF_H__
#include "types.h"
bool gxf_enabled(void);
bool in_gl12(void);
void gxf_init(void);
uint64_t gl1_call(void *func, uint64_t a, uint64_t b, uint64_t c, uint64_t d);
uint64_t gl2_call(void *func, uint64_t a, uint64_t b, uint64_t c, uint64_t d);
#endif