Commit Graph

375 Commits

Author SHA1 Message Date
florian
5793f2037f + added the new types from linux 2005-02-06 08:50:22 +00:00
florian
4f7560d89e * improved widestring infrastructure manager 2005-02-01 20:22:49 +00:00
Tomas Hajny
353d5cc3de + GetProcessID added 2004-12-05 14:36:37 +00:00
marco
0d1d1a2c1b * fpsettimeofday. 2004-12-02 18:24:35 +00:00
marco
75019cf36a * initial settimeofday 2004-12-02 15:11:42 +00:00
marco
c505806918 * tz_ prefixed for timezone 2004-12-02 11:22:11 +00:00
marco
c8335a9d75 * libc fixes 2004-11-21 17:49:28 +00:00
marco
d3cb19214b * external rework. Mostly done. 2004-11-19 13:15:14 +00:00
marco
42404cd68e * moved some calls from unix to baseunix. Darwin untested. 2004-11-14 12:21:08 +00:00
peter
dbc2025604 ErrOutput added 2004-11-04 09:32:31 +00:00
marco
b903ce5a9a * Pathstr eliminated 2004-11-03 15:00:43 +00:00
peter
869b0ecc85 * compiler defined HEAP and HEAPSIZE removed 2004-10-25 15:38:59 +00:00
Jonas Maebe
159912ec47 * fixed definition of pthread_mutex_t for non-linux targets (and for
linux as well, actually).
  * base libpthread definitions are now in ptypes.inc, included in unixtype
    They sometimes have an extra underscore in front of their name, in
    case they were also exported by the packages/base/pthreads unit, so
    they can keep their original name there
  * cthreadds unit now imports systuils, because it uses exceptions (it
    already did so before as well)
  * fixed many linux definitions of libpthread functions in pthrlinux.inc
    (integer -> cint etc)
  + added culonglong type to ctype.inc
