[Feature]: Software only driver support

オープン
#3,333 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
csharp

調査の方向性

The request concerns DriverKit's driver model, but the payload names no files, tests or entry points to start from. Its alternatives mention Kernel.Run() and BeforeRun() and a DriverRegistry, which are the places to read first. Done would require a maintainer-agreed design for a software-only driver type, which the thread has not yet settled.

索引モデルが issue の本文から書いたものです。

説明

Problem or Use Case

DriverKit currently supports only hardware devices, so what if we were able to create "software only" drivers that the OS would only see and the driver cannot be used to communicate with physical devices

Proposed Solution

It should have clear methods that say that it is a software-only driver

Alternatives Considered

• Hardcoding a global try-catch wrapper inside the core Kernel.Run() or BeforeRun(), which bypasses the standard driver lifecycle completely.
• "Faking" a hardware device by subclassing Driver and binding it to a generic system bus, which feels like a hack and clutters the DriverRegistry.

Architecture

Both

Additional Context

Allowing virtual drivers within the registry makes the DriverKit much more modular. It would open the door for other software-only services in the future, such as virtual filesystems, software-defined network interfaces (TAP/TUN), or telemetry/monitoring tools, matching how monolithic kernels handle pseudo-devices.

主要言語
C#
スター
3.2k
フォーク
591
平均マージ
21時間 34分
マージ済み PR(30日)
26

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CosmosOS/Cosmos のほかの issue

CosmosOS/Cosmos の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。