test: test the save restore logic for brbcr_el1

This patch tests the save/restore logic by enabling
branch recording at NS-EL2. Additionally this
patch also tests the trap logic when FEAT_FGT is enabled
and a Realm tries to access any FEAT_BRBE related registers.

Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
Change-Id: I176ea6feaf01d42cfd6231dc65a9470da8d1e37c
diff --git a/realm/include/realm_tests.h b/realm/include/realm_tests.h
index 6c1e6c31..c2d4102 100644
--- a/realm/include/realm_tests.h
+++ b/realm/include/realm_tests.h
@@ -31,6 +31,7 @@
 bool test_realm_attestation(void);
 bool test_realm_attestation_fault(void);
 bool test_realm_mpam_undef_abort(void);
+bool test_realm_write_brbcr_el1_reg(void);
 
 #endif /* REALM_TESTS_H */