顯示具有 Linux_PIC 標籤的文章。 顯示所有文章
顯示具有 Linux_PIC 標籤的文章。 顯示所有文章

2010年12月23日 星期四

linux PIC

http://lxr.linux.no/#linux+v2.6.36/kernel/irq/handle.c#L138 
/*
  59 * Linux has a controller-independent interrupt architecture.
  60 * Every controller has a 'controller-template', that is used
  61 * by the main code to do the right thing. Each driver-visible
  62 * interrupt source is transparently wired to the appropriate
  63 * controller. Thus drivers need not be aware of the
  64 * interrupt-controller.
  65 *
  66 * The code is designed to be easily extended with new/different
  67 * interrupt controllers, without having to do assembly magic or
  68 * having to touch the generic code.
  69 *
  70 * Controller mappings for all interrupt sources:
  71 */