User mode interrupts
    1.
    发明授权
    User mode interrupts 有权
    用户模式中断

    公开(公告)号:US09594704B1

    公开(公告)日:2017-03-14

    申请号:US14109877

    申请日:2013-12-17

    Applicant: Google Inc.

    CPC classification number: G06F13/24 G06F9/327 G06F9/3857 G06F9/4812 G06F9/5027

    Abstract: A method includes for each processed interrupt: identifying an interrupt associated with a first interrupt number; determining that the interrupt is designated as a special interrupt, the special interrupt being an interrupt to be translated to a different interrupt number only if the hardware processor is in user mode; determining a current execution mode for the hardware processor; for each interrupt in operating system mode, delivering the interrupt as the first interrupt number; and for each interrupt in user mode: translating the first interrupt number to a second interrupt number; and delivering the interrupt as the second interrupt number, wherein the current execution mode is determined to be an operating system mode for at least one of the interrupts, and the current execution mode is determined to be a user mode for at least an additional one of the interrupts.

    Abstract translation: 一种方法包括:对于每个处理的中断:识别与第一中断号码相关联的中断; 确定中断被指定为特殊中断,特殊中断只有在硬件处理器处于用户模式时才被转换为不同的中断号; 确定硬件处理器的当前执行模式; 对于操作系统模式中的每个中断,将中断作为第一个中断号提供; 对于用户模式中的每个中断,将第一个中断号转换为第二个中断号; 以及将所述中断作为所述第二中断号递送,其中所述当前执行模式被确定为用于所述中断中的至少一个的操作系统模式,并且所述当前执行模式被确定为用于至少另外一个 中断。

Patent Agency Ranking