kernel-brax3-ubuntu-touch/drivers/tee/gud/510/MobiCoreDriver/protocol.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

29 lines
971 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019-2020 TRUSTONIC LIMITED
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef MC_PROTOCOL_H
#define MC_PROTOCOL_H
/* Returns 1 to if probe and start are consumed and init should stop */
int protocol_early_init(int (*probe)(void), int (*start)(void));
int protocol_init(void);
void protocol_exit(void);
int protocol_start(void);
void protocol_stop(void);
const char *protocol_vm_id(void);
bool protocol_is_fe(void);
bool protocol_fe_uses_pages_and_vas(void);
#endif /* MC_PROTOCOL_H */