mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-02 23:53:49 +01:00
Device.DeviceInfo.Processor.{i}.Architecture: add aarch64 as arm architecture
This commit is contained in:
parent
7b308da4d7
commit
9526c01615
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ static int get_DeviceInfoProcessor_Architecture(char *refparam, struct dmctx *ct
|
|||
if (uname(&utsname) < 0)
|
||||
return 0;
|
||||
|
||||
if (strstr(utsname.machine, "arm")) {
|
||||
if (strstr(utsname.machine, "arm") || strstr(utsname.machine, "aarch64")) {
|
||||
*value = "arm";
|
||||
} else if(strstr(utsname.machine, "mips")) {
|
||||
const bool is_big_endian = IS_BIG_ENDIAN;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue