2020-12-23 16:39:22 +00:00
|
|
|
#pragma once
|
2020-12-24 23:20:30 +00:00
|
|
|
#include <utils/types.h>
|
2020-12-23 16:39:22 +00:00
|
|
|
|
2020-12-24 23:20:30 +00:00
|
|
|
char *CpyStr(const char* in);
|
2020-12-25 21:19:04 +00:00
|
|
|
void MaskIn(char *mod, u32 bitstream, char mask);
|
2020-12-26 00:05:33 +00:00
|
|
|
bool StrEndsWith(char *begin, char *end);
|
2020-12-28 19:08:15 +00:00
|
|
|
void WaitFor(u32 ms);
|
2021-01-01 10:43:31 +00:00
|
|
|
void RebootToPayloadOrRcm();
|
2020-12-26 00:05:33 +00:00
|
|
|
|
2020-12-29 15:51:47 +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();
|
2021-01-21 16:59:49 +00:00
|
|
|
void reboot_rcm();
|
|
|
|
void reboot_normal();
|