自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 usbmouse的注释

#include #include #include #include #include #include /* for apple IDs */#ifdef CONFIG_USB_HID_MODULE#include "../hid-ids.h"#endif/* * Version Information */#define DRIVER_VERSION "v1.6

2017-09-13 15:05:35 680

原创 kmalloc和vmalloc的区别和联系

------------------------------------------------------------------------------------------------------------------void *kmalloc(size_t size, unsigned int flags);参数1:要分配空间的大小 参数2:分配flags的取值:GFP_K

2017-08-25 19:35:13 1378

原创 set_irq_type函数解析

/* * These correspond to the IORESOURCE_IRQ_* defines in * linux/ioport.h to select the interrupt line behaviour. When * requesting an interrupt without specifying a IRQF_TRIGGER, the * setting s

2017-08-24 18:47:16 1496

原创 unregister_chrdev_region和__unregister_chrdev_region和cdev_del

/** * unregister_chrdev_region() - return a range of device numbers * @from: the first in the range of numbers to unregister * @count: the number of device numbers to unregister * * This function

2017-08-24 09:37:12 1943

原创 cdev_init和cdev_add

/** * cdev_init() - initialize a cdev structure * @cdev: the structure to initialize * @fops: the file_operations for this device * * Initializes @cdev, remembering @fops, making it ready to add

2017-08-24 00:01:47 2374

原创 alloc_chrdev_region解析

/** * alloc_chrdev_region() - register a range of char device numbers * @dev: output parameter for first assigned number * @baseminor: first of the requested range of minor numbers * @count: the n

2017-08-23 23:31:59 4569

原创 __register_chrdev_region函数解析

/* * Register a single major with a specified minor range. * * If major == 0 this functions will dynamically allocate a major and return * its number. * * If major > 0 this function will attempt

2017-08-23 21:15:33 1046

原创 register_chrdev_region函数解析

int register_chrdev_region(dev_t from, unsigned count, const char *name);此函数主要是进行手动分配设备号参数1:from为设备号,包含已经存在的主设备号和次设备号参数2:count为要申请设备号的个数参数3:name为驱动的名称/** * register_chrdev_region() - regi

2017-08-23 20:54:52 1315 1

原创 第一次写博客,先来试试水!

本博客主要是为了试试水!

2017-07-03 21:42:41 165

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除