每次看書都是流水線的過去,沒啥總結。這可不行,看了就忘是正常的,但是該記錄的時候可是不會浪費時間的。Obtaining the Kernel Source擷取核心原始碼,這個可以到www.kernel.org下載Using Git這個是Linus開發的一個版本控制工具,比那個CVS好點。Install the Kernel
/* Converts Gregorian date to seconds since 1970-01-01 00:00:00. * Assumes input in normal date format, i.e. 1980-12-31 23:59:59 * => year=1980, mon=12, day=31, hour=23, min=59, sec=59. * * [For the Julian calendar (which was used in Russia
drivers/base/driver.c/** * driver_register - register driver with bus * @drv: driver to register * * We pass off most of the work to the bus_add_driver() call, * since most of the things we have to do deal with the bus * structures. */int
drivers/base/core.c/** * device_register - register a device with the system. * @dev: pointer to the device structure * * This happens in two clean steps - initialize the device * and add it to the system. The two steps can be called * separately,
include/linux/device.h/** * struct device_driver - The basic device driver structure * @name: Name of the device driver. * @bus: The bus which the device of this driver belongs to. * @owner: The module owner. * @mod_name: Used for
上2篇文章搞懂了parcelable和AIDL的使用,而在AIDL中使用parcelable時,也是差不多的,不過,parcelable也要寫成AIDL檔案:AIDL檔案如下:packeage com.*parcelable com.*.person 這個檔案不會產生一個.java檔案,.java檔案需要自己編寫:public class Person implements Parcelable{ private String name;private int age;private
drivers/tty/serial/serial_core.c/** * uart_register_driver - register a driver with the uart core layer * @drv: low level driver structure * * Register a uart driver with the core driver. We in turn register * with the tty layer, and