Merge "fix(qemu): fix 32-bit builds with stack protector" into integration

This commit is contained in:
Manish Pandey 2023-06-07 10:50:16 +02:00 committed by TrustedFirmware Code Review
commit 6e1ae30725

View file

@ -8,6 +8,7 @@
#ifndef ARCH_HELPERS_H
#define ARCH_HELPERS_H
#include <assert.h>
#include <cdefs.h>
#include <stdbool.h>
#include <stdint.h>
@ -352,6 +353,17 @@ DEFINE_DCOP_PARAM_FUNC(cvac, DCCMVAC)
*/
DEFINE_COPROCR_RW_FUNCS(clusterpwrdn, CLUSTERPWRDN)
/*
* RNDR is AArch64 only, so just provide a placeholder here to make the
* linker happy.
*/
static inline u_register_t read_rndr(void)
{
assert(1);
return 0;
}
/* Previously defined accessor functions with incomplete register names */
#define dsb() dsbsy()
#define dmb() dmbsy()