|
@@ -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;
|
|
|
|