Skip to content

Clean-up and harden the RISC-V64 GNU port #483

@fdesbiens

Description

@fdesbiens

Objective

Improve code quality and maintainability of the existing RISC-V64/GNU ThreadX port.

Deliverables

  • Improve and expand code comments to describe design intent, context switch logic, and assembly behavior.
  • Standardize function names, labels, and macros to conform with RISC-V naming conventions and ThreadX coding standards.
  • Eliminate hardcoded constants (e.g., stack offsets, register counts) by replacing them with macros, enums, or configuration flags.
  • Create and document reusable flags/definitions for ISA features, register widths, ABI handling, and toolchain specifics.
  • Ensure the port is fully documented and baseline compliant with RISC-V ISA (privileged architecture) expectations.

Tags

Cleanup, Low Complexity,

Metadata

Metadata

Assignees

Labels

featureNew feature or enhancement requesthardwareNew hardware or architecture support request

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions