LinuxµÄinitcallsµ÷ÓûúÖÆ
Ö»Òª¿´¿´ include/linux/init.hÖе͍Òå¾ÍÇå³þÁË£º
#define core_initcall(fn) __define_initcall("1",fn)
#define postcore_initcall(fn) __define_initcall("2",fn)
#define arch_initcall(fn) __define_initcall("3",fn)
#define subsys_initcall(fn) __define_initcall("4",fn)
#define fs_initcall(fn) __define_initcall("5",fn)
#define device_initcall(fn) __define_initcall("6",fn)
#define late_initcall(fn) __define_initcall("7",fn)
#define __initcall(fn) device_initcall(fn)
#define console_initcall(fn) \
static initcall_t __initcall_##fn \
__attribute_used__ __attribute__((__section__(".con_initcall.init")))=fn
#define security_initcall(fn) \
static initcall_t __initcall_##fn \
__attribute_used__ __attribute__((__section__(".security_initcall.init"))) = fn
#define module_init(x) __initcall(x); //modlueµÄ¼¶±ðÊÇ6
Á´½ÓµÄʱºò°´ÏÂÃæµÄ˳ÐòÁ´½Ó£º
__initcall_start = .;
*(.initcall1.init)
*(.initcall2.init)
*(.initcall3.init)
*(.initcall4.init)
*(.initcall5.init)
*(.initcall6.init)
*(.initcall7.init)
__initcall_end = .;
Òò´Ë£¬ÔÚdo_initcallsµÄʱºò¾Í°´ÕÕÇ°ÃæµÄ˳ÐòÀ´ÁË¡£
ÆäÖÐ console_initcallµÈÕâЩÔòÊǶ¨ÒåÔÚרÃŵÄsectionÖеġ£±ÈÈçconsole_initcall¾ÍÊǶ¨ÒåÔÚ£º__con_initcall_startÓë__con_initcall_endÕâ¸ösectionÖС£
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
×î½üÏëÔÚ·þÎñÆ÷ÉÏÊÔÊÔMySQL5.1µÄ·ÖÇø£¬ÓÚÊǾÍÏë×Å×°¸öMySQL5.1£¬¾¹ýÍ´¿àµÄÒ»¶Î¾Àúºó£¬ÖÕÓÚÕÒ¸öÏÂÃæ×°¸öºÜºÃµÄ½Ì³Ì£¬ÌûÉÏÀ´±¸Íü¡£
1¡¢MySQLÃâ°²×°°æ/¶þ½øÖưæÈí¼þ£¬²»ÓñàÒ룬ÏÂÔØµØÖ·£º
http://dev.mysql.com/downloads/
Îļþ¸ñʽ£ºMYSQL-VERSION-OS.tar.gz
2¡ ......
1. Technically speaking, and in this book, the operating
system
is considered the parts of the system responsible for basic use
and administration. This includes the kernel and device drivers, boot loader,
command shell or other user interface, and basic file and system utilities ......
linux¿éÉ豸·ÖÎöÓëʹÓÃ
linux¿éÉ豸·ÖÎöÓëʹÓÃ
creator
sz111@126.com
±¾ÆªÎÄÕÂÁ¦Çó¼òµ¥Ã÷Á˵ĽâÊÍLinuxµÄ¿éÉ豸Çý¶¯£¬Èôó¼Ò¶ÔËüÉÙЩη¾å£¬¿ìËٵĿª·¢Ò»¸ö¿éÉ豸¡£·ÖÎöÍêÕâÆªÖ®ºó£¬ÏÂÒ»²½¾ÍÊÇ·ÖÎöMMC¿¨µÄÇý¶¯£¬ÕùÈ¡·ÖÎöÖ®ºó¿ÉÒÔ´ïµ½ÓÅ»¯¶Á¿¨ËٶȵÄÄ¿µÄ¡£LinuxµÄ¿éÉ豸¿´Ë ......