Commit Graph

1129 Commits

Author SHA1 Message Date
peter
7fb8c3dfbd * signal cleanup for linux
* sigactionhandler instead of tsigaction for bsds
  * sigcontext moved to cpu dir
2005-01-30 18:01:15 +00:00
peter
b28fd2f6b9 * move gpm.pp to linux 2005-01-30 18:00:28 +00:00
florian
c446d32790 * sparc got correct errnos 2005-01-27 21:27:02 +00:00
peter
ef3b19b316 * regenerated 2005-01-11 17:07:45 +00:00
peter
994ab51002 * regenerated to use cpu-os 2005-01-10 21:29:23 +00:00
marco
dcb17bde4c * ctypes update 2005-01-10 10:33:10 +00:00
florian
b55c225f9b * fixed error handling of system calls 2005-01-04 14:13:58 +00:00
florian
080ed4548f * fixed raw mode for non i386 targets
* fixed some alignment issues
2004-12-28 15:30:04 +00:00
florian
bb795481e8 * fixed CFMakeRaw 2004-12-28 12:45:54 +00:00
marco
7377bbf1c9 * 2nd synchronize attempt. cthreads<->systhrds difference was not ok, but
only showed on make install should be fixed now.
2004-12-23 15:08:58 +00:00
marco
8019924d4f * first tthread.synchronize support (merged neli's patches) 2004-12-23 09:42:42 +00:00
peter
f52d2b2edf * regenerated 2004-12-20 18:37:51 +00:00
peter
3c3ec40b70 * regenerated 2004-12-19 17:42:32 +00:00
peter
64cd72bc5a * x86_64 updates 2004-12-12 14:30:27 +00:00
Tomas Hajny
c016de5709 * Makefiles regenerated 2004-12-05 19:26:19 +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
7869e4893c * tz_ added to ttimezoen fields 2004-12-02 11:23:06 +00:00
armin
f4ffaa9828 * applied peters patch for cross compile (bin installation) 2004-11-26 13:03:07 +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
florian
aa9e238fb2 * more errno setting in sparc/linux mt programs fixed 2004-11-07 00:30:17 +00:00
florian
71c7fc8a7a * fixed errno setting in mt sparc/linux mt programs 2004-11-06 22:48:16 +00:00
florian
bfe0a81d81 * initial implementation 2004-11-05 21:36:36 +00:00
florian
1517f25fbc * fixed label names 2004-11-05 13:15:07 +00:00
florian
ad5224b020 * wrong commit 2004-11-05 13:01:53 +00:00
florian
d0e172cbee * initial implementation 2004-11-05 13:01:34 +00:00
florian
7662aa905d * beautified 2004-11-05 12:48:15 +00:00
florian
c8fcac29f0 * inital implementation 2004-11-05 12:47:45 +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
c95fe8e25b * remove comment level 2 warning 2004-11-03 12:24:56 +00:00
peter
7b9f823f92 * fix isatty, ioctl returns 0 on success, but isatty needs to return 1 2004-11-03 10:03:39 +00:00
florian
52a01abafa * x86_64 requires always 16 byte alignment of the stack 2004-11-02 21:49:46 +00:00
florian
564c758c33 * initial implementation 2004-11-02 20:41:57 +00:00
florian
07c28067aa * fixed sse exception handling 2004-11-02 15:26:21 +00:00
florian
efc6c7793e * fixed baseunix.signal for CPU using rt_sigaction
* fixed it for x86_64 too
2004-11-02 14:49:48 +00:00
florian
4a4c940fc4 + added ioctl constants for arm 2004-10-31 16:05:23 +00:00
marco
ddcc136686 * dos now depends on sysutils 2004-10-31 09:45:35 +00:00
peter
86f78c7300 * units are now created in separate directory units/cpu-os/
* distclean uses cleanall rule and removes units dir
  * cross compile support fixed, it is now possible to cycle a ppcsparc
    without deleting ppc386
  * bintutilsperfix defaults to cpu-os-
2004-10-30 12:36:43 +00:00
peter
869b0ecc85 * compiler defined HEAP and HEAPSIZE removed 2004-10-25 15:38:59 +00:00
peter
efca8005c9 * fpselect for amd64,arm 2004-10-24 13:55:52 +00:00
florian
17f0044937 + implemented fpselect for sparc 2004-10-13 20:47:12 +00:00
florian
edf9b33ed8 + added x84_64 ioctls 2004-10-04 21:06:45 +00:00
florian
d2bf4b0d92 * fixedPreviousFramePointer on sparc 2004-10-03 17:43:47 +00:00
florian
df90903031 * fixed symbol names 2004-09-25 18:43:45 +00:00
florian
8540efa2f9 * first implementation 2004-09-25 12:25:32 +00:00
peter
9b8a8133d7 * sparc has different values for O_ flags 2004-09-12 15:20:23 +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
armin
458e3c3780 * makefiles regenerated
* ide: added target netwlibc
2004-09-04 23:33:38 +00:00
marco
4fb68a7f0e * fixed argc<->argv 2004-09-02 18:57:37 +00:00
michael
37aa6ec572 + Fixed typinfo dependency on sysutils 2004-08-31 10:33:39 +00:00
marco
05140bbb4e * $(SYSTEMUNIT) FIX 2004-08-27 18:58:43 +00:00
olle
8f25b1ad3a * redid prev commit, but with up to date fpcmake 2004-08-25 17:10:03 +00:00
olle
280ff73ccf * fix so that macpas.pp really is compiled 2004-08-25 16:57:22 +00:00
florian
241587174e * fixed fork for sparc 2004-08-22 12:34:11 +00:00
marco
1e235ea9c9 * regened with newer fpcmake 2004-08-20 11:46:22 +00:00
marco
17d06678a0 * fixed gpm dependancies line. Don't add dependancies to dir/<file>$(PPUEXT) 2004-08-20 09:00:42 +00:00
florian
5064ecaf57 * sparc uses wait4 as well 2004-08-18 21:03:35 +00:00
Károly Balogh
b7ae54715c * quick fix to make it compile 2004-08-18 14:26:50 +00:00
olle
3a29988676 + Added unit macpas 2004-08-16 16:22:11 +00:00
florian
02310c99e2 * fixed runerror for invalid operation 2004-08-08 09:36:09 +00:00
florian
49c3f3927e * fixed floating point and integer exception handling on sparc/linux 2004-08-04 19:27:09 +00:00
florian
a0d41f6fbb * fixed usage of old fpcmake 2004-08-01 08:24:43 +00:00
peter
52fa49866d * fixed execpathstr setting 2004-07-09 22:31:22 +00:00
peter
cf15e8407e * isatty return cint again 2004-07-09 19:03:35 +00:00
daniel
eb2dd5c4f8 * Tweaking... 2004-07-08 21:22:15 +00:00
daniel
178f87f437 * Use /proc/self/exe instead of /proc/[getpid]/exe 2004-07-08 19:45:42 +00:00
daniel
ad25d38759 * Remade makefile 2004-07-08 13:25:35 +00:00
daniel
74f637cb11 * gpm now uses a Pascal translation of libgpm instead of linking against
it.
  * isatty result type changed into boolean
2004-07-08 13:23:21 +00:00
daniel
6c4cade37d * Matrix unit included in build process 2004-07-07 21:37:29 +00:00
florian
2337996715 * remade makefile (too old fpcmake)
* fixed sparc startup code
2004-07-05 21:07:37 +00:00
daniel
fde4a792fa * Updated comments 2004-07-03 23:04:34 +00:00
daniel
a1229ff8fe * Modified bootstrap code so separate prt0.as/prt0_10.as files are no
longer necessary
2004-07-03 21:50:30 +00:00
peter
695b29bab3 * fixed errno setting 2004-07-02 19:29:19 +00:00
florian
df63fb46e3 * first syscall fix 2004-06-30 21:15:51 +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
peter
3094258825 * removed warnings 2004-05-31 20:25:04 +00:00
peter
962ef697d5 * remove comment warnings 2004-05-31 14:31:57 +00:00
peter
56c04b20d3 * sigaction fixed for sparc 2004-05-31 09:22:42 +00:00
peter
f1cf388796 * added siginfo const 2004-05-31 09:08:14 +00:00
marco
a9b2ee072f * and now for others too 2004-05-28 21:43:25 +00:00
marco
9adbeab70d * added mov errno,%eax 2004-05-28 21:41:49 +00:00
peter
959a0537d4 * fix errno for multithread 2004-05-28 21:37:34 +00:00
peter
80d44f0691 * sparc signals added between $ifdef cpusparc 2004-05-27 23:15:43 +00:00
peter
f218923511 * remove warnign 2004-05-27 23:15:14 +00:00
peter
79d45deec7 * startup argc,argv,envp fix
* stat fixed
2004-05-27 23:15:02 +00:00
florian
935201e75c * _haltproc fixed 2004-05-26 20:48:17 +00:00
marco
0408fd564a * syncobj stuff 2004-05-23 18:49:18 +00:00
peter
423fde7ac6 * regenerated 2004-05-23 18:25:48 +00:00
peter
31c622e01d * fix offset of errno 2004-05-18 20:13:12 +00:00
peter
6b5f84117b * use ldsh to load exitcode 2004-05-17 20:56:56 +00:00
peter
94adf83a8b * use thandle in do_* 2004-05-16 18:51:20 +00:00
marco
cc5c75b714 * comment removed and four dud instrcutions 2004-05-16 11:04:27 +00:00
peter
6f170af931 * added aliases 2004-05-09 15:42:50 +00:00
peter
98bf46482b * statfs fixed 2004-05-02 01:00:07 +00:00
peter
6d19671a84 * ptrint fixes 2004-05-01 20:52:29 +00:00
florian
ee4b23ccac * x86_64 exception handling fixed 2004-05-01 15:59:17 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
florian
d531e303f9 * tried to fix x86-64 signal handling 2004-04-27 20:47:00 +00:00
peter
02d7fd9c1d * use cpu64 2004-04-26 16:53:19 +00:00
marco
1340afc320 * IPC reform 2004-04-25 19:15:43 +00:00
florian
03f034fedf * mmap for x86-64 fixed 2004-04-25 07:18:49 +00:00
florian
d18f952c09 * prt0.as exit code handling fixed
* int64 mod int64 for negative numbers fixed
2004-04-24 17:14:09 +00:00
marco
cfe5a5baea * flock -> fpflock because of conflicting structure name 2004-04-23 19:16:24 +00:00
peter
2a862ae827 * do_write/do_read fix 2004-04-22 21:16:35 +00:00
peter
9a7a1e2489 * x86-64 fixes 2004-04-22 17:17:13 +00:00
olle
73f73fb6f1 * updated according to the new version of fpcmake.ini 2004-04-20 23:29:59 +00:00
florian
89f4784e8d * fixed halt code 2004-04-20 20:30:11 +00:00
florian
a1a52710d3 * x86_64 syscall numbers fixed 2004-04-20 20:27:01 +00:00
florian
c645ff1af9 + haltproc added 2004-04-12 19:05:55 +00:00
peter
939044763b * readdir now uses getdents, patch from Joost van der Sluis 2004-04-12 16:33:42 +00:00
florian
73412562b7 * signal handling fixed 2004-03-27 19:20:11 +00:00
florian
7298501722 * structs for arm adapted 2004-03-27 14:35:13 +00:00
florian
4fdc20f014 * use rt_sigaction syscall on arm 2004-03-27 14:34:23 +00:00
florian
f838c3b5b7 * tell sigaction to pass siginfo on arm 2004-03-27 14:33:45 +00:00
marco
988c22bb2d * more fixes from Lloyd 2004-03-22 06:49:28 +00:00
marco
0962856816 * *BSD do_syscall was left behind. Replaced with socketcall 2004-03-20 15:19:29 +00:00
marco
a45e1cd3f1 * first changes sockets units 2004-03-16 18:03:37 +00:00
mazen
703f4f29d0 + _haltproc definition for linux/sparc 2004-03-16 10:19:11 +00:00
peter
abfc396c40 * cmem moved to rtl
* longint replaced with ptrint in heapmanagers
2004-03-15 21:48:26 +00:00
florian
2e80f0de5f * arm startup code fixed
* made some generic math code more readable
2004-03-11 22:39:53 +00:00
Jonas Maebe
7afabeb8a9 * fixed syscall return value checking 2004-03-10 21:41:53 +00:00
peter
c0d3ba3a67 * only i386 needs cprt21 to link with glibc 2.1+ 2004-03-10 20:38:59 +00:00
peter
759c514cf1 * call _haltproc instead of exit(). This is required for libc linking 2004-03-10 20:35:33 +00:00
marco
1cc7b06df4 * header for sockets unit 2004-03-09 19:40:52 +00:00
marco
93622ec2e8 * UnixType changes. Please report problems to me. 2004-03-04 22:15:16 +00:00
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +00:00
peter
88e72a69da * fixed previous commit 2004-03-03 22:10:48 +00:00
peter
30780f5859 * regcall fix for threadvar 2004-03-03 22:03:10 +00:00
peter
5acf1eff47 * remove cdecl 2004-03-03 22:00:37 +00:00
Tomas Hajny
fa6166944f Makefiles regenerated 2004-02-22 16:07:41 +00:00
marco
4c96b2777e * genfdset word count added. Small fix for libc maxsigsetsize 2004-02-22 15:00:27 +00:00
marco
3783a51b79 * powerpc select fix 2004-02-21 23:18:50 +00:00
marco
401641ae28 * hmprf, Linux has different ioctls kernel<->libc 2004-02-21 16:27:29 +00:00
marco
dd67ed73b3 * ppc ioctl nr fixed 2004-02-21 16:24:47 +00:00
florian
fa31d1d0df * fixed termios constants 2004-02-21 16:22:00 +00:00
marco
c6860f131d * ppc ioctl nr fixed 2004-02-21 15:14:55 +00:00
peter
45aef562dd * c stub implemented 2004-02-20 23:48:27 +00:00
florian
515ee5aef6 * linking problems fixed
+ abi tag added
2004-02-08 15:33:50 +00:00
florian
3f4d98624f - killed tsyscallregs 2004-02-06 23:06:16 +00:00
daniel
4d42fe7fa7 * Revert back to longint (it broke make cycle) 2004-02-06 21:17:41 +00:00
florian
25960b979c * fixed x86-64 assembler problems 2004-02-06 15:58:21 +00:00
florian
c9122a4719 + completed x86-64/linux system unit 2004-02-05 01:16:12 +00:00
peter
6a121ddc75 * fixed syntax errors 2004-02-02 21:02:38 +00:00
florian
f621c564a2 * use wait4 instead of waitpid on arm 2004-01-31 16:25:48 +00:00
florian
1bea0eb838 - deleted unsupported syscall waitpid 2004-01-31 16:25:14 +00:00
florian
c24f142b47 * removed packed directive from Dir type because it's not properly aligned
and it's never passed to the OS
2004-01-31 16:17:38 +00:00
florian
33d9cedfd9 * arm requires oldmmap call as well 2004-01-23 00:00:06 +00:00
florian
f65558b4c4 * fixed syscall number 2004-01-22 20:12:37 +00:00
peter
98105d8055 * classes uses types to import TPoint and TRect 2004-01-22 17:11:23 +00:00
florian
0e176a1dd3 * corrected syscall numbers 2004-01-21 01:25:19 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
florian
1883a09ddd * fixed setjump
* fixed syscalls
2004-01-20 21:01:57 +00:00
florian
c244b8b527 * fixed sigill problem when running in gdb 2004-01-20 18:32:46 +00:00
peter
8cf497ffe5 * regenerated 2004-01-12 17:02:40 +00:00
Jonas Maebe
20fb31f827 * moved tstatfs from systypes.inc to ptypes.inc to fix make cycle with
-dFPC_USE_LIBC (systypes.inc is now completely commented out)
2004-01-11 09:56:20 +00:00
michael
32702205a0 + Some more fixes to rtlconst. Const strings moved from classes to rtlconst 2004-01-10 20:13:19 +00:00
michael
1567dc0814 + Moved all resource strings to rtlconst/sysconst 2004-01-10 19:35:17 +00:00
peter
680590f792 * use relocate_proc 2004-01-06 21:32:53 +00:00
marco
55850b063a * regenerating the makefiles with some netbsd fixes + version upgrades 2004-01-05 23:34:21 +00:00
peter
6b5ec2b373 * removed asmmode direct 2004-01-05 17:22:03 +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
florian
bc1c6a2c10 * clean up 2004-01-04 17:28:03 +00:00
florian
654fc0e272 + haeder added 2004-01-04 17:23:57 +00:00
florian
ae6e54fb38 * arg* and envp handling fixed 2004-01-04 17:12:28 +00:00
marco
532a14b5e3 * fix from Marc W. 2004-01-02 22:46:29 +00:00
Jonas Maebe
fd1ae67764 * re-enable fpu exceptions in signal handler, they're turned off by the
kernel
2004-01-02 17:57:16 +00:00
Jonas Maebe
0ab36d6e91 * fixed signal handling 2004-01-01 16:28:16 +00:00
marco
19c44b76f2 * fpreadlink(pathstr) moved to unxovl (since not platform specific),
small fixes for "make all OPT='-dFPC_USE_LIBC'
2004-01-01 16:10:23 +00:00
marco
68508ef8d4 * libc stat record under ifdef added 2004-01-01 14:20:20 +00:00
marco
4fc157970d * use_getcwd updates because FPC_USE_LIBC uses that 2004-01-01 14:19:55 +00:00
marco
a7d446d496 * getcwd missed cdecl 2004-01-01 14:16:55 +00:00
marco
5bc097ac0b * small fixes for exporting statfs(pchar,..) 2003-12-31 20:23:31 +00:00
marco
b447c92828 * small additions for getcwd what we need for FPC_USE_LIBC 2003-12-31 20:20:57 +00:00
marco
62e256d07e * sigset size adaption for FPC_USE_LIBC 2003-12-31 20:17:06 +00:00
marco
b0fef8b805 * workaround for buggy 1.0 building 2003-12-31 20:01:00 +00:00
marco
73abd3bd2a * moved to unix/ 2003-12-30 17:50:00 +00:00
marco
0afb6fd8ca * some more fixes. Testing on idefix 2003-12-30 16:26:10 +00:00
marco
42d5e0e005 * linux now compiles with FPC_USE_LIBC 2003-12-30 15:43:20 +00:00
marco
371f66818a * ptime_t 2003-12-30 12:46:40 +00:00
marco
d657b168c7 * FPC_USE_LIBC 2003-12-30 12:36:56 +00:00
florian
021652683a + introduced PtrInt and PtrUInt
* made strscan 64 bit safe
2003-12-29 19:24:12 +00:00
Jonas Maebe
4eb1eb94d1 * fixed result of failed syscalls (no extra neg is needed)
+ support multi-threaded programs
2003-12-28 20:55:10 +00:00
florian
0f5fa6973b * initial code 2003-12-28 20:08:53 +00:00
peter
c6e1a6a6d1 * don't exit in getdir when fpstat gives a failure 2003-12-21 20:30:49 +00:00
daniel
fd86e14b01 * Use of 0 instead of nil fixed 2003-12-16 09:43:04 +00:00
peter
1662a037a4 * only check errno if the syscall failed 2003-12-14 14:28:36 +00:00
florian
5028fa6d0f * replaced VER1_0 by HASGLOBALPROPERTY 2003-12-11 18:20:50 +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
florian
18f527a614 + classes compiles on ppc now as well 2003-12-07 21:30:46 +00:00
florian
e418971c77 + started to implement arm syscalls 2003-12-03 17:34:12 +00:00
sg
c400fbe5b2 * Fixed ln2bitmask 2003-12-02 00:04:34 +00:00
Jonas Maebe
8ad6133ea3 * more ppc fixes, hello world works again under linuxppc 2003-11-29 22:54:32 +00:00
marco
324902435d * on fpk's request 2003-11-29 18:53:19 +00:00
Jonas Maebe
bc010e026f * fixed syscacll for new assembler reader 2003-11-29 18:18:11 +00:00
michael
5a059b6785 + Some fixes and runerrors removed 2003-11-27 20:39:24 +00:00
michael
6d09f23614 + Fixed dependencies so cycle works again 2003-11-26 20:50:32 +00:00
michael
de16dcff56 + Some fixes to have everything compile again 2003-11-26 20:34:19 +00:00
michael
4b2084fb50 + New threadmanager implementation 2003-11-26 20:10:59 +00:00
florian
058d480f40 * error handling for Variants improved 2003-11-26 20:00:19 +00:00
marco
872cfdd737 * Johill: suspend fix 2003-11-22 11:04:08 +00:00
florian
b9376da0aa * some arm issues fixed 2003-11-21 00:40:06 +00:00
marco
4fff5fd44d * dateutils added 2003-11-20 22:09:21 +00:00
marco
9fedf8a9b9 * termio moved to better spot 2003-11-20 09:09:05 +00:00
marco
fd6e4a70b9 * forgot to commit with rest. now added. 2003-11-20 09:06:49 +00:00
marco
c97a5d06eb * Linux part of termio unit 2003-11-19 17:35:36 +00:00
peter
97d677c8c8 * tthread disabled for 1.0.x 2003-11-19 15:51:54 +00:00
marco
a427276302 * fix for sleep from johill 2003-11-19 14:04:34 +00:00
marco
7b12dc7b86 * changes due to the previous *BSD changes. Mainly moving constants from
unix to systypes.inc (which acts as unxtypes.inc)
2003-11-19 11:46:55 +00:00
marco
5fbffcb2a7 * some constants moved from System 2003-11-19 10:56:15 +00:00
marco
c52aa63243 * several 1.0.x files removed 2003-11-18 12:12:31 +00:00
marco
7bfead6dab * Clone moved to linux, + few small unit unix changes 2003-11-17 11:28:08 +00:00
marco
3d4733e1e9 * small fixes for changing unit unix again 2003-11-17 10:21:47 +00:00
marco
0c999e0c9b * threads for FreeBSD. Not working tho 2003-11-17 10:05:51 +00:00
marco
20bd2d0e06 * pthreads based ttread from Johannes Berg 2003-11-17 08:27:49 +00:00
florian
4ff69f3905 * fixed rtl to work with the integrated fpc ppc assembler reader 2003-11-15 19:01:27 +00:00
marco
eb06d77f4b * small fixes 2003-11-13 17:40:12 +00:00
marco
0d494d8a5f * Linuxerror removed 2003-11-13 13:36:23 +00:00
marco
fbf1a7206b * Linuxerror remove + hdr+log added 2003-11-13 13:11:55 +00:00
marco
8f76f86ce5 * new oldlinux unit. 1_0 defines killed in some former FCL parts. 2003-11-10 16:54:28 +00:00
marco
313067faaf * small fix 2003-11-09 13:48:55 +00:00
peter
43cac0027c * compile fix 2003-11-06 16:28:52 +00:00
peter
07bfe21e9b * sparc 2003-11-06 16:22:01 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
Jonas Maebe
26daf920f2 + sighand and associated record definitions for ppc. Untested. 2003-11-02 14:53:06 +00:00
marco
024df7a7c6 * more small fixes. 2003-11-01 01:58:11 +00:00
marco
417d359871 * initial version from 1.0.x branch 2003-11-01 01:27:20 +00:00
marco
602aa93399 * i386 specific fixes that hopefully fix texception4.
Only the "generic" signal handler was ported to the unix rtl.
2003-10-31 20:36:01 +00:00
mazen
84e8f0e96b + assembler mode forced to ATT style for x86 cpu 2003-10-31 09:20:11 +00:00
mazen
e828773c4e + assembler mode forced to ATT style for x86 cpu 2003-10-31 08:55:11 +00:00
marco
7720de29d3 * makefile gotcha resulting from moving syscalls.inc fixed 2003-10-31 07:53:01 +00:00
marco
17caa136da * more makefiles 2003-10-30 16:48:15 +00:00
marco
c22bd6f016 * i386 specific due to clone and old syscall conv 2003-10-30 16:43:38 +00:00
marco
221f926099 * Killing off old syscall convention anywhere except for oldlinux 2003-10-30 16:42:25 +00:00
marco
1953a4a4f2 * moved to i386/ 2003-10-30 16:17:13 +00:00
marco
13257d861c * moved legacy syscall to i386/ 2003-10-30 16:16:49 +00:00
peter
4f9a8a9c45 * use oldfpccall because all registers are destroyed 2003-10-29 19:45:44 +00:00
peter
2d6deeaade * regenerated 2003-10-28 16:44:35 +00:00
peter
168ccf83c3 * regenerated 2003-10-27 15:58:54 +00:00
olle
527a79b0dc * changed i386 to cpui386 2003-10-17 22:10:30 +00:00
olle
fe692f24aa * Changed m68k to cpum68k, i386 to cpui386 2003-10-17 20:52:12 +00:00
florian
cfe8a014e0 * classes unit moved temporarily to i386 dependend section 2003-10-17 07:51:15 +00:00
peter
9fc4e555dd * regenerated 2003-10-09 14:35:20 +00:00
peter
3d27318cb2 * moved classes unit to rtl 2003-10-06 21:01:06 +00:00
marco
feaed02001 * cross compiling fixes to makefile and fpcmake 2003-10-04 13:48:11 +00:00
marco
73876b7490 * CROSSCOMPILING stage 2 2003-10-03 21:40:35 +00:00
marco
eaceacb7e2 * remake with new fpc param 2003-10-02 08:50:13 +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
aab4295686 * mmap returns -1 on error 2003-09-27 12:58:23 +00:00
peter
456025ad0a * fpISxxx macros renamed to C compliant fpS_ISxxx 2003-09-27 12:51:33 +00:00
peter
73b2b9d24a * fpReadlink(pathstr) overload added 2003-09-27 12:51:06 +00:00
peter
3d8d9c96f8 * sbrk returns pointer 2003-09-27 11:52:35 +00:00
marco
7508a733c1 * More fixes 2003-09-20 18:10:28 +00:00
marco
9280ff18a0 * new units fixed 2003-09-20 16:07:54 +00:00
marco
d7235fa3ed * small fixes. fcl now compiles 2003-09-20 15:10:30 +00:00
marco
60a7f85960 * Small fix. Cycle works 2003-09-20 12:45:34 +00:00
marco
35cd7e61c9 * fixes for new macro's 2003-09-17 11:24:46 +00:00
marco
cd46432deb * small fixes, checking things on linux 2003-09-16 21:46:27 +00:00
marco
a99cf467f9 * pointer's of some basetypes 2003-09-16 21:20:40 +00:00
marco
9b33a79bea * second round of linux fixes. oldlinux now works 2003-09-15 21:07:32 +00:00
marco
25beeda7b5 * small fix 2003-09-15 20:29:50 +00:00
marco
1ecb35ae20 * unix reform 2003-09-14 20:23:34 +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
peter
abbc3fa755 * moved int64 asm code to int64p.inc
* save ebx,esi
2003-09-14 11:34:13 +00:00
florian
8d771df2d4 * arm fixes to the common rtl code
* some generic math code fixed
  * ...
2003-09-03 14:09:37 +00:00
florian
42640d2b3f * syscall skeleton 2003-08-28 00:08:29 +00:00
florian
f04bddec4a * initial revision of arm startup code 2003-08-27 13:07:07 +00:00
florian
5b7c3b2261 * initial revision, derived from linux kernel sources 2003-08-27 12:58:01 +00:00
olle
2931590e9b - removed parameter from fpc_iocheck 2003-08-21 22:21:00 +00:00
mazen
2b1c8b16a1 + added assembler mode directive to use direct assembler reader 2003-08-11 13:19:08 +00:00
peter
1b633246b9 * sparc fixes 2003-07-08 21:23:24 +00:00
peter
79bb865dfd * fdset changed to 1024 bits 2003-07-08 14:18:40 +00:00
peter
e18f285edf * fix setting return value 2003-07-06 22:08:05 +00:00
marco
cd02a8ecca * regen makefile 2003-07-06 21:43:21 +00:00
marco
31945d49db * Fix for Peter's moving sysnr.inc to processor dependant dirs 2003-07-06 21:40:57 +00:00
peter
030f85b536 * syscall6 alias fixed 2003-07-06 21:26:10 +00:00
peter
eea01b6b7f * Syscall number is architecture dependent 2003-07-06 21:12:30 +00:00
peter
e14ecb2c53 * wrong return reg 2003-07-06 20:40:10 +00:00
peter
9e1bc11060 * syscalls implemented 2003-07-03 21:03:57 +00:00
Jonas Maebe
52e51dddb1 * fixed old syscall handling for ppc 2003-06-17 16:39:58 +00:00
peter
617c1e3812 * compile fix for systhrds 2003-06-04 15:18:14 +00:00
mazen
a7f7e0dab5 * fixing naming conflict in public clause of
FPC_SYSCALL? definition
2003-06-02 22:05:03 +00:00
mazen
13d509cde4 *making init and fini symbols compatible FPC code by
changing  _init ==> fpc_initialize
 and _fini ==> fpc_finalize
2003-06-02 22:03:37 +00:00
marco
cc84ef0e7c * small rearrangements 2003-06-01 16:28:56 +00:00
florian
2348799448 * fixed compilation of sparc system unit 2003-05-23 22:36:39 +00:00
Jonas Maebe
b6088901a6 * fixed storing to errno for single threaded programs 2003-05-23 21:58:30 +00:00
florian
29a9f050ed + dummy implementation readded to satisfy makefile 2003-05-23 21:09:14 +00:00
marco
1d069d5eca * done. 2003-05-17 13:06:22 +00:00
marco
c4427e2b82 * errno from freebsd dir, not Unix dir. 2003-05-17 11:04:05 +00:00
Jonas Maebe
3d51adec9a * fixed stat struct (previous one was a frankenversion of ppc and
i386 version)
2003-05-16 21:22:11 +00:00
Jonas Maebe
54015aaf6e * the stat type is processor-dependent
* the dev_t tpye is processor dependent. Don't use it in the stat type
    however, as that one is also used at a time where dev_t is already
    defined as qword
2003-05-15 22:50:50 +00:00
florian
149d986f5f + added setup of argv, argc and envp 2003-05-12 22:36:45 +00:00
Jonas Maebe
8bd6d64c35 * fixed mmap for non-i386 non-m68k architectures (not sure about
x86-64)
2003-05-11 16:07:55 +00:00
florian
eab5d1f7c5 * started to make the rtl 64 bit save by introducing SizeInt and SizeUInt (similar to size_t of C) 2003-05-01 08:05:23 +00:00
florian
a79edeb568 + for a lot of x86-64 dependend files mostly dummies added 2003-04-30 22:11:06 +00:00
florian
9f1289df8c * there where two SYSCALL1 procedures for the powerpc, fixed 2003-04-22 17:07:55 +00:00
peter
29762b04a6 * regenerated 2003-04-01 16:09:56 +00:00
Tomas Hajny
7e44bb1506 * Makefiles regenerated with corrected fpcmake 2003-03-30 00:01:43 +00:00
michael
27062c2e01 + Patch from Mattias Gaertner for single typeinfo 2003-03-29 16:55:56 +00:00
Tomas Hajny
f2cd222a55 + platform extensions unified, emx target added 2003-03-24 00:01:12 +00:00
armin
e321c72b22 * CloseSocket added 2003-03-23 17:47:15 +00:00
peter
9addbba86a * regenerated 2003-01-14 21:15:21 +00:00
florian
aa81ac3921 * syscall stuff fixed 2003-01-09 13:38:26 +00:00
florian
76a01b9847 + dummy implementations 2003-01-06 19:39:17 +00:00
florian
1a6b8df27c + initial revision 2003-01-06 19:33:10 +00:00
mazen
215880afe8 * fixing several bugs compiling the RTL 2003-01-05 21:32:35 +00:00
marco
07f5401b2b * small fix 2003-01-05 19:16:45 +00:00
marco
34ef0a2d2e * Baseunix enabled by default 2003-01-02 23:34:07 +00:00
marco
b3ab181cca * Baseunix now compiled by default 2003-01-02 23:10:45 +00:00
marco
b1554ce372 * renamed to bunxmacr.inc 2003-01-02 22:39:39 +00:00
marco
8aaf0bdfcd * posmacro.inc was still include while it was already moved to bunxmacr.inc
fixed, will remove posmacro.inc shortly
2003-01-02 22:39:19 +00:00
marco
9b739dbbfc * renamed to ossysc.inc 2003-01-02 22:10:52 +00:00
marco
b316d02f8d * superceded by bunxfunc.inc 2003-01-02 19:47:32 +00:00
peter
a6180062a4 * Setup ExecPathStr for ParamStr(0) 2002-12-27 18:36:16 +00:00
mazen
311508131a - some writeln(s) removed in compiler
+ many files added to RTL
* some errors fixed in RTL
2002-12-24 21:30:20 +00:00
peter
55a5b81848 * only set errno when syscall fails 2002-12-24 19:45:59 +00:00
peter
e0625ccb5d * Fix do_erase which was wrong with inoutres setting 2002-12-24 19:45:40 +00:00
peter
4210e95952 * fixed Getdir to not set Inoutres
* broken symlinks are now ignored in getdir instead of aborting
    the search
2002-12-23 22:23:43 +00:00
peter
1da81c33ca * MT fix 2002-12-23 21:17:53 +00:00
peter
85d5e4a4de * Reset Errno to 0 if call is successfull
* Fix broken 1.0.x Errno which does not have threadvar
2002-12-23 20:56:32 +00:00
Jonas Maebe
41cd59e0e2 + added syscallh.inc, adapted syscall.inc 2002-12-22 16:00:28 +00:00
peter
07fc95ca5a * removed stackcheck, the generic stackcheck is used
* fixed return value for error conversion when no error was passed
2002-12-18 20:43:27 +00:00
peter
b67cdd321d * initial stacklen setup 2002-12-18 20:42:29 +00:00
peter
6154a3076e * Threadvar support for Errno
* Fixed syscall error return check
  * Uncommented Syscall with 6 parameters, only 5 were really set
2002-12-18 20:41:33 +00:00
peter
bd1f8661c0 * add FPC_SYSC_CLOSE public name 2002-12-18 17:51:40 +00:00
peter
2c7d336f2a * fixed ifdef ver1_0 2002-12-18 17:51:27 +00:00
marco
a83a191d07 * small fix, new rtl now cycles 2002-12-18 17:38:01 +00:00
marco
3d7a4df1f9 * removed 2002-12-18 17:36:31 +00:00
peter
0e5a3d8b13 * add OS_TARGET to include dir 2002-12-18 17:19:38 +00:00
marco
821c826043 * Some mods. 2002-12-18 16:46:37 +00:00
marco
5bbe43169c * more new RTL 2002-12-18 16:44:09 +00:00
marco
7dd70233f2 * new unix rtl, linux part..... 2002-12-18 16:43:26 +00:00
peter
3dad4cd3c4 * regenarated 2002-11-24 16:31:10 +00:00
mazen
ad35b52837 * not yet useful 2002-11-18 19:06:32 +00:00
mazen
98a1b248e6 * start code of gcc adapted for FPC 2002-11-18 19:03:46 +00:00
mazen
10c5331beb * inserted from gcc cvs 2002-11-17 21:30:35 +00:00
marco
c748db28c0 * TSysParam + result moved to -h 2002-11-16 15:37:47 +00:00
mazen
1817fc98e4 + SPARC support added based on PowerPc sources 2002-11-15 12:08:37 +00:00
marco
7d1f5b883c * Initial version 2002-11-14 16:48:39 +00:00
marco
21fa99a728 * Killed octal codes for 1.0.x compilability. 2002-11-12 15:31:33 +00:00
marco
2c4aff9914 * renamed to (1) syscallo.inc (temporarily for old rtl)
rtl/target/syscall.inc (for new rtl)
2002-11-12 14:52:57 +00:00
marco
70d3e266ef * signal. 2002-11-12 14:51:44 +00:00
marco
bf1a224db4 * 2.4.18 version. 2002-11-12 14:46:46 +00:00
marco
22845478ce * The syscall core of the new system unit. 2002-11-12 14:40:18 +00:00
marco
96a1929af2 * Parts of new unix rtl 2002-11-12 14:37:59 +00:00
marco
58d33b9619 * some updates 2002-11-12 14:28:40 +00:00
marco
29baf7d65e * New syscall.inc 2002-11-12 13:31:32 +00:00
marco
a35e570869 * rename syscall.inc -> syscallo.inc 2002-11-11 21:40:26 +00:00