Initial
This commit is contained in:
19
image/HARDWARE.CPP
Normal file
19
image/HARDWARE.CPP
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <image/hardware.hpp>
|
||||
|
||||
Hardware::operator String(void)const
|
||||
{
|
||||
if(CPUUnknown==cpuType())return "CPU_UNKNOWN";
|
||||
else if(CPU80386==cpuType())return "CPU_80386";
|
||||
else if(CPU80486==cpuType())return "CPU_80486";
|
||||
else if(CPU80586==cpuType())return "CPU_80586";
|
||||
else if(CPUMIPSR3000==cpuType())return "CPU_MIPS_R3000";
|
||||
else if(CPUMIPSMARKII==cpuType())return "CPU_MIPS_MARKII";
|
||||
else if(CPUMIPSMARKIII==cpuType())return "CPU_MIPS_MARKIII";
|
||||
else if(CPUMIPSR4000==cpuType())return "CPU_MIPS_R4000";
|
||||
else if(CPUDECALPHAAXP==cpuType())return "CPU_DEC_ALPHA_AXP";
|
||||
else if(CPUPOWERPC==cpuType())return "CPU_POWERPC";
|
||||
else if(CPUMOTOROLA68000==cpuType())return "CPU_MOTOROLA_68000";
|
||||
else if(CPUPARISC==cpuType())return "CPU_PA_RISC";
|
||||
else if(CPUMIPS10000==cpuType())return "CPU_MIPS-10000";
|
||||
else return "*********";
|
||||
}
|
||||
Reference in New Issue
Block a user