Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux 2.6Ô´´úÂëÇé¾°·ÖÎö±Ê¼ÇÖ®ÖжÏÓëÒì³£6

ÿ¸öÖжÏÏòÁ¿¶¼ÓÐ×Ô¼ºµÄirq_desc_tÃèÊö·û£¬ËùÓеÄÕâЩÃèÊö·û×éÖ¯ÔÚÒ»ÆðÐγÉirq_descÊý×é¡£
typedef struct irq_desc {
        hw_irq_controller *handler;Ö¸Ïòpic¶ÔÏó£¨hw_irq_controllerÃèÊö·û£©£¬·þÎñÓÚirqÏß
        void *handler_data;Ö¸Ïòpic·½·¨ËùʹÓõÄÊý¾Ý
        struct irqaction *action;       /* IRQ action list */±êʶµ±³öÏÖirqʱҪµ÷ÓõÄÖжϷþÎñÀý³Ì¡£¸Ã×Ö¶ÎÖ¸ÏòirqµÄirqactionÃèÊö·ûÁ´±íµÄµÚÒ»¸öÔªËØ¡£
        unsigned int status;            /* IRQ status */ÃèÊöirqÏß״̬µÄÒ»×é±êÖ¾
        unsigned int depth;             /* nested irq disables */Èç¹ûirqÏß±»¼¤»î£¬ÔòÏÔʾ0£»Èç¹ûirqÏß±»½ûÖ¹Á˲»Ö¹Ò»´Î£¬ÔòÏÔʾһ¸öÕýÊý
        unsigned int irq_count;         /* For detecting broken interrupts */ÖжϼÆÊýÆ÷£¬Í³¼ÆirqÏßÉÏ·¢ÉúµÄÖжϼÆÊý
        unsigned int irqs_unhandled;ÖжϼÆÊýÆ÷£¬Í³¼ÆirqÏßÉÏ·¢ÉúµÄÎÞ·¨´¦ÀíµÄÖжϽøÐмÆÊý
        spinlock_t lock;ÓÃÓÚ´®ÐзÃÎÊirqÃèÊö·ûºÍpicµÄ×ÔÐýËø¡£
} ____cacheline_aligned irq_desc_t;
extern irq_desc_t irq_desc [NR_IRQS];
/*
 * IRQ line status.
 */
#define IRQ_INPROGRESS  1       /* IRQ handler active - do not enter! */IRQµÄÒ»¸ö´¦Àí³ÌÐòÕýÔÚÖ´ÐÐ
#define IRQ_DISABLED    2       /* IRQ disabled - do not enter! */ÓÉÒ»¸öÉ豸Çý¶¯³ÌÐò¹ÊÒâµØ½ûÓÃirqÏß
#define IRQ_PENDING     4       /* IRQ pending - replay on enable */Ò»¸öirqÒѾ­³öÏÖÔÚÏßÉÏ£¬ËüµÄ³öÏÖÒ²ÒѶÔpic×ö³öÓ¦´ð£¬µ«ÊÇÄں˻¹Ã»ÓÐΪËüÌṩ·þÎñ
#define IRQ_REPLAY      8 &nbs


Ïà¹ØÎĵµ£º

4.1. Introduction to Linux Routing


4.1. Introduction to Linux Routing
The design of IP routing allows for very simple route definitions for small networks, while not hindering the flexibility of routing in complex environments. A key concept in IP routing is the ability to define what addresses are locally reachable as oppose ......

Linux±à³Ì

Ò»¡¢LinuxÉè¼ÆÌØµã£º¶àÓû§£¨¶à¸öÓû§¿ÉÒÔͬʱµÇ¼£¬Í¬Ò»Óû§¿ÉÒԵǼ¶à´Î£©£»¶àÈÎÎñ£¨Í¬Ò»³ÌÐò¿ÉÒÔÓжà¸öÏ̻߳ò½ø³Ì²¢·¢Ö´ÐУ©£»·Öʱ¡£
¶þ¡¢C¿ª·¢»·¾³£º¿ª·¢¹¤¾ß£¨°üÀ¨±àÒëÆ÷¡¢Á¬½ÓÆ÷¡¢gcc£©¡¢¹¤³Ì¹ÜÀíÈí¼þ£¨make£©¡¢±à¼­Æ÷¡¢·ÖÎöµ÷ÊÔ¹¤¾ßgdb¡¢º¯Êý¿â¡¢°æ±¾¿ØÖÆÏµÍ³CVS¡££¨Perl²»ÐèÒª±àÒ룩¡£
Èý¡¢ÔÚÏßÎĵµ£º
1.manpage ......

Linux×öÒ»¸ö¹¦ÄÜÍ걸µÄ·ÓÉÆ÷

±¾ÎÄÖ÷Òª½éÉÜÈçºÎÓÃLinux×öÒ»¸ö¹¦ÄÜÍ걸µÄ·ÓÉÆ÷£¬ÕâÀォÖ÷Òª½éÉܾ²Ì¬Â·ÓÉÆ÷ºÍ¶¯Ì¬Â·ÓÉÆ÷µÄÅäÖ㬵«²»°üÀ¨IPαװ»òÕß˵¹«ÓÃÒ»¸öIPµØÖ··ÃÎÊÍâÃæÍøÂçµÈÎÊÌâ¡£ÆäÒѾ­²»ÊôÓÚ±¾Ö÷ÌâÌÖÂ۵ķ¶Î§£¬Çë²Î¿¼ÆäËûÈç·À»ðǽµÄÅäÖõȵÄÄÚÈÝ¡£
LRP(Linux Router Project)ÒѾ­³ÉÁ¢ÁËÓкü¸ÄêµÄʱ¼äÁË¡£Õâ¸ö¼Æ»®µÄÄ¿µÄÊÇÀûÓÃLinux²Ù×÷ϵͳ½«À ......

WinCE EbootÖмÓÈëLinux bootµÄÖ§³Ö

Index: flash.c
===================================================================
--- flash.c    (revision 1804)
+++ flash.c    (working copy)
@@ -26,6 +26,8 @@
#include "ebootnand.h"
#include "ll_nand.h"
#includ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