bug-hurd
[Top][All Lists]
Advanced

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

gnumach-dev: please include intr.h


From: Robert Millan
Subject: gnumach-dev: please include intr.h
Date: Sun, 16 Aug 2015 19:48:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Package: gnumach-dev
Severity: wishlist

(followup from the Userspace PCI I/O discussion in bug-hurd / rumpkernel-users)

El 16/08/15 a les 15:14, Antti Kantee ha escrit:
   - intr.h was just copied from GNU Mach source tree (I don't think it is 
copyright-significant
     though).

I traced this file to 70_dde.patch, which was added in 2012 to the Debian 
package,
but not to upstream gnumach tree:

  * debian/patches/70_dde.patch: Add experimental support for irq passing and
    physical memory allocation for DDE. Also adds nonetdev boot parameter to
    disable network device drivers.

hurd code (in Debian) basically duplicates it in libddekit/interrupt.c, e.g.:

libddekit/interrupt.c-#define MACH_INTR_NOTIFY 424242
libddekit/interrupt.c-
libddekit/interrupt.c-typedef struct
libddekit/interrupt.c-{
libddekit/interrupt.c-  mach_msg_header_t intr_header;
libddekit/interrupt.c-  mach_msg_type_t   intr_type;
libddekit/interrupt.c-  int                 line;
libddekit/interrupt.c:} mach_intr_notification_t;

Would you consider installing it in /usr/include/device/ for the sake of other
programs who also want to do funny things with interrupts on userspace? :-)

--
Robert Millan



reply via email to

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