摘要: l 实验要求:修改RPi上的Linux源码,增加一个带参数的系统调用,具体如课内所讲l 实验过程:1、 从github上下载RPI源码,下载地址:https://github.com/raspberrypi/linux2、 修改源码,进入linux 源码文件夹后,在arch/arm/kernel 添加mysyscall.c,3、 修改arch/arm/kernel文件夹下的call.S,我将自己的新系统调用加在了0x900000+378位置上:修改 arch/arm/kernel 文件夹下的Makefile:4、 将树莓派现在系统上的内核配置文件(/proc/config.gz)拷贝到源码目录 阅读全文
posted @ 2013-04-11 11:58 浪里个浪荡荡 阅读(359) 评论(1) 推荐(0) 编辑