-
Notifications
You must be signed in to change notification settings - Fork 2
Building
Simon Willcocks edited this page Sep 22, 2022
·
1 revision
Until now, the build process has been all on Linux, using GCC. I've reached the point now, I think, where I have to modify RISC OS source code to detatch it from the legacy kernel.
In order to achieve this, while avoiding major changes to the RISC OS build process, the C kernel code will replace the HAL code for the legacy kernel, leaving most of the original code in place but unused.
The changes will mostly be to prevent kernel modules from directly using kernel features (specifically, to start with, directly accessing the zero page vector tables).
The build process is now in multiple stages:
- Build the RISC OS ROM with an appropriate HAL for the processor type up to Join ROM
- Run build creates a linker script with the current addresses of the required entry points builds the C kernel and combines with the RISC OS ROM image