Chinaunix首页 | 论坛 | 博客
  • 博客访问: 686711
  • 博文数量: 152
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1793
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-12 12:26
个人简介

相信自己,只有不想做的,没有做不到的。

文章分类

全部博文(152)

文章存档

2021年(1)

2015年(2)

2014年(74)

2013年(75)

发布时间:2013-12-16 21:12:20

一 Linux 进程进程:程序运行时候产生,进程是程序一次执行过程程序:保存磁盘可执行指令集合进程组成:代码段,数据段,BSS段,堆,栈,一组寄存器值(PC程序计算器,记录需要执行指令地址)进程运行需要资源:CPU,内存,时间片Linux 进程的标识:PID(进程号)   PPID(父进程)Linux 用task_struct结.........【阅读全文】

阅读(803) | 评论(1) | 转发(0)

发布时间:2013-12-13 11:45:30

......【阅读全文】

阅读(428) | 评论(0) | 转发(0)

发布时间:2013-12-13 10:36:01

//配置MACifconfig eth0 downifconfig eth0 hw ether D6:53:5D:EA:1C:09  //更改MAC地址ifconfig eth0 up//配置IP-GW-DNSifconfig eth0 192.168.1.8 netmask 255.255.255.0 up  //配置IP地址ifconfig eth0 up                         &nb.........【阅读全文】

阅读(2260) | 评论(0) | 转发(0)

发布时间:2013-12-12 13:26:16

//在s5pc100_pwm.c中#include  #include #include #include #include #include #include #include #include "s5pc100_pwm.h"MODULE_LICENSE("Dual BSD/GPL");static int pw.........【阅读全文】

阅读(913) | 评论(0) | 转发(0)

发布时间:2013-12-12 13:02:17

定时器1>/*second设备结构体*/struct second_dev{ struct cdev cdev; /*cdev结构体*/ atomic_t counter;/* 一共经历了多少秒?*/ struct timer_list s_timer; /*设备要使用的定时器*/};2>/*文件打开函数*/int second_open(struct inode *inode, struct file *filp){ /*初始化定时器*.........【阅读全文】

阅读(835) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册