2018-02-19 08:41:19 +00:00
|
|
|
#ifndef EXOSPHERE_CFG_ITEM_H
|
|
|
|
#define EXOSPHERE_CFG_ITEM_H
|
|
|
|
|
2018-02-23 03:58:39 +00:00
|
|
|
#include <stdbool.h>
|
2018-02-19 08:41:19 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
enum ConfigItem {
|
|
|
|
CONFIGITEM_DISABLEPROGRAMVERIFICATION = 1,
|
2018-02-25 09:21:52 +00:00
|
|
|
CONFIGITEM_DRAMID = 2,
|
2018-02-19 08:41:19 +00:00
|
|
|
CONFIGITEM_SECURITYENGINEIRQ = 3,
|
2018-02-24 15:25:38 +00:00
|
|
|
CONFIGITEM_VERSION = 4,
|
2018-02-19 08:41:19 +00:00
|
|
|
CONFIGITEM_HARDWARETYPE = 5,
|
|
|
|
CONFIGITEM_ISRETAIL = 6,
|
|
|
|
CONFIGITEM_ISRECOVERYBOOT = 7,
|
|
|
|
CONFIGITEM_DEVICEID = 8,
|
|
|
|
CONFIGITEM_BOOTREASON = 9,
|
|
|
|
CONFIGITEM_MEMORYARRANGE = 10,
|
|
|
|
CONFIGITEM_ISDEBUGMODE = 11,
|
|
|
|
CONFIGITEM_KERNELMEMORYCONFIGURATION = 12,
|
|
|
|
CONFIGITEM_BATTERYPROFILE = 13
|
|
|
|
};
|
|
|
|
|
|
|
|
uint32_t configitem_set(enum ConfigItem item, uint64_t value);
|
|
|
|
uint32_t configitem_get(enum ConfigItem item, uint64_t *p_outvalue);
|
|
|
|
|
2018-02-23 03:58:39 +00:00
|
|
|
bool configitem_is_recovery_boot(void);
|
|
|
|
bool configitem_is_retail(void);
|
2018-02-20 09:02:01 +00:00
|
|
|
|
2018-02-19 08:41:19 +00:00
|
|
|
#endif
|