2004-09-09 20:29:06 +00:00
marco
f498e954a5 * small 1.0.x fix to earlier patch 2004-07-18 11:32:24 +00:00
marco
93c356f300 * generalised the {$ifdef cpu_i386} ..powerpc stuff to FPC_BIG_ENDIAN and
FPC_LITTLE_ENDIAN
2004-07-17 16:02:58 +00:00
Jonas Maebe
dbedc97141 * initialise StackLength (fixes stack checking in general, and tw2897 in
particular)
2004-07-17 15:31:03 +00:00
Jonas Maebe
0ba2497f24 * don't use O_CREATE when opening a file for appending (fixes tw1744) 2004-07-17 15:20:55 +00:00
daniel
51f00ff000 * Moved declarations downwards 2004-07-03 22:49:34 +00:00
marco
8dc79129e2 * small fix for 1.0.x cycling 2004-07-03 22:48:49 +00:00
daniel
9a23e896b3 * Declared envp,argc,argv in interface for Darwin 2004-07-03 22:44:37 +00:00
marco
47e72b772e * moved heap.inc and text.inc before sysalloc as suggested. Why wasn't this
done directly?
2004-06-19 08:06:04 +00:00
peter
2ed14823c5 * New heapmanager that releases memory back to the OS, donated
by Micha Nelissen
2004-06-17 16:16:13 +00:00
Jonas Maebe
5c5c449ecf * moved fpgeterrno/fpseterrno declarations to before their actual usage 2004-05-31 18:03:51 +00:00
marco
0e999633e3 * threadvar errno fix 2004-05-28 21:40:28 +00:00
marco
24bf59caa6 * errno+4 becomes errno+8 2004-05-18 20:05:01 +00:00
marco
5787d92d8f * x86_64 patches 2004-05-17 19:20:09 +00:00
marco
13a860eefc * syscallnr for __syscall entered 2004-05-16 21:01:23 +00:00
marco
06dd389fce * Initial versions 2004-05-16 20:48:32 +00:00
peter
94adf83a8b * use thandle in do_* 2004-05-16 18:51:20 +00:00
marco
1340afc320 * IPC reform 2004-04-25 19:15:43 +00:00
peter
041eb4aa1d * do_read/do_write addr argument changed to pointer 2004-04-22 21:10:56 +00:00
marco
93d838bd4d * fpnice fixes 2004-04-22 16:22:10 +00:00
marco
93622ec2e8 * UnixType changes. Please report problems to me. 2004-03-04 22:15:16 +00:00
marco
66187f0b2e * forgotten? 2004-02-29 13:46:52 +00:00
Jonas Maebe
4e37beb962 + fpnanosleep for oscdeclh.inc
- removed obsolete darwin remarks from bsd/ossysc.inc
2004-02-06 20:47:00 +00:00
marco
0db9132414 bsd 2004-01-22 13:46:14 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
marco
e03e8b5a27 * o_creat added when o_append 2004-01-06 15:42:05 +00:00
Jonas Maebe
e6c3cc44c9 * declare C-library routines as external in libc for Darwin (so we
generate proper import entries)
2004-01-04 21:04:08 +00:00
Jonas Maebe
20e0d970e9 + geterrnolocation for Darwin
+ C-style main for Darwin (generic, can be used for anything)
2004-01-04 20:32:05 +00:00
Jonas Maebe
d6743c1491 * moved SIG_MAXSIG and wordsinsigset constants from bunxtype.inc to
ptypes.inc (already there for Darwin)
2004-01-04 20:08:45 +00:00
marco
5ec7fdfe02 * fix for 1.0 compability issue 2004-01-03 23:56:11 +00:00
marco
5ba857f706 * typo fix 2004-01-03 14:56:10 +00:00
marco
5cb92b4d59 * sighnd to separate file, like linux. Some comments removed 2004-01-03 12:35:39 +00:00
marco
fdf4095798 * few small freebsd fixes backported from debugging linux 2004-01-01 17:07:21 +00:00
marco
b6f9f170f7 * FPC_USE_LIBC 2003-12-30 12:24:01 +00:00
peter
03d60dec7f * fix getdir when directory contains files that give EACCESS 2003-12-21 20:31:50 +00:00
marco
8fc8644de0 * nil <-> 0 changes 2003-12-16 19:43:53 +00:00
marco
ae1f7f63b6 * fix for repeating 'x' bug 2003-12-14 14:47:02 +00:00
marco
42f329de27 * property support under ifndef ver1_0 2003-12-10 17:13:43 +00:00
marco
f4db4860b5 * property errno defined 2003-12-10 17:08:28 +00:00
marco
e3796bafa3 * fix from sebastian 2003-11-30 12:40:29 +00:00
marco
0610caa107 * termio unit 2003-11-19 17:11:39 +00:00
marco
359a077da1 * Small fixes for EAGAIN. bunxfunc only has comments added. 2003-11-18 10:12:25 +00:00
marco
5526f18914 * fixed some linuxerror probs 2003-11-13 17:49:24 +00:00
marco
aebc04656f * fixes for signal handling. 2003-10-27 17:12:45 +00:00
marco
16c7ca4606 * moved sigprocmask to system 2003-10-26 17:01:04 +00:00
marco
fa766600ed * texception4 fix merge 2003-10-26 16:42:22 +00:00
olle
527a79b0dc * changed i386 to cpui386 2003-10-17 22:10:30 +00:00
peter
ab5352d3f1 * fpnanosleep exported in baseunix
* fpnanosleep has pointer arguments to be C compliant
2003-09-27 13:45:58 +00:00
peter
87f0147dff * fpISxxx renamed 2003-09-27 13:04:58 +00:00
marco
688866ff4f * FCL now compiles for FreeBSD with new 1.1. Now Linux. 2003-09-20 12:38:29 +00:00
marco
feee65f98f * ostype include moved to top 2003-09-17 16:02:31 +00:00
marco
fd77009ae5 * stat macro fixes voor BSD 2003-09-17 11:52:05 +00:00
marco
a99cf467f9 * pointer's of some basetypes 2003-09-16 21:20:40 +00:00
marco
5ce9550d57 * mmap typing fixes 2003-09-16 12:45:49 +00:00
marco
08eb5ac89f * small fixes. FreeBSD now cycles 2003-09-15 20:08:49 +00:00
marco
83b0b82e11 * fix 2003-09-15 07:23:51 +00:00
marco
7efaf7dee2 * Unix reform stage two. Remove all calls from Unix that exist in Baseunix. 2003-09-14 20:15:01 +00:00
olle
2931590e9b - removed parameter from fpc_iocheck 2003-08-21 22:21:00 +00:00
marco
bb651017e8 * Moved prototypes outside of baseunix. And shared with linux for now 2003-06-03 14:23:45 +00:00
marco
6c4e662ab1 * Several small fixes to harmonize the *BSD rtls and Linux. 2003-06-01 16:35:27 +00:00
marco
e3c50b2399 * Getting NetBSD/i386 to compile. 2003-05-30 19:58:40 +00:00
marco
56ddd7f08f * Some other workaround 2003-05-29 21:45:23 +00:00
marco
50917559bd * progname fix. 2003-05-29 20:54:09 +00:00
marco
dc3b985838 * only moved around the off_t calls, and made an exception (includefile)
for NetBSD/powerpc
2003-05-29 20:52:55 +00:00
marco
229355b286 * small fix 2003-05-29 13:42:58 +00:00
marco
04926a9844 * 7 parameter syscall added. *BSD has calls with more params due to __syscall etc 2003-05-29 13:14:07 +00:00
Jonas Maebe
0185f7684a - disabled nanosleep for darwin for now
+ getcwd for darwin
2003-05-26 21:29:16 +00:00
Jonas Maebe
f9d90e0a63 + added from linux 2003-05-25 14:07:26 +00:00
Jonas Maebe
34cdc0a37f * several fixes, addition of Mach trap numbers (thye are simply syscalls
with a negative number)
2003-05-25 13:51:58 +00:00
marco
2478552240 * fix octal that broke 1.0.x 2003-01-21 15:34:59 +00:00
marco
cc042060e0 * renamed after baseunix changes. 2003-01-05 19:18:16 +00:00
marco
cc8f33e2ad * Small sigprocmask fix 2003-01-05 19:10:05 +00:00
marco
832a1bcb96 * FreeBSD compiles now with baseunix mods. 2003-01-05 19:01:28 +00:00
marco
0575776395 * Renamed to bunxtype.inc (from osposixh.inc), some minor changes
(as introduced going from posix unit to baseunix)
2003-01-03 15:45:21 +00:00
marco
190b09a5dd * copied and checked from Linux. 2003-01-03 11:21:32 +00:00
marco
12e9c34aac * Fix setitimer. 2002-11-14 13:25:27 +00:00
marco
5c5fc48e2c * took out the generic sethandling. 2002-11-14 12:34:20 +00:00
marco
cd427582de * sigset functions more flexible, small changes to sys_time 2002-11-13 18:15:08 +00:00
marco
bcff2b841c * Ugly hack to temporarily be able to use system.pp for Linux too 2002-11-12 14:57:48 +00:00
marco
d3f02fb3a4 * fixes to macro 2002-11-12 14:19:46 +00:00
marco
21fb7bbb50 * Only "difficult" functions + execvp + termios + rewinddir left to do 2002-10-27 17:21:29 +00:00
marco
10f2ceeab8 * Modifications from Saturday. 2002-10-27 11:58:29 +00:00
marco
9b47bcfe9b * First series POSIX calls commits. Including getcwd. 2002-10-26 18:27:51 +00:00
Jonas Maebe
f8004fe1ed + initial version 2002-10-26 14:33:09 +00:00
marco
809550f7dc * Should be alias. 2002-10-25 15:46:48 +00:00
marco
38a63b01f0 * Fixes to get the generic *BSD RTL compiling again + fixes for thread
support. Still problems left in fexpand. (inoutres?) Therefore fixed
   sysposix not yet commited
