equal
deleted
inserted
replaced
201 kernel_line += QString(process->readAll()); |
201 kernel_line += QString(process->readAll()); |
202 delete process; |
202 delete process; |
203 #endif |
203 #endif |
204 |
204 |
205 // cpu info |
205 // cpu info |
206 uint32_t registers[4]; |
206 quint32 registers[4]; |
207 uint32_t i; |
207 quint32 i; |
208 |
208 |
209 i = 0x80000002; |
209 i = 0x80000002; |
210 asm volatile |
210 asm volatile |
211 ("cpuid" : "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]) |
211 ("cpuid" : "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (registers[3]) |
212 : "a" (i), "c" (0)); |
212 : "a" (i), "c" (0)); |