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

Bump nemu version #271

Open
wants to merge 4 commits into
base: xs-dev
Choose a base branch
from
Open

Bump nemu version #271

wants to merge 4 commits into from

Conversation

eastonman
Copy link
Member

Adapt behavior and difftest api to latest NEMU.

- Remove case statement for CSR_TIME in standard.isa
- Eliminate fault generation for accessing time CSR

This change aligns gem5 with NEMU xs-cpt_defconfig
- Add `memcpy_init` function to NemuProxy class
- Use `memcpy_init` instead of `memcpy` when memory deduplication is disabled

This commit use memcpy_init instead of memcpy when init difftest. This
is corresponded to NEMU commit
OpenXiangShan/NEMU@3cc6d15,
which moves `nemu_large_memcpy` from memcpy to memcpy_init. This change
fix the problem of NEMU side pmem is fully allocated on init.
@eastonman eastonman requested a review from jensen-yan January 19, 2025 07:49
Change-Id: I2412bb2d2bf7c1544a7eb4b3789f546d5b8eb810
Change-Id: I5ee5826b883984e63fae80aaded69849d9c06811
@eastonman
Copy link
Member Author

Should merge with rebase

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