tkernel_2/lib/libtk/src/getdembf.c | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * @(#)getdembf.c (libtk) 17: */ 18: 19: #include <basic.h> 20: #include <sys/util.h> 21: #include <tk/tkernel.h> 22: 23: /* 24: Get message buffer for device event notice 25: */ 26: EXPORT ID GetDevEvtMbf( void ) 27: { 28: T_IDEV idev; 29: tk_ref_idv(&idev); 30: return idev.evtmbfid; 31: }