- 博客(8)
- 资源 (22)
- 问答 (1)
- 收藏
- 关注
原创 android study ------ HAL ---> light sensor
1. add a virtual driver and device in linux kernel.2. create file system in linux, include read and write file node.3. add hal code in android/hardware/libmodule...4. write an apk test......by t
2011-12-16 16:36:32 1942
原创 flush_workqueue
Nameflush_workqueue — ensure that any scheduled work has run to completion.Synopsisvoid fastcall flush_workqueue (struct workqueue_struct * wq);Arguments
2011-12-16 08:42:43 1324
原创 systemcall---系统调用
http://www.ibm.com/developerworks/cn/linux/l-system-calls/系统调用就是用户空间应用程序和内核提供的服务之间的一个接口。由于服务是在内核中提供的,因此无法执行直接调用;相反,您必须使用一个进程来跨越用户空间与内核之间的界限。在特定架构中实现此功能的方法会有所不同。因此,本文将着眼于最通用的架构 —— i386。在本文中,我
2011-12-15 17:41:14 1957
原创 sysinfo
/* * Sample kobject implementation * * Copyright (C) 2004-2007 Greg Kroah-Hartman * Copyright (C) 2007 Novell Inc. * * Released under the GPL version 2 only. * */#include #include
2011-12-14 18:58:28 866
原创 asmlinkage
什么是 "asmlinkage"?相信大家在看linux的source code的时候,都会注意到asmlinkage这个宏,它是用来做什么的呢?The asmlinkage tag is one other thing that we should observe about this simple function. This is a #define for some
2011-12-13 18:56:55 888
原创 request_threaded_irq
Namerequest_threaded_irq — allocate an interrupt lineSynopsisint fsfuncrequest_threaded_irq (unsigned int irq, irq_handler_t handler, irq_handler_t thread_fn,
2011-12-13 16:32:19 2077
原创 hrtimer_init
Namehrtimer_init — initialize a timer to the given clockSynopsisvoid fsfunchrtimer_init (struct hrtimer * timer, clockid_t clock_id, enum hrtimer_mode mode);
2011-12-13 16:15:45 1707
Android usb和PC进行通信
2012-11-02
TA创建的收藏夹 TA关注的收藏夹
TA关注的人