易截截图软件、单文件、免安装、纯绿色、仅160KB

linux内核结构体

 -------------------------------------------------------------------------------------------------------
//By:yuyongbao
//QQ:673360056
LINUX 内核结构体
struct attribute
{
    const char    * name;
    struct module        * owner;
    mode_t        mode;
};
struct attribute_group
{
    const char    * name;
    struct attribute  ** attrs;
};
struct blocking_notifier_head
{
    struct rw_semaphore rwsem;
    struct notifier_block *head;
};
struct bus_attribute
{
    struct attribute  attr;
    ssize_t (*show)(struct bus_type *, char * buf);
    ssize_t (*store)(struct bus_type *, const char * buf, size_t count);
};
struct bus_type
{
    const char    * name;
    struct module     * owner;
 
    struct kset       subsys;
    struct kset       drivers;
    struct kset       devices;
    struct klist      klist_devices;
    struct klist      klist_drivers;
 
    struct blocking_notifier_head bus_notifier;
 
    struct bus_attribute * bus_attrs;
    struct device_attribute  * dev_attrs;
    struct driver_attribute  * drv_attrs;
    struct bus_attribute drivers_autoprobe_attr;
    struct bus_attribute drivers_probe_attr;
 
    int    (*match)(struct device * dev, struct device_driver * drv);
    int    (*uevent)(stru


相关文档:

Linux——NFS网络文件系统

NFS网络文件系统是通过文件系统实现资源共享的一种最重要的方式。
c/s 客户机   服务器
B/S 浏览器   服务器
NFS服务端配置:
编辑/etc/exports文件以配置开放路径。/home/share      192.168.0.123(ro)/(rw).
/etc/init.d/portmap  restart
/etc/init.d/nfs&nb ......

Linux内核中ARM中断实现详解request_irq()

在linux内核中用于申请中断的函数是request_irq(),函数原型在Kernel/irq/manage.c中定义:
int request_irq(unsigned int irq, irq_handler_t handler,
                         unsigned ......

Linux——linux命令集


NO
分类
PS1
命令名
用法及参数
功能注解
1
显示目录信息
#
ls
ls -a
列出当前目录下的所有文件,包括以.头的隐含文件
#
ls
ls -l或ll
列出当前目录下文件的详细信息
#
ls
ls -a
显示所有文件,包含隐藏。
#
ls
ls -al
显示所有文件的详细信息。
2
查看路径
#
pwd
pwd
......

s3c2410平台下linux四键按键驱动程序

#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif
#include<linux/config.h>
#include<linux/module.h>
#include<linux/version.h>
#include<linux/init.h>
#include<linux/kernel.h>
#include<linux/errno.h>
#include<linux/sche ......

Linux执行以及虚拟内存之用

Linux Execution and Virtual Memory Utilization 
Linux执行以及虚拟内存之用
When Linux boots, it starts with the MMU disabled, so initially it deals only with physical 
memory. The kernel image is copied to physical address 0x8000 in DRAM and executed. First a master page table is created ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号