mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 16:40:28 +02:00
* removed Dos[Alloc/Free]ThreadLocalMemory which is not available before OS/2 Warp - planned to be moved to DosCall2 later
git-svn-id: trunk@28953 -
This commit is contained in:
parent
99e9571e0e
commit
a46b076cd2
@ -3207,16 +3207,6 @@ procedure DosFlatToSel; cdecl;
|
||||
{typecast result to TFarPtr}
|
||||
function FlatToSel (APtr: pointer): cardinal;
|
||||
|
||||
{Allocate Count dwords in a memory block unique in each thread. A maximum
|
||||
of 8 dwords can be allocated at a time, the total size of the thread local
|
||||
memory area is 128 bytes; FPC 1.1+ uses one dword from this for internal
|
||||
multi-threading support, leaving 124 bytes to programmers.}
|
||||
function DosAllocThreadLocalMemory (Count: cardinal; var P: pointer): cardinal;
|
||||
cdecl;
|
||||
|
||||
{Deallocate a previously allocated space in the thread local memory area.}
|
||||
function DosFreeThreadLocalMemory (P: pointer): cardinal; cdecl;
|
||||
|
||||
const
|
||||
{ Values for DosQueryRASInfo Index parameter }
|
||||
sis_MMIOAddr = 0;
|
||||
@ -5743,13 +5733,6 @@ function FlatToSel (APtr: pointer): cardinal; assembler;
|
||||
pop ebx
|
||||
end;
|
||||
|
||||
function DosAllocThreadLocalMemory (Count: cardinal; var P: pointer): cardinal;
|
||||
cdecl;
|
||||
external 'DOSCALLS' index 454;
|
||||
|
||||
function DosFreeThreadLocalMemory (P: pointer): cardinal; cdecl;
|
||||
external 'DOSCALLS' index 455;
|
||||
|
||||
function DosQueryRASInfo (Index: cardinal; var PBuffer: pointer): cardinal;
|
||||
cdecl; external 'DOSCALLS' index 112;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user