1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-23 04:12:04 +00:00
TegraExplorer/source/utils/utils.h

15 lines
361 B
C
Raw Permalink Normal View History

#pragma once
#include <utils/types.h>
char *CpyStr(const char* in);
void MaskIn(char *mod, u32 bitstream, char mask);
2020-12-26 00:05:33 +00:00
bool StrEndsWith(char *begin, char *end);
void WaitFor(u32 ms);
void RebootToPayloadOrRcm();
2020-12-26 00:05:33 +00:00
#define FREE(x) free(x); x = NULL;
2021-01-11 23:30:14 +00:00
char *ShowKeyboard(const char *toEdit, u8 alwaysRet);
void power_off();
void reboot_rcm();
void reboot_normal();