LinuxÄÚºËDRMʵÏÖ·ÖÎö——»ùÓÚi915
1 ½Ó¿Ú
ÎÒÃÇÏÈ¿´¿´i915_drv.cÀïÃæÉêÃ÷µÄdriver±äÁ¿£º
static struct drm_driver driver = {
/* don't use mtrr's here, the Xserver or user space app should
* deal with them for intel hardware.
*/
.driver_features =
DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | /* DRIVER_USE_MTRR |*/
DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED | DRIVER_GEM,
.load = i915_driver_load,
.unload = i915_driver_unload,
.open = i915_driver_open,
.lastclose = i915_driver_lastclose,
.preclose = i915_driver_preclose,
.postclose = i915_driver_postclose,
.suspend = i915_suspend,
.resume = i915_resume,
.device_is_agp = i915_driver_device_is_agp,
.enable_vblank = i915_enable_vblank,
.disable_vblank = i915_disable_vblank,
.irq_preinstall = i915_driver_irq_preinstall,
.irq_postinstall = i915_driver_irq_postinstall,
.irq_uninstall = i915_driver_irq_uninstall,
.irq_handler = i915_driver_irq_handler,
.reclaim_buffers = drm_core_reclaim_buffers,
.get_map_ofs = drm_core_get_map_ofs,
.get_reg_ofs = drm_core_get_reg_ofs,
.master_create = i915_master_create,
.master_destroy = i915_master_destroy,
#if defined(CONFIG_DEBUG_FS)
.debugfs_init = i915_gem_debugfs_init,
.debugfs_cleanup = i915_gem_debugfs_cleanup,
#endif
.gem_init_object = i915_gem_init_object,
.gem_free_object = i915_gem_free_object,
.gem_vm_ops = &i915_gem_vm_ops,
.ioctls = i915_ioctls,
.fops = {
.owner = THIS_MODULE,
.open = drm_open,
.release = drm_release,
.ioctl = drm_ioctl,
.mmap = drm_gem_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
#ifdef CONFIG_COMPAT
.compat_ioctl = i915_compat_ioctl,
#endif
},
.pci_driver = {
.name
Ïà¹ØÎĵµ£º
Linuxϵͳһ¸öºÜÖØÒªÇÒÇ¿´óµÄÌØÕ÷¾ÍÊÇ£¬ËüÊÇÒ»¸ö¿ª·ÅµÄϵͳ£¬Óû§¿ÉÒÔ×Ô¼ºÅäÖÃÈçºÎÆô¶¯Õâ¸öϵͳ¡£Óû§¿ÉÒÔ×ÔÓÉÅäÖÃϵͳÆô¶¯¹ý³ÌµÄ¸÷¸ö·½Ã棬°üÀ¨ÔÚÆô¶¯Ê±¶¨ÖÆÆô¶¯ÄÇЩӦÓóÌÐò£¬Í¬Ñù£¬¹Ø»úʱҲ¿ÉÒÔ×ÔÓÉÅäÖÃÈçºÎÈ¥¹Ø±Õ¸÷¸ö³ÌÐò£¬²»¹ý¶¨Öƹػú´¦Àí¹ý³ÌÕý³£Çé¿öÏÂÊǼ°ÉÙÓõ½µÄ¡£
Àí½âÈçºÎÆô¶¯¼°¹Ø±ÕÒ»¸ö³ÌÐòµÄ¹¤×÷¹ý³Ì²»½ö½ö¾ ......
°²×°ubuntuʱ£¬grubĬÈϰ²×°ÔÚµÚÒ»¸öÓ²ÅÌ(hd0)µÄmbrÖУ¬Æäʵ¾ÍÊǰÑÒýµ¼Îļþboot.imgдÈëÓ²Å̵Ämbr,µ±È»,Óû§Ò²¿ÉÒÔÑ¡Ôñ²»Ð´ÈëÓ²ÅÌmbr ¶øÊÇдÈëlinux·ÖÇøµÄÒýµ¼ÉÈÇø¡£grubÒÔfd±íʾÈíÅÌ£¬hd±íʾӲÅÌ(°üº¬IDEºÍSCSIÓ²ÅÌ)¡£ÒÔǰ°æ±¾µÄgrubÆäÉ豸ÊÇ´Ó0¿ªÊ¼±àºÅ,·ÖÇøÒ²ÊÇ´Ó0¿ªÊ¼,Ö÷·ÖÇø´Ó0-3,Âß¼·ÖÇø´Ó4¿ªÊ¼, ......
Linux Kernel in a Nutshell
By Greg Kroah-Hartman
...............................................
Publisher: O'Reilly
Pub Date: December 01, 2006
ISBN-10: 0-596-10079-5
ISBN-13: 978-0-596-10079-7
Pages: 352
Written by a leading developer and maintainer of the Linux kernel,
Linux Kern ......
Linux³£Óûù´¡ÃüÁî
1.man ¶ÔÄãÊìϤ»ò²»ÊìϤµÄÃüÁîÌṩ°ïÖú½âÊÍ
¡¡¡¡eg:man ls ¾Í¿ÉÒԲ鿴lsÏà¹ØµÄÓ÷¨
¡¡¡¡×¢£º°´q¼ü»òÕßctrl+cÍ˳ö,ÔÚlinuxÏ¿ÉÒÔʹÓÃctrl+cÖÕÖ¹µ±Ç°³ÌÐòÔËÐÐ
¡¡¡¡2.ls ²é¿´Ä¿Â¼»òÕßÎļþµÄÊô*,ÁоٳöÈÎһĿ¼ÏÂÃæµÄÎļþ
¡¡¡¡eg: ls /usr/man
¡¡¡¡ls -l
¡¡¡¡a.d ......
ºÜ¾ÃûÀ´²©¿ÍÁË£¬Õâ¶¼°Ý¹«Ë¾ÄǿɶñµÄWebsenseËù´Í£¬×î½üʱ³£·¢ÏÖÓÐһЩLinuxÃüÁîĪÃûÆäÃîµÄÍü¼ÇÁË£¬Ò²ÐíÊÇÉÙÓÃÁË£¬»òÕßÊÇÀÏÁË£º£¨ÓÚÊÇÏëµ½Ë÷ÐÔÔÚÕâÀïдһ±ßÎÄռǼһÏ£¬ÒÔ±ãÈÕºó²Î¿¼¡£
1¡¢É¾³ýÂÒÂëÎļþ£º
# ll -i (»ñµÃÎļþ½ÚµãºÅ)
# find ./ -inum ½ÚµãºÅ -print -exec rm {} -rf \; (ÇÉÓÃfindɾ³ý)
2¡¢findÓëxargs½ ......