2020-12-23 17:39:22 +01:00
|
|
|
#pragma once
|
2020-12-25 00:20:30 +01:00
|
|
|
#include <utils/types.h>
|
2020-12-23 17:39:22 +01:00
|
|
|
|
2020-12-25 00:20:30 +01:00
|
|
|
char *CpyStr(const char* in);
|
2020-12-25 22:19:04 +01:00
|
|
|
void MaskIn(char *mod, u32 bitstream, char mask);
|
2020-12-26 01:05:33 +01:00
|
|
|
bool StrEndsWith(char *begin, char *end);
|
2020-12-28 20:08:15 +01:00
|
|
|
void WaitFor(u32 ms);
|
2021-01-01 11:43:31 +01:00
|
|
|
void RebootToPayloadOrRcm();
|
2020-12-26 01:05:33 +01:00
|
|
|
|
2020-12-29 16:51:47 +01:00
|
|
|
#define FREE(x) free(x); x = NULL;
|
2021-01-12 00:30:14 +01:00
|
|
|
char *ShowKeyboard(const char *toEdit, u8 alwaysRet);
|
|
|
|
|
|
|
|
void power_off();
|
2021-01-21 17:59:49 +01:00
|
|
|
void reboot_rcm();
|
|
|
|
void reboot_normal();
|