blob: e9045025dd083a2a9eef1962d3f7518b9be3ef6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
cpuflags = cpu.flags()
print("Vendor = " .. cpuflags["vendor"])
print("Model = " .. cpuflags["model"])
print("Cores = " .. cpuflags["cores"])
print("L1 Instruction Cache = " .. cpuflags["l1_instruction_cache"])
print("L1 Data Cache = " .. cpuflags["l1_data_cache"])
print("L2 Cache = " .. cpuflags["l2_cache"])
print("Family ID = " .. cpuflags["family_id"])
print("Model ID = " .. cpuflags["model_id"])
print("Stepping = " .. cpuflags["stepping"])
if ( string.match(cpuflags["vendor"], "Intel") ) then
print("Intel Processor Found")
-- syslinux.run_command("memdisk initrd=/dos/BIOS/FSC-P7935-108.img raw")
else
print("Does not match")
end
|