summaryrefslogtreecommitdiff
path: root/bl31/bl31_traps.c
blob: 7c01338dde7527ed7fbc7af941ab406bce1e3054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2022, ARM Limited. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 * Dispatch synchronous system register traps from lower ELs.
 */

#include <bl31/sync_handle.h>
#include <context.h>

int handle_sysreg_trap(uint64_t esr_el3, cpu_context_t *ctx)
{
	switch (esr_el3 & ISS_SYSREG_OPCODE_MASK) {
	default:
		return TRAP_RET_UNHANDLED;
	}
}