RFC: Consolidate peripheral creation and management
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- c
Línea de trabajo
Start by reviewing the linked pull request (#1) and its peripheral-management changes, focusing on the common init, update, mem_read, and mem_write operations. Compare the demonstration's hardcoded peripheral memory ranges with the proposed integration, and consider libfdt parsing as the stated future direction for completing the work.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The current peripheral management is a bit cumbersome to extend for new devices or additional harts. Since most common device operations are init, update, mem_read, and mem_write, we could extract these functionalities to ensure a simpler and more consistent approach.
As a result, I've made some modifications to improve the integration. Please check them out here: https://github.com/vacantron/semu/pull/1
In this demonstration, the start and end addresses of the peripheral's memory ranges are hardcoded. This issue could be solved in the future by using libfdt to parse the device tree blob.
- Lenguaje dominante
- C
- Estrellas
- 313
- Forks
- 75
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sysprog21/semu
-
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
-
Implement VirtIO PCI transport layerQuizá libre de nuevo @shengwen-tw la tomó hace 500 días y no hay ningún pull request abierto. Abierto
-
Implement VirtIO sound deviceQuizá libre de nuevo @Cuda-Chen la tomó hace 799 días y no hay ningún pull request abierto. Abierto
-
Support PMEMAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Run semu inside web browser via WebAssembly translationQuizá libre de nuevo @ChinYikMing la tomó hace 1014 días y no hay ningún pull request abierto. Abierto
sysprog21/semu#38 · 11 comentarios · 1 reacción · 1 asignado ·
Todos los issues de sysprog21/semu
Issues similares
-
vim.filetype.match() prefixes a URL buffer name with the cwd before passing it to filetype functionsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
compilation errorAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
COVESA/dlt-daemon#925 · 1 reacción ·
-
stream_curl: retry_count never resets after a successful reconnect, so long sequential streams die after 5 dropsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
mpv-player/mpv#18728 ·
Los mantenedores suelen responder en 1 día
-
followup Prio 📌
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cyrusimap/cyrus-imapd#6640 ·
Los mantenedores suelen responder en 2 días