1/* 2 * Copyright 2017, 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#include <sel4/sel4.h> 14 15/*? macros.show_includes(me.instance.type.includes) ?*/ 16 17/*- set notifications = [] -*/ 18/*- for index in six.moves.range(len(me.parent.to_ends)) -*/ 19 /*- do notifications.append(alloc('notification_%d' % index, seL4_NotificationObject, write=True)) -*/ 20/*- endfor -*/ 21 22void /*? me.interface.name ?*/_emit_underlying(void) { 23 /*- for notification in notifications -*/ 24 seL4_Signal(/*? notification ?*/); 25 /*- endfor -*/ 26} 27