ATM temporary trampoline code is used to disable interrupts and halt started CPU. Code was tested only under qemu and starts all cores in real mode.
Also, I made some changes to the Bochs configuration. Firstle, I increased the amount of RAM available to the guest, because XTLDR was unable to allocate memory for the kernel. Secondly, I changed the COM1 port mode to save the serial console output to a file. Thirdly, I enabled SMP support.
TODO
Start CPUs
AP bootstrap code
Assign CPU stack
Agreements
I have read the Contributors License Agreement and I consent to those terms.
## Purpose
Bring SMP support to ExectOS.
## Proposed changes
ATM temporary trampoline code is used to disable interrupts and halt started CPU. Code was tested only under qemu and starts all cores in real mode.
Also, I made some changes to the Bochs configuration. Firstle, I increased the amount of RAM available to the guest, because XTLDR was unable to allocate memory for the kernel. Secondly, I changed the COM1 port mode to save the serial console output to a file. Thirdly, I enabled SMP support.
## TODO
- [x] Start CPUs
- [ ] AP bootstrap code
- [ ] Assign CPU stack
## Agreements
- [x] I have read the Contributors License Agreement and I consent to those terms.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Purpose
Bring SMP support to ExectOS.
Proposed changes
ATM temporary trampoline code is used to disable interrupts and halt started CPU. Code was tested only under qemu and starts all cores in real mode.
Also, I made some changes to the Bochs configuration. Firstle, I increased the amount of RAM available to the guest, because XTLDR was unable to allocate memory for the kernel. Secondly, I changed the COM1 port mode to save the serial console output to a file. Thirdly, I enabled SMP support.
TODO
Agreements
I will review this PR once it is ready to be merged (not marked as WIP).
This PR will be finished directly in ExectOS repository.
Pull request closed