Merge branch 'feature/kernel-size-awareness' into 'develop'

Kernel Size Awareness

See merge request spexeah/asuro!32
This commit is contained in:
2022-02-07 19:43:45 +00:00
3 changed files with 21 additions and 1 deletions

View File

@ -143,6 +143,22 @@ type
PText = ^Text;
var
AK_START : uint32; external name 'kernel_start';
AK_END : uint32; external name 'kernel_end';
ASURO_KERNEL_START : uint32;
ASURO_KERNEL_END : uint32;
ASURO_KERNEL_SIZE : uint32;
procedure init();
implementation
procedure init();
begin
ASURO_KERNEL_START := uint32(@AK_START);
ASURO_KERNEL_END := uint32(@AK_END);
ASURO_KERNEL_SIZE:= ASURO_KERNEL_END - ASURO_KERNEL_START;
end;
end.

View File

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