2002-10-18 12:19:58 +00:00
marco
85c71c6ba6 * Lseek and ftruncate 64-bit fix 2002-10-16 18:44:18 +00:00
marco
65318837d2 * and again for ftruncate (sigh) 2002-10-16 18:44:00 +00:00
marco
abe28b90f3 * the 7 param syscall (for lseek and truncate) now returns a int64. 2002-10-16 18:41:13 +00:00
florian
495cb55113 + call to initvariantmanager inserted 2002-10-13 09:25:14 +00:00
marco
2c73b6c7a8 * Forgot external name's 2002-09-08 16:20:27 +00:00
marco
e9dee45162 * Added GetDomainName and that other one .. 2002-09-08 16:11:59 +00:00
marco
1a5968d82a * Renamed to bsdfunc, since more funcs will follow 2002-09-08 15:15:39 +00:00
peter
9f31783a0a * old logs removed and tabs fixed 2002-09-07 16:01:16 +00:00
marco
3bc109ae66 * Fixes from Tuesday. 2002-08-21 07:03:16 +00:00
marco
82f9961048 * More errno changes 2002-08-21 07:02:06 +00:00
marco
c1b0912c26 * Updates for new errno scheme. 2002-08-20 08:28:14 +00:00
marco
e2367dfb42 * First working POSIX *BSD system unit. 2002-08-19 12:29:11 +00:00
marco
b9f92442be * Initial versions, to allow support for uname in posix.pp 2002-08-08 11:39:30 +00:00
marco
a575fe278a * Initial version. Needs check for OpenBSD. 2002-08-04 05:31:15 +00:00
marco
6088d82362 * More POSIX updates. Small changes to lseek and ftruncate in osposix.inc
Initial versions of the type includefiles
2002-08-04 04:29:34 +00:00
marco
3ff91078da * Initial *BSD versions. Seems that OpenBSD doesn't need much change,
NetBSD may need some fixes to stat record and ftruncate and lseek.
    It is all close together, and it should be doable to have just one copy
    of these for *BSD.
