-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this commit, semu is able to simulate SMP architecture on Linux kernel. The original `vm_t` has been changed to `hart_t`, and now `vm_t` represents the entire virtual machine. Additionally, HSM, RFENCE, and IPI SBI extensions have been implemented with rough implementations. Before simulation, we need to enable SMP support in the Linux kernel. Please cross-compile the Linux kernel with the configuration file located at configs/linux.config After recompiling the Linux kernel with SMP support enabled, simply execute `make check SMP=n`, where n means the number of hart you want to simulate, and SMP=1 is the default setting. If you want to execute semu by yourself, the --smp argument can be used to specify the hart to simulate, and you are responsible for modifying the device tree.
- Loading branch information
Showing
15 changed files
with
493 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.