blob: ff04ae41d5878dbff1acf610b20f9aa88edf4845 [file] [log] [blame]
Dan Handley9df48042015-03-19 18:58:55 +00001/*
Samarth Parikh59cfa132017-11-23 14:23:21 +05302 * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
Dan Handley9df48042015-03-19 18:58:55 +00003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Dan Handley9df48042015-03-19 18:58:55 +00005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef CSS_MHU_H
8#define CSS_MHU_H
Dan Handley9df48042015-03-19 18:58:55 +00009
10#include <stdint.h>
11
Sandrine Bailleux04b66d82015-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 Handley9df48042015-03-19 18:58:55 +000016
Sandrine Bailleux04b66d82015-03-18 14:52:53 +000017void mhu_secure_init(void);
Dan Handley9df48042015-03-19 18:58:55 +000018
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000019#endif /* CSS_MHU_H */