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 paging mraerino #25

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

mraerino
Copy link
Contributor

@mraerino mraerino commented Sep 9, 2023

No description provided.

Stefan Hertenberger and others added 27 commits September 9, 2023 13:28
adapted from rCore see https://github.com/rcore-os/rCore

Signed-off-by: Stefan Hertenberger <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
NOTE: This is getting all `0000....` at this point.

Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
This aligns the riscv64 platform/virt kernel linker script with the aarch64 one.

Signed-off-by: Daniel Maslowski <[email protected]>
This WORKS, i.e., prints what's in the binary, not just 0!

Signed-off-by: Daniel Maslowski <[email protected]>
This causes hanging, but would be correct.
See also rCore `kernel/src/arch/riscv/consts.rs`.

Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Daniel Maslowski <[email protected]>
Signed-off-by: Marcus Weiner <[email protected]>
Signed-off-by: Marcus Weiner <[email protected]>
@mraerino mraerino force-pushed the riscv64-paging-mraerino branch from 394ed49 to 9b59755 Compare September 10, 2023 16:22
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.

2 participants