LINUX RTAI中.runinfo文件详解(英文)
Description of the "runinfo" format
-----------------------------------
Purpose of the "runinfo" files
------------------------------
"runinfo" files found in the source tree allow the "rtai-load" script
(see rtai-core/scripts/rtai-load) to retrieve the information it needs
to execute a RTAI application in an automated manner. This file
basically describes the module dependencies (i.e from standard RTAI
system modules) and the load/startup actions (i.e. insmoding module(s)
and/or launching executable(s)) that need to be taken to start a given
application.
This mecanism replaces the various hand-crafted "run" shell scripts
that existed up to RTAI's 24.1.12 (stromboli) version.
Format of a runinfo file
------------------------
All examples and tests contain/should contain an ASCII file called
runinfo that provides the needed information for having the
corresponding RTAI applications run through the "rtai-load"
script. This file is actually a template read by Autoconf's
"configure" script, where installation-dependent information is
automatically patched in, to produce the corresponding ".runinfo"
file. The "rtai-load" script will exclusively use .runinfo files to
find out the actions needed to bootstrap an application.
runinfo should list all possible execution targets for the given
example/test directory.
Each execution target appears on a single text line, contains four
specification fields separated by double-colons, and is parsed as:
target_name:module_dependencies:run_actions:init_comment
Therefore, having multiple targets in a single file is possible, like
this:
target_name1:module_dependencies_1:run_actions_1:init_comment_1
target_name2:module_dependencies_2:run_actions_2:init_comment_2
...
and so on.
o target_name is a symbolic name. The first line seen in a given file
stands for the default target.
o module_dependencies is a list defining the standard RTAI modules the
test/example depends on, and which must be loaded bef
相关文档:
因为公司的板子上键盘不好按,所以写个网络版的,方便调试。
client .c
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <linux/input.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#inclu ......
说明:想在windows上打开使用远程linux桌面。方法也很多。
1.vnc。这个在linux端需要安装程序,需要在linux上运行相应的程序,才能使windows连接上去。不太方便。
2.xmanager.只要修改一下linux里的几个文件设置就可以使用。(与windows的远程桌面一样,只需要勾上远程桌面选项)
linux上设置项目:
1。修改/etc/X11/xd ......
准备工作:
1.Xming(windows运行x-windows的支持)
2.SecureCRTV6.5.8.380汉化绿色破解版
可以去我的http://download.csdn.net/johnvikey下载
如果是命令行直接用
SecureCRT
如果是要运行图形程序
1.Xming(windows运行x-windows的支持)
2.SecureCRTV6.5.8.380汉化绿色破解版
都要使用
———&m ......
对于不同的Linux内核版本,此列表可能不同,基于后向兼容性,随着Linux内核版本号的增加,此列表可能会变长。此列表为2.6.24-16内核版本于/usr/include/asm/unistd_32.h中列出的324个系统调用号。
#define __NR_restart_syscall 0
#define __NR_exit 1
#define __NR_fork 2
#define __NR_read 3
#define ......