| Arvind Ram Prakash | 2f2c959 | 2024-06-06 16:34:28 -0500 | [diff] [blame] | 1 | /* |
| 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 | |||||
| 12 | test_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 | } | ||||