summaryrefslogtreecommitdiff
path: root/fpcsrc/rtl/morphos/exec.pp
blob: 60b27d690a685471a746350d37c2732a1a5f1626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
    This file is part of the Free Pascal run time library.
    Copyright (c) 2004 Karoly Balogh for Genesi S.a.r.l. <www.genesi.lu>

    exec.library interface unit for MorphOS/PowerPC

    MorphOS port was done on a free Pegasos II/G4 machine
    provided by Genesi S.a.r.l. <www.genesi.lu>

    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.

 **********************************************************************}

unit exec;

interface

var
  ExecBase: Pointer;

{$include execd.inc}
{$include execf.inc}


function NewGetTaskAttrs(Task    : PTask;
                         Data    : Pointer;
                         DataSize: Cardinal;
                         TType   : Cardinal;
                         Tags    : array of DWord): Cardinal; Inline;

implementation


function NewGetTaskAttrs(Task    : PTask;
                         Data    : Pointer;
                         DataSize: Cardinal;
                         TType   : Cardinal;
                         Tags    : array of DWord): Cardinal; Inline;
begin
  NewGetTaskAttrs:=NewGetTaskAttrsA(Task,Data,DataSize,TType,@Tags);
end;


begin
  ExecBase:=MOS_ExecBase;
end.