[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.8-198-g6054cda
From: |
Samuel Thibault |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.8-198-g6054cda |
Date: |
Thu, 9 Jul 2020 18:34:32 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via 6054cda4de2341b9a77ec4421411725f3684006b (commit)
from 2dbf108457d0a0057cc63d5b3b89fd4da48d2a72 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6054cda4de2341b9a77ec4421411725f3684006b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Fri Jul 10 00:23:32 2020 +0200
Add hardware interrupt notification mechanism
This allows privileged userland drivers to get notifications of hardware
interrupts.
Initial work by Zheng Da, reworked by Damien Zammit and myself.
* Makefrag.am (libkernel_a_SOURCES): Add device/intr.c and
device/intr.h.
(include_device_HEADERS): Add include/device/notify.defs and
include/device/notify.h.
* device/dev_hdr.h (name_equal): Add declaration.
* device/ds_routines.c: Include <device/intr.h>
(ds_device_intr_register, ds_device_intr_ack): New functions.
* device/intr.c, device/intr.h: New files.
* doc/mach.texi (Device Interrupt): New section.
* i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386/irq.c and
i386/i386/irq.h.
* i386/i386/irq.c, i386/i386/irq.h: New files.
* i386/i386at/conf.c: Include <device/intr.h>.
(irqname): New macro.
(dev_name_list): Add irq device.
* include/device/device.defs (device_intr_register, device_intr_ack):
New RPCs.
* include/device/notify.defs, include/device/notify.h: New files.
* kern/startup.c: Include <device/intr.h>
(start_kernel_threads): Start intr_thread thread.
* linux/dev/arch/i386/kernel/irq.c: Include <device/intr.h>
(linux_action): Add user_intr field.
(linux_intr): Call user_intr action if any.
(mask_irq, unmask_irq): Move functions to i386/i386/pic.c
(__disable_irq, __enable_irq): Move functions to i386/i386/irq.c.
(install_user_intr_handler): New function.
(request_irq): Initialize user_intr field.
* linux/src/include/asm-i386/irq.h (__disable_irq, __enable_irq): Remove
prototypes.
* i386/i386/pic.c (mask_irq, unmask_irq): New functions.
* i386/i386/pic.h (mask_irq, unmask_irq): New prototypes.
-----------------------------------------------------------------------
Summary of changes:
Makefrag.am | 4 +
device/dev_hdr.h | 9 +
device/ds_routines.c | 54 ++++
device/intr.c | 283 +++++++++++++++++++++
device/intr.h | 62 +++++
doc/mach.texi | 22 ++
i386/Makefrag.am | 2 +
i386/i386/irq.c | 66 +++++
i386/i386/irq.h | 27 ++
i386/i386/pic.c | 72 ++++++
i386/i386/pic.h | 2 +
i386/i386at/conf.c | 8 +
include/device/device.defs | 18 ++
.../i386/boolean.h => include/device/notify.defs | 17 +-
include/device/notify.h | 34 +++
kern/startup.c | 4 +
linux/dev/arch/i386/kernel/irq.c | 152 ++++++-----
linux/src/include/asm-i386/irq.h | 2 -
18 files changed, 748 insertions(+), 90 deletions(-)
create mode 100644 device/intr.c
create mode 100644 device/intr.h
create mode 100644 i386/i386/irq.c
create mode 100644 i386/i386/irq.h
copy i386/include/mach/i386/boolean.h => include/device/notify.defs (84%)
create mode 100644 include/device/notify.h
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.8-198-g6054cda,
Samuel Thibault <=