Define explicit volatile memory access for device registers

Abierto
#919 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust
Área
compilers

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
56
Forks
21
Merge medio
23 h 20 min
PR fusionados (30 d)
45

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de wavefnd/Wave

Todos los issues de wavefnd/Wave

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.