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