mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 22:59:51 +02:00
* 2k buffer for stack shecking to permimt correct io
This commit is contained in:
parent
5dd7e8561a
commit
797f6c4b35
@ -105,11 +105,16 @@ begin
|
||||
this function must preserve esi !!!!
|
||||
because esi is set by the calling
|
||||
proc for methods
|
||||
it must preserve all registers !! }
|
||||
it must preserve all registers !!
|
||||
With a 2048 byte safe area used to write to StdIo without crossing
|
||||
the stack boundary
|
||||
|
||||
}
|
||||
asm
|
||||
pushl %eax
|
||||
pushl %ebx
|
||||
movl stack_size,%ebx
|
||||
addl $2048,%ebx
|
||||
movl %esp,%eax
|
||||
subl %ebx,%eax
|
||||
{$ifdef SYSTEMDEBUG}
|
||||
@ -592,7 +597,10 @@ Begin
|
||||
End.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.6 1998-07-02 12:26:55 carl
|
||||
Revision 1.7 1998-07-07 12:30:20 carl
|
||||
* 2k buffer for stack shecking to permimt correct io
|
||||
|
||||
Revision 1.6 1998/07/02 12:26:55 carl
|
||||
* do_open was WRONG! Fixed!
|
||||
* do_isdevice small fix with ATT parser
|
||||
* I386_ATT put back , otherwise would NOT link!
|
||||
|
Loading…
Reference in New Issue
Block a user