soc/intel/xeon_sp/spr: Drop microcode constraints
[coreboot2.git] / src / arch / arm / eabi_compat.c
blob849fc6507ffabd804816201dccdad8d669f43cf6
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <stddef.h>
4 #include <string.h>
5 #include <console/console.h>
7 /* FIXME(dhendrix): prototypes added for assembler */
8 int raise(int signum) __attribute__((used));
9 int raise(int signum)
11 printk(BIOS_CRIT, "%s: Signal # %d caught\n", __func__, signum);
12 return 0;
15 /* Dummy function to avoid linker complaints */
16 void __aeabi_unwind_cpp_pr0(void) __attribute__((used));
17 void __aeabi_unwind_cpp_pr0(void)
21 void __aeabi_unwind_cpp_pr1(void) __attribute__((used));
22 void __aeabi_unwind_cpp_pr1(void)
26 /* Support the alias for the __aeabi_memcpy which may
27 assume memory alignment. */
28 void __aeabi_memcpy4(void *dest, const void *src, size_t n)
29 __attribute((alias("__aeabi_memcpy")));
31 void __aeabi_memcpy8(void *dest, const void *src, size_t n)
32 __attribute((alias("__aeabi_memcpy")));
34 void __aeabi_memcpy(void *dest, const void *src, size_t n);
35 void __aeabi_memcpy(void *dest, const void *src, size_t n)
37 (void)memcpy(dest, src, n);
40 void __aeabi_memset(void *dest, size_t n, int c);
41 void __aeabi_memset(void *dest, size_t n, int c)
43 (void)memset(dest, c, n);
46 /* Support the alias for the __aeabi_memclr which may
47 assume memory alignment. */
48 void __aeabi_memclr4(void *dest, size_t n)
49 __attribute((alias("__aeabi_memclr")));
51 void __aeabi_memclr8(void *dest, size_t n)
52 __attribute((alias("__aeabi_memclr")));
54 /* Support the routine __aeabi_memclr. */
55 void __aeabi_memclr(void *dest, size_t n);
56 void __aeabi_memclr(void *dest, size_t n)
58 __aeabi_memset(dest, n, 0);