forked from Master-0f-None/OhGodATool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ohgodatool.h
29 lines (19 loc) · 948 Bytes
/
ohgodatool.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __OHGODATOOL_H
#define __OHGODATOOL_H
#include <stdint.h>
#include <stdbool.h>
#define OHGODATOOL_VERSION "v1.2.1"
typedef struct _ArgsObj
{
bool MemStateIdxProvided, CoreStateIdxProvided, SetMemClock, SetCoreClock, SetMemVDDCIdx, SetVTblVDD, SetFanspeed;
bool GPUIdxProvided, VoltageStateIdxProvided, SetCoreVDDCIdx, SetVDDCI, SetMVDD, SetCoreVDDCOff, SetVDDCGFXOff;
bool SetTDP, SetTDC, SetMaxPower, SetMaxCoreClk, SetMaxMemClk, VBIOSFileProvided;
bool ShowMemStates, ShowCoreStates, ShowVoltageStates, ShowFanspeed, ShowTemp;
uint32_t GPUIdx, MemStateIdx, CoreStateIdx, VoltStateIdx, ReqCoreClk, ReqMemClk, ReqVDDCI;
uint32_t ReqMVDD, ReqCoreVoltTblIdx, ReqMemVoltTblIdx, ReqVoltTblVDDC, ReqFanspeedPercentage;
uint32_t ReqTDP, ReqTDC, ReqMaxPower, ReqMaxCoreClk, ReqMaxMemClk;
char *VBIOSFileName;
int32_t ReqCoreVDDCOff, ReqVDDCGFXOff;
} ArgsObj;
bool ParseCmdLine(ArgsObj *Args, int argc, char **argv);
#endif