/
githubmirror
/
audit-userspace
Обзор
Документация
Войти
/
githubmirror
/
audit-userspace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/machinetab.h
51 строка
2 KB
David Abdurachmanov
Add support for RISC-V 32-bit & 64-bit (riscv32, riscv64) (#73)
03 янв 2025, 18:38
Не верифицирован
03 янв 2025, 18:38
a5dabdc
Код
Авторство
О чём код?
/* machine.h -- * Copyright 2005-06,2009,2012-13,2022 Red Hat Inc. * All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Authors: * Steve Grubb <sgrubb@redhat.com> */ #include "config.h" _S(MACH_X86, "i386" ) _S(MACH_X86, "i486" ) _S(MACH_X86, "i586" ) _S(MACH_X86, "i686" ) _S(MACH_86_64, "x86_64" ) _S(MACH_PPC64, "ppc64" ) _S(MACH_PPC64LE, "ppc64le") _S(MACH_PPC, "ppc" ) _S(MACH_S390X, "s390x" ) _S(MACH_S390, "s390" ) #ifdef WITH_ARM _S(MACH_ARM, "armeb" ) _S(MACH_ARM, "arm" ) _S(MACH_ARM, "armv5tejl") _S(MACH_ARM, "armv5tel") _S(MACH_ARM, "armv6l") _S(MACH_ARM, "armv7l") #endif #ifdef WITH_AARCH64 _S(MACH_AARCH64, "aarch64" ) _S(MACH_AARCH64, "armv8l") #endif #ifdef WITH_IO_URING _S(MACH_IO_URING, "uring") #endif #ifdef WITH_RISCV _S(MACH_RISCV32, "riscv32") _S(MACH_RISCV64, "riscv64") #endif