QTfrontend/ui/page/pagefeedback.cpp
changeset 8289 302a2521fe7a
parent 8277 cd2bae15a9a3
child 8328 03684c667664
equal deleted inserted replaced
8288:fd6743995dfc 8289:302a2521fe7a
   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));