mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 20:26:00 +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 !!!!
|
this function must preserve esi !!!!
|
||||||
because esi is set by the calling
|
because esi is set by the calling
|
||||||
proc for methods
|
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
|
asm
|
||||||
pushl %eax
|
pushl %eax
|
||||||
pushl %ebx
|
pushl %ebx
|
||||||
movl stack_size,%ebx
|
movl stack_size,%ebx
|
||||||
|
addl $2048,%ebx
|
||||||
movl %esp,%eax
|
movl %esp,%eax
|
||||||
subl %ebx,%eax
|
subl %ebx,%eax
|
||||||
{$ifdef SYSTEMDEBUG}
|
{$ifdef SYSTEMDEBUG}
|
||||||
@ -592,7 +597,10 @@ Begin
|
|||||||
End.
|
End.
|
||||||
{
|
{
|
||||||
$Log$
|
$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_open was WRONG! Fixed!
|
||||||
* do_isdevice small fix with ATT parser
|
* do_isdevice small fix with ATT parser
|
||||||
* I386_ATT put back , otherwise would NOT link!
|
* I386_ATT put back , otherwise would NOT link!
|
||||||
|
Loading…
Reference in New Issue
Block a user