Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISCV64 qemu virt board port #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dudinea
Copy link
Contributor

@dudinea dudinea commented Jan 31, 2019

Please add port to the RISC-V 64 architecture. Currently it
supports running on the emulated 'virt' machine.

It works with RISC-V project's GNU compiler toolchain
https://github.com/riscv/riscv-gnu-toolchain
on riscv qemu https://github.com/riscv/riscv-qemu.

Currently only serial device and basic functionality supported,
All the relevant the tests in the testsuite pass..

This PR depends on my previous PRs for 64 bit and DTB support.

Fixes the code that assumes that pointers and int have the same
size: use uintptr_t or intptr_t instead.

Introduces macroses for byte swapping of 64 bit values

Allows printing of 64 bit addresses at system start and in
memory status.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant