bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnumach: [PATCH] - irq as a mach device


From: Damien Zammit
Subject: gnumach: [PATCH] - irq as a mach device
Date: Fri, 3 Jul 2020 19:29:32 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Hi folks,

As discussed on IRC, I am working on refactoring IRQ handling so that
it can be opened as a mach device.  However, I need to clean up the existing 
irq code.

I am trying to make this more modular, so I have moved the irq 
masking/unmasking to pic.c
and created an arch-specific irq.h and irq.c to hold the "line" information.

I have tried to refactor the RPCs but I'm not sure how to make it a 
fully-fledged "irq" mach device. 

Can someone please review this patch?  I'm not sure how much of it can be 
applied as-is at present,
but it does compile and run correctly on existing in-kernel disk drivers.
However, as expected, it breaks netdde in its current state because the RPC 
calls are different.

It seems the "disable" part of the device_intr_enable RPC is not needed so I 
have made it "enable" only.

Damien

Attachment: 0001-irq-Refactor-interrupt-handling-as-a-mach-device.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]