feat(ff-a): add managed exit field in the manifest
Moving setting to enable/disable managed exit support from messaging
method field to a separate field in partition manifest. As of DEN0077A
FF-A v1.1 Beta0 section 5.2, managed exit support is moved out of
messaging-method field and is described in a separate field.
Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
Change-Id: I87506d7213b88d5a18073bea7357c381605d8b33
diff --git a/src/manifest_test.cc b/src/manifest_test.cc
index c73f843..89d5de6 100644
--- a/src/manifest_test.cc
+++ b/src/manifest_test.cc
@@ -236,6 +236,7 @@
Property("xlat-granule", "<0>");
Property("boot-order", "<0>");
Property("messaging-method", "<4>");
+ BooleanProperty("managed-exit");
return *this;
}
@@ -1057,6 +1058,7 @@
ASSERT_EQ(m.vm[0].sp.xlat_granule, PAGE_4KB);
ASSERT_EQ(m.vm[0].sp.boot_order, 0);
ASSERT_EQ(m.vm[0].sp.messaging_method, FFA_PARTITION_INDIRECT_MSG);
+ ASSERT_EQ(m.vm[0].sp.managed_exit, true);
ASSERT_EQ(m.vm[0].sp.mem_regions[0].base_address, 0x7100000);
ASSERT_EQ(m.vm[0].sp.mem_regions[0].page_count, 4);
ASSERT_EQ(m.vm[0].sp.mem_regions[0].attributes, 7);