rtapi_firmware.3rtapi
1 .\" Copyright (c) 2014 Jeff Epler 2 .\" 3 .\" This is free documentation; you can redistribute it and/or 4 .\" modify it under the terms of the GNU General Public License as 5 .\" published by the Free Software Foundation; either version 2 of 6 .\" the License, or (at your option) any later version. 7 .\" 8 .\" The GNU General Public License's references to "object code" 9 .\" and "executables" are to be interpreted as the output of any 10 .\" document formatting or typesetting system, including 11 .\" intermediate and printed output. 12 .\" 13 .\" This manual is distributed in the hope that it will be useful, 14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of 15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 .\" GNU General Public License for more details. 17 .\" 18 .\" You should have received a copy of the GNU General Public 19 .\" License along with this manual; if not, write to the Free 20 .\" Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 21 .\" USA. 22 .TH funct "3rtapi" "2014-06-28" "LinuxCNC Documentation" "RTAPI" 23 .SH NAME 24 25 rtapi_firmware.h \- RTAPI wrappers for linux kernel functionality 26 27 .SH SYNTAX 28 .HP 29 #include <rtapi_firmware.h> 30 .HP 31 struct rtapi_firmware; 32 .HP 33 int rtapi_request_firmware(const struct rtapi_firmware **fw, 34 const char *name, struct rtapi_device *device); 35 .HP 36 void rtapi_release_firmware(const struct rtapi_firmware *fw); 37 38 .HP 39 .HP 40 41 .SH DESCRIPTION 42 In kernel space, each rtapi_xxx or RTAPI_XXX identifier is mapped to the 43 underlying kernel functionality, if available. 44 45 In userspace, or in kernels where the underlying functionality is not provided 46 by a kernel, generally another implementation--possibly with reduced 47 functionality--is provided. (For example, the userspace implementation for 48 rtapi_device_register always succeeds) 49 .SH REALTIME CONSIDERATIONS 50 Typically, these functions may be called from realtime init/cleanup code. 51 .SH RETURN VALUE 52 As in Linux. 53 .SH SEE ALSO