2002-08-03 19:34:19 +00:00
marco
2248b9a247 * Old BSD directory killed 2000-09-18 13:43:48 +00:00
marco
057ac2adec * 14 april version killed, and replaced by newer fixes branch version 2000-09-11 14:38:09 +00:00
marco
971afad12f * Killed old (14apr) BSD port, to be updated by new without merging 2000-09-11 14:32:28 +00:00
peter
d711221036 * regenerated 2000-09-01 21:58:14 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
peter
8b38902424 * exampleinstall target added 2000-07-01 23:03:18 +00:00
peter
8e4522215a * smart,shared lib including for rpm/deb 2000-05-26 20:50:09 +00:00
marco
a5c620454c * added cprt0 to makefile 2000-04-17 10:21:04 +00:00
marco
ab9deeaa7c * Also not necessary anymore. 2000-04-17 09:43:07 +00:00
marco
8b03286a29 * were only for backup, not necessary for operation. 2000-04-17 09:26:55 +00:00
marco
3f46012444 * Added. FreeBSD port is now more or less capable of compiling normal stuff easily 2000-04-17 08:22:46 +00:00
marco
ceee365722 * Stripped down Linux 2000-04-16 16:14:08 +00:00
marco
4dde5e62c6 * Severe updates for now *working* status 2000-04-16 16:11:33 +00:00
marco
2df10f885d * Stripped down linux makefile in principle 2000-04-16 16:11:13 +00:00
marco
1a12aa86f0 * Has been merged with linux/ version 2000-04-16 16:10:47 +00:00
marco
352c48bb40 * Is now merged 2000-04-16 16:10:35 +00:00
marco
174295e8bc * Fixes (mainly opendir/Readdir/closedir) 2000-04-16 16:08:53 +00:00
marco
59e9da20d8 * Updated PDir to BSD libc layout. (which is totally different from Linux) 2000-04-16 16:08:30 +00:00
marco
5dee9ce5c7 * Working! 2000-04-14 17:04:13 +00:00
marco
28ef8ce303 * worked all day. probably a lot changed 2000-04-10 15:46:51 +00:00
marco
317c0b2c68 * moved to the other textfile in this dir 2000-04-07 21:20:27 +00:00
marco
d3d5cb5c1f * updates. 2000-04-07 20:51:16 +00:00
marco
65668aec0a * added constants for syscall.inc 2000-04-05 13:59:10 +00:00
marco
e0832afca6 * syscall variablenames reintroduced. 2000-04-05 13:58:40 +00:00
marco
100dcf470c * rest of syscalls has constants now 2000-04-05 13:46:22 +00:00
marco
2d0e7cadad * replaced about half of the syscall nr's by symbols from sysnr.inc 2000-04-05 13:07:03 +00:00
marco
5a466d68ff * Initial version. (copied from linux.) Patch for BSD not ready yeT 2000-04-05 13:06:24 +00:00
marco
92eee6e7f2 * some changes to ftruncate based procs. Added a "0" as extra parameter 2000-03-17 12:58:57 +00:00
marco
62d2002d1f * First version that did something (others not committed) 2000-03-16 16:34:02 +00:00
marco
0192ac7d51 * changes to get ppc386 -h working 2000-03-16 16:21:10 +00:00
marco
968c1563a5 * fixes that made ppc386 -h working 2000-03-16 16:19:28 +00:00
marco
d6c9ca025c * Last changes before next test. ppc386 -h works with these srcs. 2000-03-16 16:18:12 +00:00
marco
002f25445d * added a syscall for 5 longints 2000-03-02 15:34:07 +00:00
marco
21bc632648 * fixed some types and errors that needed longint(@ typecasting. 2000-03-02 15:33:20 +00:00
marco
68eeea1a01 * Initial version. Compiles (syscall.inc inclusion prob has to be solved 2000-03-01 20:23:07 +00:00
marco
4133129ea6 * some small fixes. 2000-03-01 20:04:38 +00:00
marco
278a828480 * small fixes for syslinux 2000-03-01 20:03:57 +00:00
marco
7a3c2d2dc7 * some changes due to updating linux.pp to new syscall 2000-03-01 17:28:40 +00:00
marco
a9a1a9db92 * Fixed first half of linux unit to portable syscall struct. 2000-03-01 17:27:46 +00:00
marco
a8e778f685 * Redone the syscalls 2000-02-27 23:45:39 +00:00
marco
b24d42f9be kill,kill 2000-02-04 17:24:04 +00:00
marco
48a5d8cf9d * not added with bin switch 2000-02-04 16:57:34 +00:00
marco
1bea181880 * Fixed tdir, some params need to be 32-bit 2000-02-04 16:55:47 +00:00
marco
ddbb0dc0b0 * added comments 2000-02-04 16:55:01 +00:00
marco
d2efb9cfae * Finished Linux (and rest syscalls) roughly. Some things still need to be
tested, and checked (off_t calls specially)
2000-02-04 16:53:26 +00:00
marco
7109bed98d * copied from BSD 2000-02-04 16:51:47 +00:00
marco
e59b21aff1 * copied from BSD 2000-02-04 16:51:02 +00:00
marco
aa8b9730a1 * a few functions added. 2000-02-04 12:05:04 +00:00
marco
84ad19e224 * initial version 2000-02-04 12:04:03 +00:00
marco
f6a2e04b59 * Some types fixed/ported. 2000-02-03 17:05:55 +00:00
marco
aeafb7ba80 * fixes and updates due to linux unit porting 2000-02-03 17:05:13 +00:00
marco
c8a1564605 * additions fixes due to port linux 2000-02-03 17:04:47 +00:00
marco
f78cf7b628 * initial version. Ported till line +/- 2000 2000-02-03 17:03:36 +00:00
marco
db4815503d * Ported except for readdir which is 200 lines C code in FBSD linux
emulator
2000-02-02 18:07:27 +00:00
marco
89fa5503fc * Typo in STAT record 2000-02-02 16:45:38 +00:00
marco
e0dcb956c2 * Initial version. Copy of linux version, with BSD stat. 2000-02-02 16:36:09 +00:00
marco
5557f89de8 * Checked stat constants 2000-02-02 16:35:29 +00:00
marco
9632dcc8dc * Ported more functions. Half done now. 2000-02-02 16:35:10 +00:00
marco
77dd315869 * Initial BSD version. Still needs a lot of work. 2000-02-02 15:41:56 +00:00
marco
7aab610a15 * initial BSD version. 2000-02-02 15:41:28 +00:00