* forgot to add CheckInitialStkLen function

* fixed two unitinitialized StackLength variables

git-svn-id: trunk@1727 -
This commit is contained in:
tom_at_work 2005-11-12 11:34:15 +00:00
parent a27b87043f
commit cc2873232f
2 changed files with 6 additions and 0 deletions

View File

@ -435,11 +435,16 @@ begin
end;
function CheckInitialStkLen(stklen : SizeUInt) : SizeUInt;
begin
result := stklen;
end;
{*****************************************************************************
SystemUnit Initialization
*****************************************************************************}
Begin
StackLength := CheckInitialStkLen(initialstklen);
StackBottom := SPtr - StackLength;
SigTermHandlerActive := false;
NetwareCheckFunction := nil;

View File

@ -519,6 +519,7 @@ end;
Begin
getCodeAddresses;
StackLength := CheckInitialStkLen(initialStkLen);
StackBottom := SPtr - StackLength;
SigTermHandlerActive := false;
NetwareCheckFunction := nil;