【问题标题】:Which interrupt number in the IDT represents the RTC interruptIDT中哪个中断号代表RTC中断
【发布时间】:2021-11-27 01:22:22
【问题描述】:

我正在使用 WinDbg 转储 IDT 的内容,我想知道在这个事物表中哪个中断号代表实时时钟中断?我已经运行 !idt -a 命令将 IDT 的内容转储到 Windbg 中。但无法分辨哪一行属于 RTC 中断。

【问题讨论】:

    标签: windows 64-bit windbg


    【解决方案1】:

    您可能需要提供更多详细信息,说明您所做的事情以及您遇到的问题
    As is Your Query 不会吸引明确的答案

    对于初学者,您是否已转储中断描述符表
    使用提供的 bang 命令 !idt 及其参数 并且对结果不满意?

    0: kd> .shell -ci "!idt" grep -i clock
    <.shell waiting 10 second(s) for process>
    d1:     fffff8033cf51908 hal!HalpTimerClockInterrupt (KINTERRUPT fffff8033d725100)
    d2:     fffff8033cf51910 hal!HalpTimerClockIpiRoutine (KINTERRUPT fffff8033d725000)
    .shell: Process exited
    0: kd>  
    

    你看过 !timer 命令是否提供了你正在寻找的东西?

    0: kd> !timer
    Dump system timers
    
    Interrupt time: 26a78346 00000515 [11/27/2021 12:49:47.524]
    
    List Timer    Interrupt Low/High     Fire Time              DPC/thread
    PROCESSOR 0 (nt!_KTIMER_TABLE fffff80339a7a800)
      0 ffffc388b8805180    27d3e28b 00000515 [11/27/2021 12:49:49.493]  thread ffffc388b8805080
    

    您还应该注意,在较新的操作系统上,由于操作系统的持续安全强化,这些都是阴影。

    【讨论】:

    • 你好@blabb。我试图在 Windbg 中(视觉上)定位 RTC 中断的地址(使用 !idt 命令),但不知道它是哪个中断。不,我没有尝试过 !timer 命令。您能否再描述一下运行 !timer 命令的结果的含义?我的最终目标是编写 C 代码将 RTC 中断的内容转储到文本文件中。谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-01-13
    • 2012-02-07
    • 1970-01-01
    • 2021-06-16
    • 2011-05-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多