sergei
|
cd347e40b2
* Moved existing exception-related definitions into separate include file seh64.inc, and added some more WinAPI definitions needed for SEH.
|
vor 13 Jahren |
sergei
|
ebb2205c63
* Moved TExceptionRecord definition to sysos.inc, it is identical for all Windows targets.
|
vor 13 Jahren |
sergei
|
bcbd25568e
* Call InitHeap before InitSystemThreads in TLS callback (necessary because InitSystemThreads calls RelocateHeap), and skip both of them in initialization section of system.pp if they have been called from TLS callback. This restores correct initialization sequence which was broken by r19779, resulting in lots of debug messages about corrupted heap when running tests/test/theapthread.pp
|
vor 13 Jahren |
sergei
|
32094761ef
* win32/system.pp, win64/system.pp: Moved duplicated declarations of WinAPI functions to sysos.inc (Florian's comment about include ordering is no longer true, wstrings.inc comes after sysos.inc these days).
|
vor 13 Jahren |
paul
|
1ccf16358c
rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
|
vor 14 Jahren |
sergei
|
8e41ecfd54
* Made a stupid mistake in r19460: restoring rbp from rbp-relative reference will obviously crash. This went unnoticed however, because PASCALMAIN does not return and wrong code is never executed. Fixed by storing rbp in non-volatile register instead of local var.
|
vor 14 Jahren |
sergei
|
1404b7397a
- Win64, EXE_Entry: removed messing with gs:[0], it won't work anyway.
|
vor 14 Jahren |
sergei
|
268d8685e7
- Removed SysResetFPU/SysInitFPU from win32/win64 system unit initialization. It is redundant here because it is called from fpc_initializeunits->fpc_cpuinit (on win64) or from fpc_cpucodeinit (on win32).
|
vor 14 Jahren |
sergei
|
ad5d2ccabb
* Moved command line handling and randomize() to syswin.inc, so a single copy of code is used for both win32 and win64. This implies that apostrophe is no longer supported as quoting symbol in win64.
|
vor 14 Jahren |
sergei
|
f35a8179b1
* Status codes are identical for win32 and win64, moved them to syswin.inc.
|
vor 14 Jahren |
sergei
|
ad94e5e719
* Link TLS directory and callbacks only into executables. It is not necessary for DLLs, because callback functionality is contained in DllMain. Moreover, DLLs with TLS directory cannot be dynamically loaded in Windows versions prior to Vista.
|
vor 14 Jahren |
sergei
|
50952945e1
* Moved WideString-related code, which is identical for Win32 and Win64, into syswin.inc
|
vor 14 Jahren |
sergei
|
cd94bb5edf
* tls_index must be renamed everywhere, forgotten part of r17943.
|
vor 14 Jahren |
pierre
|
46a6be05a5
* More dummy code to avoid removal of required labels
|
vor 14 Jahren |
pierre
|
bffd571f9d
* win/sysos.inc: TTlsDirectory, new record type
|
vor 14 Jahren |
sergei
|
3a7ac49cc2
- Removed Win32Wide2AnsiMove, using Win32Unicode2AnsiMove for both Unicode-to-ansi and Wide-to-ansi conversions. In general, we don't need two different conversion routines in wideStringManager, as long as they differ only in PWideChar vs PUnicodeChar (these types are identical).
|
vor 14 Jahren |
florian
|
a0c25dc0f9
- removes Thread_count from the system unit of several OSes: the value of this variable was unpredictable and the hebaviour was not fixable, resolves #18089
|
vor 14 Jahren |
pierre
|
ed1c558726
* Fix RIP relative assmebler code of rev 16410
|
vor 14 Jahren |
pierre
|
709d36a1d0
+ Add signals unit for win64
|
vor 14 Jahren |
pierre
|
61547f6a5a
* Fix incorrect instruction size
|
vor 15 Jahren |
pierre
|
90d1dac1d3
+ Add StartupConsoleMode as for win32
|
vor 15 Jahren |
michael
|
1cf64c032f
* Patch to remove useless process_entry_hook from sven barth
|
vor 15 Jahren |
florian
|
cba72c423d
* patch by Sergei Gorelkin to use always SetFilePointer, also for files with >2GB, this saves some lines of code, resolves #14630
|
vor 16 Jahren |
florian
|
a2862ce347
* cleaned up mess of r13516
|
vor 16 Jahren |
florian
|
380f3ac78f
* fix from Nikolay Samofatov for #12987: initialize thread vars in libraries on windows correctly
|
vor 16 Jahren |
yury
|
bba2b87064
* Use RIP relative symbol addressing in assembler blocks. Finally bug #13657 is fixed.
|
vor 16 Jahren |
florian
|
a8804cf2a6
* unified some win32/win64 code
|
vor 17 Jahren |
florian
|
f97c2968f9
* fixed widestring/unicodemanager initialisiation
|
vor 17 Jahren |
florian
|
820a9ad8e8
* merged fix for #10175 to win64
|
vor 17 Jahren |
florian
|
e85df2a7fb
* merged rev. 10867 to win64 and wince
|
vor 17 Jahren |