mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
Merge "fix(qemu): fix 32-bit builds with stack protector" into integration
This commit is contained in:
commit
6e1ae30725
1 changed files with 12 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue