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
Ïà¹ØÎĵµ£º
°²×°mysql
sudo apt-get install mysql-servel-5.0 mysql-client-5.0
ÏÂÔØ°²×°¹ý³ÌÖУ¬»áÌáʾÊäÈërootÃÜÂë
°²×°CÓïÑÔ±à³Ì½Ó¿Ú£º
sudo apt-get install libmysqlclient15-dev
¸ü¶àapi ²é¿´£ºhttp://dev.mysql.com/doc/refman/5.0/en/c.html
Ïà¹ØmysqlÍ·ÎļþºÍ¿âÎļþ°²×°ÔÚ/usr/include/mysql/ºÍ/usr/lib/mysqlÄ¿ ......
¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......
°²×°ubuntuʱ£¬grubĬÈÏ°²×°ÔÚµÚÒ»¸öÓ²ÅÌ(hd0)µÄmbrÖУ¬Æäʵ¾ÍÊÇ°ÑÒýµ¼Îļþboot.imgдÈëÓ²Å̵Ämbr,µ±È»,Óû§Ò²¿ÉÒÔÑ¡Ôñ²»Ð´ÈëÓ²ÅÌmbr ¶øÊÇдÈëlinux·ÖÇøµÄÒýµ¼ÉÈÇø¡£grubÒÔfd±íʾÈíÅÌ£¬hd±íʾӲÅÌ(°üº¬IDEºÍSCSIÓ²ÅÌ)¡£ÒÔÇ°°æ±¾µÄgrubÆäÉ豸ÊÇ´Ó0¿ªÊ¼±àºÅ,·ÖÇøÒ²ÊÇ´Ó0¿ªÊ¼,Ö÷·ÖÇø´Ó0-3,Âß¼·ÖÇø´Ó4¿ªÊ¼, ......
JDK1.6ÔÚLINUXϵݲװÊÇÈçºÎ½øÐеÄÄØ£¬ÈÃÎÒÃÇ¿ªÊ¼ÎÒÃǵÄÑÝʾ£º
Ubuntu LinuxÏÂjdkµÄ°²×°ÓëÅäÖÃ
1.JDK1.6°²×°×¼±¸
´Ósun¹«Ë¾ÍøÕ¾www.sun.comÏÂÔØlinux°æ±¾µÄjdk,ÎÒÏÂÔصİ汾ÊÇJDK 6 Update 7,
µØÖ·http://java.sun.com/javase/downloads/index.jsp
jdk-6u7-linux-i586.bin,´ò¿ªÖնˣ¬ÓÃcdÃüÁî½øÈëjdkËùÔÚĿ¼,Ö´Ðи´Ö ......
LinuxÍø¿¨Çý¶¯³ÌÐò±àд
[Õª×Ô LinuxAID]
¹¤×÷ÐèҪдÁËÎÒÃǹ«Ë¾Ò»¿éÍø¿¨µÄLinuxÇý¶¯³ÌÐò¡£¾ÀúÒ»¸ö´ÓÎÞµ½ÓеĹý³Ì£¬Éî¸Ð¼¼Êõ½»Á÷µÄÖØÒª¡£Linux×÷ΪÌôս΢Èí¢¶ÏµÄÇ¿ÓÐÁ¦ÎäÆ÷£¬ÈÕÒæÊܵ½´ó¼ÒµÄϲ°®¡£ÕæÏ£ÍûËýÄÜÔÚÖйúѸËٳɳ¤¡£°Ñ³ÌÐòÎĵµÌù³öÀ´£¬Ï£ÍûºÍ´ó¼Ò̽ÌÖLinux¼¼ÊõºÍÓ¦Ó㬴ٽøLinuxÔÚÖйúµÄÆÕ¼°¡£
Linux²Ù×÷ϵͳÍø ......