Kernel Size Awareness

Modified the linker script + Added an init function to System.pas to be called at system boot, this allows tracking of the Kernel start & end addresses, and thus, allows us to calculate the kernel size.
This commit is contained in:
2022-02-06 13:29:29 +00:00
parent 346dc4e4c9
commit 208bda92c8
3 changed files with 21 additions and 1 deletions

View File

@ -125,6 +125,9 @@ var
HM : PHashMap;
begin
{ Init the base system unit }
System.init();
{ Serial Init }
serial.init();