mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
@@ -1,6 +1,7 @@
|
||||
#ifndef __ARM_ARCH_H__
|
||||
# define __ARM_ARCH_H__
|
||||
|
||||
#if defined(__rtems__) && defined(__arm__)
|
||||
# if !defined(__ARM_ARCH__)
|
||||
# if defined(__CC_ARM)
|
||||
# define __ARM_ARCH__ __TARGET_ARCH_ARM
|
||||
@@ -75,4 +76,5 @@ extern unsigned int OPENSSL_armcap_P;
|
||||
# define ARMV8_SHA256 (1<<4)
|
||||
# define ARMV8_PMULL (1<<5)
|
||||
|
||||
#endif /* __rtems__ */
|
||||
#endif
|
||||
|
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "arm_arch.h"
|
||||
|
||||
#if defined(__rtems__) && defined(__arm__)
|
||||
unsigned int OPENSSL_armcap_P = 0;
|
||||
|
||||
#if __ARM_MAX_ARCH__<7
|
||||
@@ -164,3 +165,4 @@ void OPENSSL_cpuid_setup(void)
|
||||
sigprocmask(SIG_SETMASK, &oset, NULL);
|
||||
}
|
||||
#endif
|
||||
#endif /* __rtems__ */
|
||||
|
Reference in New Issue
Block a user