Define explicit volatile memory access for device registers

Đang mở
#919 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
compilers

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
56
Fork
21
Merge trung bình
23 giờ 20 phút
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wavefnd/Wave

Tất cả issue của wavefnd/Wave

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.