~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to rtl/linux/ostypes.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{
2
 
    $Id: ostypes.inc,v 1.8 2004/02/06 23:06:16 florian Exp $
3
 
    This file is part of the Free Pascal run time library.
4
 
    Copyright (c) 1999-2000 by Michael Van Canneyt,
5
 
    member of the Free Pascal development team.
6
 
 
7
 
    OS dependant types internal to the Linux RTL.
8
 
 
9
 
    See the file COPYING.FPC, included in this distribution,
10
 
    for details about the copyright.
11
 
 
12
 
    This program is distributed in the hope that it will be useful,
13
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
 
 
16
 
 **********************************************************************}
17
 
 
18
 
Type
19
 
 
20
 
{
21
 
 Linux system calls take arguments as follows :
22
 
 
23
 
   i386    m68k    ppc
24
 
   %eax    %d0     r0      System call number
25
 
   %ebx    %d1     r3      first argument
26
 
   %ecx    %d2     r4      second argument
27
 
   %edx    %d3     r5      third argumens
28
 
   %esi    %d3     r6      fourth argument
29
 
   %edi    %d4     r7      fifth argument
30
 
}
31
 
 
32
 
  timezone = packed record
33
 
    minuteswest,dsttime:longint;
34
 
  end;
35
 
  ptimezone =^timezone;
36
 
  TTimeZone = timezone;
37
 
 
38
 
Const   // generated by statmacr.c
39
 
  S_IFMT  = 61440; { type of file mask}
40
 
  S_IFIFO = 4096;  { named pipe (fifo)}
41
 
  S_IFCHR = 8192;  { character special}
42
 
  S_IFDIR = 16384; { directory }
43
 
  S_IFBLK = 24576; { block special}
44
 
  S_IFREG = 32768; { regular }
45
 
  S_IFLNK = 40960; { symbolic link }
46
 
  S_IFSOCK= 49152; { socket }
47
 
 
48
 
{
49
 
 $Log: ostypes.inc,v $
50
 
 Revision 1.8  2004/02/06 23:06:16  florian
51
 
   - killed tsyscallregs
52
 
 
53
 
 Revision 1.7  2004/02/06 21:17:41  daniel
54
 
   * Revert back to longint (it broke make cycle)
55
 
 
56
 
 Revision 1.6  2004/02/06 15:58:21  florian
57
 
   * fixed x86-64 assembler problems
58
 
 
59
 
 Revision 1.5  2003/09/27 13:45:58  peter
60
 
   * fpnanosleep exported in baseunix
61
 
   * fpnanosleep has pointer arguments to be C compliant
62
 
 
63
 
 Revision 1.4  2003/09/17 11:24:46  marco
64
 
  * fixes for new macro's
65
 
 
66
 
 Revision 1.3  2003/09/14 20:15:01  marco
67
 
  * Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
68
 
 
69
 
 Revision 1.2  2002/12/18 16:43:26  marco
70
 
  * new unix rtl, linux part.....
71
 
 
72
 
 Revision 1.1  2002/11/12 14:37:59  marco
73
 
  * Parts of new unix rtl
74
 
 
75
 
}