blob: ff04ae41d5878dbff1acf610b20f9aa88edf4845 [file] [log] [blame]
Dan Handleyb4315302015-03-19 18:58:55 +00001/*
Samarth Parikha4277852017-11-23 14:23:21 +05302 * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
Dan Handleyb4315302015-03-19 18:58:55 +00003 *
dp-arm82cb2c12017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Dan Handleyb4315302015-03-19 18:58:55 +00005 */
6
Antonio Nino Diazc3cf06f2018-11-08 10:20:19 +00007#ifndef CSS_MHU_H
8#define CSS_MHU_H
Dan Handleyb4315302015-03-19 18:58:55 +00009
10#include <stdint.h>
11
Sandrine Bailleuxe234ba02015-03-18 14:52:53 +000012void mhu_secure_message_start(unsigned int slot_id);
13void mhu_secure_message_send(unsigned int slot_id);
14uint32_t mhu_secure_message_wait(void);
15void mhu_secure_message_end(unsigned int slot_id);
Dan Handleyb4315302015-03-19 18:58:55 +000016
Sandrine Bailleuxe234ba02015-03-18 14:52:53 +000017void mhu_secure_init(void);
Dan Handleyb4315302015-03-19 18:58:55 +000018
Antonio Nino Diazc3cf06f2018-11-08 10:20:19 +000019#endif /* CSS_MHU_H */