77 lines
1.5 KiB
C++
77 lines
1.5 KiB
C++
|
|
#pragma once
|
|
using namespace std;
|
|
|
|
class Hardware {
|
|
|
|
public:
|
|
std::string manufacturer;
|
|
std::string model;
|
|
int ReleasedYear;
|
|
};
|
|
|
|
class Mobo: public Hardware {
|
|
public:
|
|
int pciegen;
|
|
int piceslots;
|
|
int dimmslots;
|
|
int dualchannel; // This is an int so 1 = dualchannel and 2 = quad channel
|
|
int ramspeed;
|
|
std::string comment;
|
|
Mobo() {
|
|
manufacturer = "Forest Gnomes";
|
|
model = "HoneyJar";
|
|
ReleasedYear = 2025;
|
|
pciegen = 4;
|
|
piceslots = 3;
|
|
dimmslots = 2;
|
|
dualchannel = 1;
|
|
ramspeed = 6000;
|
|
comment = "If on AM5 platform - update BIOS before booting!";
|
|
};
|
|
};
|
|
|
|
class CPU: public Hardware {
|
|
public:
|
|
bool bits64;
|
|
bool igpu;
|
|
int igpusize;
|
|
int cores;
|
|
int threads;
|
|
int l1cache;
|
|
int l2cache;
|
|
int l3cache;
|
|
int pcielanes;
|
|
int maxram;
|
|
float mainclock;
|
|
float boostclock;
|
|
std::string architecture;
|
|
std::string memoryrange;
|
|
std::string microcode;
|
|
std::string kerneldriver;
|
|
std::string comment; // This shoule be used to warn the user about updating BIOS on AM5 before booting
|
|
|
|
CPU() {
|
|
manufacturer = "Forest Gnomes";
|
|
model = "HoneyPot";
|
|
ReleasedYear = 2025;
|
|
bits64 = true;
|
|
igpu = false;
|
|
igpusize = 0;
|
|
cores = 4;
|
|
threads = 2;
|
|
l1cache = 32;
|
|
l2cache = 32;
|
|
l3cache = 32;
|
|
pcielanes = 24;
|
|
maxram = 128;
|
|
mainclock = 2;
|
|
boostclock = 2.2;
|
|
architecture = "x86_64";
|
|
memoryrange = "00:00";
|
|
microcode = "acorns";
|
|
kerneldriver = "Forest Gnome Special";
|
|
comment = "";
|
|
};
|
|
};
|