mdb写経/割り込み

2013/07/31

dcmds

[address] ::interrupts [-d]
PCI/PX ネクサスドライバに登録されている割り込みを表示します。

SPARC
> ::interrupts
> ::interrupts
 
        Device   Type    MSG #   State   INO     Mondo   Shared   Pil    CPU
        uata#0   Fixed    ---    enbl    0x4     0x784      no      5      0
         isp#0   Fixed    ---    enbl    0x10    0x790      no      5      0
         bge#0   Fixed    ---    enbl    0x16    0x796      no      6      0
         bge#1   Fixed    ---    enbl    0x17    0x797      no      6      0
        ohci#0   Fixed    ---    enbl    0x0     0x780     yes      9      0
        ohci#1   Fixed    ---    enbl    0x0     0x780     yes      9      0
        ohci#2   Fixed    ---    enbl    0x0     0x780     yes      9      0
        ehci#0   Fixed    ---    enbl    0x1     0x781      no      9      0
         pfb#0   Fixed    ---    enbl    0xb     0x78b      no      9      0
       mi2cv#1   Fixed    ---    enbl    0x3d    0x7bd      no      4      0
       mi2cv#0   Fixed    ---    enbl    0x3c    0x7bc      no      4      0
          px#0   PCIe      27    enbl    0x3b    0x7bb      no      1      0
          px#0   PCIe      51    enbl    0x3a    0x7ba      no     14      0
          px#0   PCIe      49    enbl    0x39    0x7b9      no     14      0
          px#0   PCIe      48    enbl    0x38    0x7b8      no      9      0
         mpt#0   MSI        0    enbl    0x18    0x798      no      5      0
       power#0   Fixed    ---    enbl    0x3     0x7c3      no     14      0
     pcf8584#0   Fixed    ---    enbl    0x1     0x7c1      no      4      0
          px#1   PCIe      27    enbl    0x3b    0x7fb      no      1      0
          px#1   PCIe      51    enbl    0x3a    0x7fa      no     14      0
          px#1   PCIe      49    enbl    0x39    0x7f9      no     14      0
          px#1   PCIe      48    enbl    0x38    0x7f8      no      9      0
 

> ::interrupts -d
> ::interrupts -d
 
-------------------------------------------
Device:         uata
Instance:       0
Path:           /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f
Inum:           0
Interrupt Type: Fixed
Shared Intr:    no
State:          1 (Enabled)
INO:            0x4
Mondo:          0x784
Pil:            5
CPU:            0
 
-------------------------------------------
Device:         isp
Instance:       0
Path:           /pci@1e,600000/pci@0/pci@9/pci@0,2/pci@2/SUNW,isptwo@4
Inum:           0
Interrupt Type: Fixed
Shared Intr:    no
State:          1 (Enabled)
INO:            0x10
Mondo:          0x790
Pil:            5
CPU:            0
    :
    :
 

x86
> ::interrupts
> ::interrupts
IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s)
1    0x41 5          Edg Fixed  1   1     0x0/0x1   i8042_intr
9    0x80 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
12   0x42 5          Edg Fixed  0   1     0x0/0xc   i8042_intr
14   0x40 5          Edg Fixed  0   1     0x0/0xe   ata_intr
160  0xa0 11         Edg IPI    all 0     -         poke_cpu
208  0xd0 14         Edg IPI    all 1     -         kcpc_hw_overflow_intr
209  0xd1 14         Edg IPI    all 1     -         cbe_fire
210  0xd3 14         Edg IPI    all 1     -         cbe_fire
240  0xe0 15         Edg IPI    all 1     -         xc_serv
241  0xe1 15         Edg IPI    all 1     -         apic_error_intr
 

> ::interrupts -i
> ::interrupts -i
CPU ISR(s)
1   i8042_intr
1   acpi_wrapper_isr
0   i8042_intr
0   ata_intr
all poke_cpu
all kcpc_hw_overflow_intr
all cbe_fire
all cbe_fire
all xc_serv
all apic_error_intr
 

[address] ::softint [-d]
ソフトウェア割り込みを表示します。

