PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 12, 20260 citationsOpen Access

Toward Userspace Device-Class Drivers: Capability-Gated Mmio, Auditable Distribution, and Deterministic Timing Open Nexus Os / Neuron Architecture Series — Part Iv: Userspace Device Services Substrate

View Full Paper
JSJenning Schäfer

Key Points

  • This research aims to create a reliable framework for accessing device-class drivers in userspace within a microkernel system.
  • Developed a bounded DeviceMmio capability for device register access.
  • Implemented a dedicated mapping syscall for user mappings and enforcement of memory boundaries.
  • Distributed device authority with a deny-by-default policy for auditable access controls.
  • Created a deterministic timing spine for timing-sensitive services.
  • Established a foundation for userspace drivers with enforced device access boundaries.
  • Demonstrated the system's effectiveness through syscall-level negative tests.
  • Validated functionality using QEMU for full-system selftests.

Abstract

Service-oriented operating systems aim to reduce kernel trusted computing bases by moving device-class components into isolated user-space services, but this requires a principled and testable device-access boundary. This paper presents and validates a minimal substrate for userspace device services in NEURON, a capability-oriented Rust microkernel targeting RISC-V. Device register access is exposed via a bounded DeviceMmio capability and a dedicated mapping syscall that enforces window bounds and non-executable user mappings by construction, establishing WX at the device boundary without caller-controlled page flags. Device authority is distributed outside the kernel: init acts as the capability distributor, while a deny-by-default policy service (policyd) authorizes transfers based on a kernel-provided principal identity, yielding auditable outcomes without kernel name checks. To support timing-sensitive services during bring-up, the system provides a minimal deterministic timing spine consisting of a typed QoS hint ABI and a userspace timer-coalescing service with bounded registrations and fixed coalescing windows. Evidence is provided through syscall-level negative tests and full-system QEMU selftests with canonical pass markers. The results establish an enforceable foundation for userspace drivers while explicitly scoping out DMA isolation, userspace interrupt delivery, and kernel-enforced buffer sealing as future proof gates.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Jenning Schäfer (2026) studied this question.

synapsesocial.com/papers/69b25b0996eeacc4fcec9542https://doi.org/10.5281/zenodo.18939217
Ask AI
Helpful
Bookmark
Share
View Full Paper