cvs commit: src/sys/i386/isa atpic.c

John Baldwin jhb at FreeBSD.org
Mon May 3 07:52:43 PDT 2004


jhb         2004/05/03 07:52:41 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/isa         atpic.c 
  Log:
  - Add an IMEN_MASK macro that returns the 8-bit bitmask of an atpic
    interrupt source.
  - Only do an outb() to the PIC to clear a bit in imen if the bit is set.
  - Add a NUM_ISA_IRQS macro to replace uglier
    'sizeof(array) / sizeof(member)' expressions along with a CTASSERT() to
    ensure that the macro is correct.
  
  Revision  Changes    Path
  1.11      +16 -8     src/sys/i386/isa/atpic.c


More information about the cvs-src mailing list