Nyxos AI
  • 1. Introducing Nyxos
    • 1.1 Our Goals
    • 1.2. Our Philosophy
    • 1.3. Why a New OS?
    • 1.4. Nyxos Use Cases
    • 1.5. Comparing Nyxos to Other OSes
    • 1.6. Why Rust?
    • 1.7. Influences
    • 1.8. Hardware Support
  • 2. System Design
    • 2.1. Microkernels
    • 2.2. Nyxos kernel
    • 2.3. Boot Process
    • 2.4. Scheduling
    • 2.5. System Services in User Space
    • 2.6. Drivers
    • 2.7. Security
Powered by GitBook
On this page
Export as PDF
  1. 2. System Design

2.6. Drivers

In Nyxos, device drivers operate as user-space daemons, each running as a separate Unix process with its own namespace and restricted schemes. This setup ensures that a driver cannot interfere with or damage other system interfaces. In contrast, on monolithic kernels, drivers run within the same memory address space as the filesystem and other kernel components, meaning they share the same privilege level. This design can potentially lead to severe issues, such as data loss, if a driver malfunctions or is compromised.

You can find detailed documentation and source code for the drivers in the repository's README and the drivers' code sections.

Previous2.5. System Services in User SpaceNext2.7. Security

Last updated 4 months ago