Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CTCaer
GitHub Repository: CTCaer/hekate
Path: blob/master/bootloader/config.h
1471 views
1
/*
2
* Copyright (c) 2018-2022 CTCaer
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms and conditions of the GNU General Public License,
6
* version 2, as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
#ifndef _CONFIG_H_
18
#define _CONFIG_H_
19
20
#include <bdk.h>
21
22
#include "hos/hos.h"
23
24
typedef struct _hekate_config
25
{
26
// Non-volatile config.
27
u32 autoboot;
28
u32 autoboot_list;
29
u32 bootwait;
30
u32 noticker;
31
u32 backlight;
32
u32 autohosoff;
33
u32 autonogc;
34
u32 updater2p;
35
u32 bootprotect;
36
// Global temporary config.
37
bool t210b01;
38
bool emummc_force_disable;
39
bool rcm_patched;
40
u32 errors;
41
hos_eks_mbr_t *eks;
42
} hekate_config;
43
44
void set_default_configuration();
45
46
#endif /* _CONFIG_H_ */
47
48