File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,10 @@ static const char* parseCpuInfo(
360
360
(cpu -> name .length == 0 && ffParsePropLine (line , "model name :" , & cpu -> name )) ||
361
361
(cpu -> vendor .length == 0 && ffParsePropLine (line , "vendor :" , & cpu -> vendor )) ||
362
362
(cpuMHz -> length == 0 && ffParsePropLine (line , "cpu MHz :" , cpuMHz )) ||
363
+ #elif __hppa__
364
+ (cpu -> name .length == 0 && ffParsePropLine (line , "cpu :" , & cpu -> name )) ||
365
+ #elif __sh__
366
+ (cpu -> name .length == 0 && ffParsePropLine (line , "cpu type :" , & cpu -> name )) ||
363
367
#else
364
368
(cpu -> name .length == 0 && ffParsePropLine (line , "model name :" , & cpu -> name )) ||
365
369
(cpu -> name .length == 0 && ffParsePropLine (line , "model :" , & cpu -> name )) ||
Original file line number Diff line number Diff line change 26
26
#define FF_ARCHITECTURE "alpha"
27
27
#elif defined(__hppa__ )
28
28
#define FF_ARCHITECTURE "hppa"
29
+ #elif defined(__sh__ )
30
+ #define FF_ARCHITECTURE "sh"
29
31
#elif defined(__m68k__ )
30
32
#define FF_ARCHITECTURE "m68k"
31
33
#else
You can’t perform that action at this time.
0 commit comments