SPARC
> ::softint
> ::softint
            ADDR TYPE PEND  PIL             ARG1             ARG2 HANDLER
        70008b80    S    0    4      30000e8c390                0 ghd_doneq_process
        70008b40    S    0    4      30000e8c390                0 ghd_timeout_softintr
        70008b00    S    0    4      30000e8c270                0 ghd_doneq_process
        70008ac0    S    0    4      30000e8c270                0 ghd_timeout_softintr
        70008980    S    0    4      60012962000                0 bge_chip_factotum
        70008940    S    0    4      60012962000                0 bge_send_drain
        700088c0    S    0    4      60012956000                0 bge_chip_factotum
        70008880    S    0    4      60012956000                0 bge_send_drain
        70008840    S    0    6                0                0 pm_cfb_softint
        70008800    S    0    1                0                0 softlevel1
        7000e2f8    M    0    9          18aec68                0 scrub_icache_line_intr
        7000e1c0    M    0    9          18aec38                0 scrub_dcache_line_intr
        7000e088    M    0    9          18aec08                0 scrub_ecache_line_intr
        7000df50    M    0   13                0                0 xc_loop
        7000de18    M    0   13                0                0 xc_serv
        7000dce0    M    0   15                0                0 kcpc_hw_overflow_intr
        700087c0    S    0    9      30000eab348                0 hcdi_soft_intr
        70008780    S    0    9      30000eaab68                0 hcdi_soft_intr
        70008740    S    0    9      30000eabb28                0 hcdi_soft_intr
        700086c0    S    0    9      30000eaba48                0 hcdi_soft_intr
        70008600    S    0    4      60012859540                0 power_soft_intr
        70008580    S    0   10                0                0 abort_seq_softintr
        70008540    S    0    2      300000b7440                0 errorq_intr
        70008500    S    0    2      300000b6a40                0 errorq_intr
        700084c0    S    0    1      300000b67c0                0 errorq_intr
        7000dba8    M    0   10                0                0 clock_tick_execute
        70008080    S    0    1                0                0 cbe_level1
        70008040    S    0   10                0                0 cbe_level10
        7000da70    M    0   14                0                0 cbe_level14
        7000d938    M    0   13                0                0 siron_poke_cpu_intr
        7000d800    M    0   13                0                0 poke_cpu_intr
        70008000    S    0    1                0                0 softlevel1
 

x86
> ::softint
> ::softint
ADDR             PEND PIL ARG1             ARG2            ISR(s)
ffffc100032e3100 0    1   ffffc10002457ac0 0               errorq_intr
fffffffffc00f080 0    1   1                0               timer_softintr
fffffffffc00f040 0    1   0                0               softlevel1
ffffc100032e30c0 0    2   ffffc100005e1a80 0               errorq_intr
fffffffffc000b90 0    2   0                0               cbe_low_level
fffffffffc00f0c0 0    2   2                0               timer_softintr
fffffffffc00f100 0    3   3                0               timer_softintr
ffffc100077631c0 0    4   ffffc100055fb180 0               power_soft_intr
ffffc1000254d800 0    4   ffffc100000bef58 0               ghd_doneq_process
ffffc1000254d840 0    4   ffffc100000bef58 0               ghd_timeout_softintr
fffffffffc00f140 0    4   4                0               timer_softintr
fffffffffc00f180 0    5   5                0               timer_softintr
ffffc100032f5a00 0    6   0                0               pm_cfb_softint
fffffffffc00f1c0 0    6   6                0               timer_softintr
fffffffffc00f200 0    7   7                0               timer_softintr
fffffffffc00f240 0    8   8                0               timer_softintr
ffffc100032ca680 0    9   ffffc100005c8548 0               hcdi_soft_intr
fffffffffc00f280 0    9   9                0               timer_softintr
fffffffffc004300 0    10  0                0               lbolt_ev_to_cyclic
ffffc100004b4428 0    10  0                0               clock_tick_execute
fffffffffc000b50 0    10  0                0               cbe_softclock
fffffffffc00f2c0 0    10  a                0               timer_softintr
 

walker

irmpools
walk global list of interrupt pools.
irmreqs
walk list of interrupt requests in an interrupt pool.

0 件のコメント:

コメントを投稿