Define explicit volatile memory access for device registers

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
compilers

調査の方向性

The issue says no volatile access contract was found in the inspected lexer, parser and memory API, but names no files or tests. Read those areas first and discuss the design with @LunaStev before implementation. Done means agreeing on the API or syntax, widths, alignment, target restrictions and observable access guarantees, then verifying optimized output and unsupported request diagnostics.

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

説明

discussion enhancement

Motivation

No source-level volatile load/store contract was found in the inspected lexer, parser and memory API. LLVM ordinary loads/stores and inline-assembly memory clobbers do not constitute a typed volatile access API.

Scope

Decide API or syntax, allowed widths/alignment and exact volatile access guarantees; keep volatile distinct from atomicity and synchronization. This is an optional systems capability, not a regression or proof of kernel suitability.

Completion criteria

  • Approve the source/API form and specify supported access widths, alignment and target restrictions.
  • Define preservation of observable accesses without claiming atomicity or synchronization.
  • Verify generated volatile accesses under optimization and diagnose unsupported requests explicitly.

Design required. Please mention @LunaStev to discuss the design before starting implementation.

主要言語
Rust
スター
56
フォーク
21
平均マージ
23時間 20分
マージ済み PR(30日)
45

環境構築

はじめの一歩

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

wavefnd/Wave のほかの issue

wavefnd/Wave の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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