Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.2 KiB

  1. ;++
  2. ;
  3. ; Copyright (c) 1989 Microsoft Corporation
  4. ;
  5. ; Module Name:
  6. ;
  7. ; pccard.inc
  8. ;
  9. ; Abstract:
  10. ;
  11. ; This module contains the assembly structures and definitions
  12. ; for the pccard IRQ detection mechanism.
  13. ;
  14. ; Author:
  15. ;
  16. ; Neil Sandlin (neilsa) 11-Dec-1998
  17. ;
  18. ; Revision History:
  19. ;
  20. ;--
  21. ifndef NEC_98
  22. PIC1_OCW3 equ 20h
  23. PIC1_IMR equ 21h
  24. PIC2_OCW3 equ 0A0h
  25. PIC2_IMR equ 0A1h
  26. else
  27. PIC1_IMR equ 2
  28. PIC2_IMR equ 0ah
  29. PIC1_OCW3 equ 0
  30. PIC2_OCW3 equ 8
  31. endif
  32. ifdef NEC_98
  33. PIC_20 EQU 000h
  34. PIC_21 EQU 002h
  35. PIC_A0 EQU 008h
  36. PIC_A1 EQU 00Ah
  37. else ;NEC_98
  38. PIC_20 EQU 020h
  39. PIC_21 EQU 021h
  40. PIC_A0 EQU 0A0h
  41. PIC_A1 EQU 0A1h
  42. endif ;NEC_98
  43. PIC_RD_IR EQU 00Ah
  44. PIC_SPEC_EOI EQU 060h
  45. PIC_LEVEL_MSK EQU 007h
  46. PCIC_IDENT equ 00
  47. PCIC_STATUS equ 01
  48. PCIC_PWR_RST equ 02
  49. PCIC_INTERRUPT equ 03
  50. PCIC_CARD_CHANGE equ 04
  51. PCIC_CARD_INT_CONFIG equ 05
  52. IGC_PCCARD_RESETLO equ 40h
  53. CSCFG_CD_ENABLE equ 8
  54. PCIC_CARD_DETECT equ 16h
  55. CDGC_SW_DET_INT equ 20h
  56. PCI_TYPE1_ADDR_PORT equ 0CF8h
  57. PCI_TYPE1_DATA_PORT equ 0CFCh