[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Re: [PATCH] irqdev: search_intr with interrupt line
From:       Samuel Thibault <samuel.thibault () gnu ! org>
Date:       2020-08-04 22:27:15
Message-ID: 20200804222714.bnctek3wgumpclcu () function
[Download RAW message or body]

Junling Ma, le mar. 04 août 2020 15:16:39 -0700, a ecrit:
> In the read/write irq scheme, a program may open multiple irq devices. When wrting (acking), we
> need to find the user_intr_t that both points to the device port and has the correct interrupt.
> Thus the search_intr function need to match the interrupt id.

? AIUI you'd call device_open() for each irq line you want to monitor,
so you only need to match the corresponding port, and checking the line
id is then just redundant.

Samuel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic