Commit Graph

98 Commits

Author SHA1 Message Date
Michael VAN CANNEYT
4c2b54ee0d * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Michaël Van Canneyt
a3a827eba5 * Fix for i386 breakage after merge request !433 2023-06-21 11:55:31 +02:00
Jinyang He
f202dda5c5 Use prlimit64 in FpSetRLimit and FpSetRLimit 2023-06-21 07:27:36 +00:00
Jinyang He
bcf7701887 Support use statx syscall in fpstat and fpfstat 2023-06-21 07:27:36 +00:00
florian
d2b0bcdf1f + linux implementation of System.GetCPUCount
git-svn-id: trunk@48106 -
2021-01-07 22:44:49 +00:00
florian
1dd914ffc8 + initial xtensa-linux rtl
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
florian
17158c3587 * mmap2 expects that offset is divided by 4096
git-svn-id: trunk@44198 -
2020-02-16 20:14:28 +00:00
pierre
9bd19b050b Also use syscall_nr_fstatat for FpStat function for riscv32 cpu
git-svn-id: trunk@43528 -
2019-11-20 23:04:33 +00:00
pierre
e8ae490128 sparc32 bit needs SA_SIGINFO
git-svn-id: trunk@42748 -
2019-08-20 14:25:32 +00:00
florian
f0213a2c46 + make use of the mremap syscall of linux to re-allocate large memory blocks faster
git-svn-id: trunk@42713 -
2019-08-16 20:47:37 +00:00
svenbarth
90278f4859 + add fpmprotect function to complete fpmmap/fpmunmap
git-svn-id: trunk@42181 -
2019-06-06 20:46:01 +00:00
yury
d1b1655441 * x86_64-android requires sigreturn for proper signal handling.
git-svn-id: trunk@39960 -
2018-10-17 17:53:57 +00:00
Jeppe Johansen
2b4532d3fa asm-generic syscalls only selectively include nr_renameat. Instead nr_renameat2 seems to be the new default.
git-svn-id: branches/laksen/riscv_new@39795 -
2018-09-22 12:34:48 +00:00
Károly Balogh
a3a7285df4 linux: an attempt to clean up and fix syscall calling conventions for ftruncate64, pread64 and pwrite64 on platforms which use aligned register pairs to pass the 64bit parameters
git-svn-id: trunk@37719 -
2017-12-12 02:39:45 +00:00
Károly Balogh
961757934a linux: removed some old junk which was commented out over a decade ago
git-svn-id: trunk@37718 -
2017-12-12 02:24:40 +00:00
yury
af0fdea815 * Android: Include list of supported syscalls for each CPU.
Adjust Linux RTL to work with supported Android syscalls. 
  It should fix issues with Android 8.

git-svn-id: trunk@37480 -
2017-10-17 18:15:02 +00:00
florian
47bdbb2d1f * fix Fpfstat as Fpstat has been fixed in r36664, sparc64 needs explictly an stat64 call for 64 bit stat
git-svn-id: trunk@36674 -
2017-07-07 22:18:14 +00:00
florian
e2226598ab * force usage of stat64 on sparc64
* always use packrecords c for the stat records on sparc64

git-svn-id: trunk@36664 -
2017-07-07 12:22:49 +00:00
pierre
b6d2c7ee69 Fix fprt_sigreturn_stub for sparc64 cpu
git-svn-id: trunk@36654 -
2017-07-06 07:17:25 +00:00
pierre
ece9547ea7 * Sparc64 CPU also uses Fprt_sigreturn for extra rt_sigaction syscall
git-svn-id: trunk@36651 -
2017-07-05 20:59:39 +00:00
marco
5038b944f1 * fix for bug #30331
git-svn-id: trunk@34039 -
2016-06-30 18:45:33 +00:00
yury
e1a0b1204a * Removed unused vars in RTL.
git-svn-id: trunk@31750 -
2015-09-17 16:48:53 +00:00
Jonas Maebe
4fa2edc638 + Linux/AArch64 RTL support (patch by Edmund Grimley Evans)
o uses new generic Linux syscall numbers, used for recent architectures

git-svn-id: trunk@30895 -
2015-05-23 21:04:08 +00:00
florian
a433d53117 + linux syscalls for arm thumb
git-svn-id: trunk@23987 -
2013-03-24 21:39:34 +00:00
pierre
0cea493014 * Fix hidden parameter for fpsigprocmask for mips cpu (16 instead of 8)
git-svn-id: trunk@21723 -
2012-06-26 23:13:27 +00:00
pierre
ff81623d2c Fix fpsigaction call for cpumips
git-svn-id: trunk@21616 -
2012-06-14 23:37:25 +00:00
Jonas Maebe
e7320ee729 * retry close() in fpclosedir() when it returns EINTR
git-svn-id: trunk@21548 -
2012-06-08 11:14:52 +00:00
pierre
68367ea82e * Do not use lo(ofs) in fpmmap id TsysParam type is as large as off_t type and suppress warning
git-svn-id: trunk@21544 -
2012-06-08 09:53:36 +00:00
marco
60c1b263d6 * add public alias to getrlimit
git-svn-id: trunk@19878 -
2011-12-21 14:05:52 +00:00
Jonas Maebe
715c819ff7 - removed "packed" from record types that should/need not be packed
git-svn-id: trunk@19613 -
2011-11-08 23:13:16 +00:00
Jonas Maebe
d2a7a4c627 * fixed signal return trampolines for ARM EABI (mantis #15803)
git-svn-id: trunk@14922 -
2010-02-18 20:53:28 +00:00
marco
b8d5a8f44c * Linux specific time_t fixes. Also tested with -dFPC_USE_LIBC and more problem fixed.
git-svn-id: trunk@14586 -
2010-01-09 22:02:36 +00:00
marco
778505701c * set/getrlimit now also visible in baseunix when syscalls are used.
on systems that force ugetrlimit, use that transparently. (since 
    ugetrlimit is not posix in theory or practice, we can't export it),
    resolves 13916

git-svn-id: trunk@13903 -
2009-10-17 19:14:09 +00:00
michael
e8a375c774 * Patch from Henry Vermaak to fix EABI kernel API for arm.
git-svn-id: trunk@13563 -
2009-08-20 08:00:50 +00:00
florian
14a0ec4ea3 * made fptime based on usgettimeofday available
* moved defines selecting the right syscall from ossysc.inc to osdefs.inc

git-svn-id: trunk@11915 -
2008-10-18 13:50:55 +00:00
florian
7c6e0a48e9 * arm-linux-eabi uses mmap2 and ugetrlimit
git-svn-id: trunk@11908 -
2008-10-17 19:00:58 +00:00
florian
441bbdf677 * fixed breakage
git-svn-id: trunk@9162 -
2007-11-08 09:01:13 +00:00
florian
447e963e88 * armel and little/big endian support
git-svn-id: trunk@9152 -
2007-11-07 20:41:27 +00:00
Almindor
fdcc5f4332 * use TIOCtlRequest instead of hard ifdefs to remove warnings
git-svn-id: trunk@8679 -
2007-09-29 14:22:41 +00:00
Almindor
5474e0c987 * fix ioCtl differences between BSD and POSIX
git-svn-id: trunk@8676 -
2007-09-29 08:24:23 +00:00
daniel
5da5440e12 * Ptrint considered harmfull bug no 54689826, change to ptruint.
git-svn-id: trunk@6961 -
2007-03-23 15:38:28 +00:00
tom_at_work
704f8dae14 * fixed rtl compilation with -dFPC_USE_LIBC by providing a more generic fpprctl() call (including libc variant) and moving related constants slightly
git-svn-id: trunk@6134 -
2007-01-22 22:21:32 +00:00
tom_at_work
f6d79e8abb * explicitly enable FPU exception reporting on PowerPC in the MSR because some distros disable them by default
git-svn-id: trunk@6033 -
2007-01-17 22:12:19 +00:00
tom_at_work
66607303af * fixed fpftruncate, fplseek: removed ppc64 part of "$if defined(cpu64) and not defined(cpupowerpc64)"
git-svn-id: trunk@5392 -
2006-11-15 21:38:20 +00:00
tom_at_work
1f0d411597 * fixed fpstat calls on ppc64
git-svn-id: trunk@5233 -
2006-11-05 10:21:12 +00:00
micha
0043aff24d * fix linux/sysutils 64 bit file handling: make off_t 64 bit
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
micha
9f22b00219 * fix fstat to use 64 bit syscall as well
git-svn-id: trunk@5123 -
2006-10-31 14:21:59 +00:00
micha
59e2c82080 * fix stat for 64 bit CPUs
git-svn-id: trunk@5120 -
2006-10-31 13:01:20 +00:00
micha
e11995aa99 * fix fplseek for 64 bit CPUs
git-svn-id: trunk@5119 -
2006-10-31 12:25:45 +00:00
micha
9238003e4f + 64 bit file support for linux
git-svn-id: trunk@5116 -
2006-10-31 11:20:21 +00:00