blob: 033aedb5cce3a1cec93562278d6a3c2f25132f26 [file] [log] [blame]
Arvind Ram Prakash2f2c9592024-06-06 16:34:28 -05001/*
2 * Copyright (c) 2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <test_helpers.h>
8#include <tftf_lib.h>
9#include <debug.h>
10#include <arch_helpers.h>
11
12test_result_t test_debugv8p9_enabled(void)
13{
14 SKIP_TEST_IF_AARCH32();
15
16#if __aarch64__
17 SKIP_TEST_IF_DEBUGV8P9_NOT_SUPPORTED();
18
19 read_mdselr_el1();
20#endif
21 return TEST_RESULT_SUCCESS;
22}