1/* 2 * Copyright 2018, Data61 3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4 * ABN 41 687 119 230. 5 * 6 * This software may be distributed and modified according to the terms of 7 * the BSD 2-Clause license. Note that NO WARRANTY is provided. 8 * See "LICENSE_BSD2.txt" for details. 9 * 10 * @TAG(DATA61_BSD) 11 */ 12 13/* Component init helpers in CAmkES */ 14 15#pragma once 16 17/* functions for synchronizing the interface threads during init, intended to be called 18 * from different environments init functions. 19 */ 20int pre_init_interface_sync(); 21int post_init_interface_sync(); 22 23/* entry point for the control threads init routine. This is called after core camkes 24 * initialisation and is provided by the chosen component environment. 25 */ 26int component_control_main(); 27 28/** 29 * Entry point for camkes control threads that sets up the runtime. 30 */ 31void camkes_start_control(int thread_id, void *ipc_buffer_ptr); 32