1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {
- This file is part of the Free Pascal run time library.
- Copyright (c) 2015 by Sven Barth, member of the Free Pascal development
- team.
- See the file COPYING.FPC, included in this distribution,
- for details about the copyright.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- **********************************************************************}
- procedure PascalMain; external name 'PASCALMAIN';
- {$ifdef FPC_HAS_INDIRECT_ENTRY_INFORMATION}
- procedure SysEntry(constref info: TEntryInformation); external name 'FPC_SysEntry';
- var
- InitFinalTable : record end; external name 'INITFINAL';
- ThreadvarTablesTable : record end; external name 'FPC_THREADVARTABLES';
- {$ifdef FPC_HAS_RESSTRINITS}
- ResStrInitTables : record end; external name 'FPC_RESSTRINITTABLES';
- {$endif}
- ResourceStringTables : record end; external name 'FPC_RESOURCESTRINGTABLES';
- ResLocation : Pointer; external name 'FPC_RESLOCATION';
- StackLength : SizeUInt; external name '__stklen';
- const
- SysInitEntryInformation : TEntryInformation = (
- InitFinalTable : @InitFinalTable;
- ThreadvarTablesTable : @ThreadvarTablesTable;
- ResourceStringTables : @ResourceStringTables;
- {$ifdef FPC_HAS_RESSTRINITS}
- ResStrInitTables : @ResStrInitTables;
- {$else}
- ResStrInitTables : nil;
- {$endif}
- ResLocation : @ResLocation;
- PascalMain : @PascalMain;
- valgrind_used : false;
- OS: (
- argc: 0;
- argv: nil;
- envp: nil;
- stkptr: nil;
- stklen: 0;
- haltproc: nil;
- );
- );
- {$endif FPC_HAS_INDIRECT_ENTRY_INFORMATION}
|