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 <plat/timers.h> 14 15import <Timer.idl4>; 16import <PutChar.idl4>; 17import <timers.camkes>; 18 19#ifdef HARDWARE_TIMER_COMPONENT 20 HARDWARE_TIMER_COMPONENT 21#endif 22 23component TimeServer { 24 has mutex time_server; 25 maybe uses PutChar putchar; 26 27 emits Notification timer_notification; 28 29 provides Timer the_timer; 30 31 attribute int timers_per_client; 32 attribute int heap_size = 8192; 33 34 HARDWARE_TIMER_INTERFACES 35 HARDWARE_TIMER_ATTRIBUTES 36 37 composition { 38 HARDWARE_TIMER_COMPOSITION 39 } 40 41 configuration { 42 HARDWARE_TIMER_CONFIG 43 } 44} 45