RSE: Drop the comms link once session is closed
Drop the communication link before resuming system execution. As per the
ADAC spec, above step is performed after response is sent to the client.
Also only perform this step when the close session command response is
successfully sent to the client.
Signed-off-by: Maulik Patel <maulik.patel@arm.com>
Change-Id: I0b16e8a59ba735ffff350a77b4c42259c24406f7
diff --git a/template_hal_files/trasport_layer.c b/template_hal_files/trasport_layer.c
index 76c1d2f..79e3a7f 100644
--- a/template_hal_files/trasport_layer.c
+++ b/template_hal_files/trasport_layer.c
@@ -1,6 +1,8 @@
/*
- * Copyright (c) 2020-2023 Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors
+ *
* SPDX-License-Identifier: BSD-3-Clause
+ *
*/
#include "psa_adac_debug.h"
@@ -27,6 +29,11 @@
/* Code me */
}
+int msg_interface_close(void *ctx)
+{
+ /* Code me */
+}
+
int request_packet_send(void)
{
/* Code me */