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

feature/qemu-config - Add config parameter to Makefile #280

Open
wants to merge 3 commits into
base: riscv
Choose a base branch
from

Conversation

echtwerner
Copy link

Add Config parameter RAM and CPUCOUNT to the head of Makefile to call qemu with the parameter's defined in the Top of the file. The Parameter will be used in compiler flags to define NCPU and MAXMEM parameters. This will be used in the code to make sure the changes are reflected without any source code changes.

Added CPUSTACKSIZE to kernel/param.h to allow some experiments with the Stacksize per CPU in future.

Added some output in kinit function to see if changes to RAM are reflected. Remark: You have to "make clean && make qemu" after changes to the RAM Variable.

Add Config parameter RAM and CPUCOUNT to the head of Makefile to call qemu with the parameter's defined in the Top of the file.
The Parameter will be used in compiler flags to define NCPU and MAXMEM parameters. This  will be used in the code to make sure the changes are reflected without any source code changes.

Added CPUSTACKSIZE to kernel/param.h to allow some experiments with the  Stacksize per CPU in future.

Added some output in kinit function to see if changes to RAM are reflected.
Remark: You have to "make clean && make qemu" after changes to the RAM Variable.
The CPUSTACKSIZE should be taken into account if stack0 is initialized.
This is a  manual change based on PR mit-pdos#252
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