Commit Graph

44163 Commits

Author SHA1 Message Date
nickysn
445017fab4 + added a TP7 heap compatibility test
git-svn-id: trunk@28656 -
2014-09-14 12:01:09 +00:00
michael
7d28bc8e4e * Added some extra options for recursion, additional extensions and verbosity
git-svn-id: trunk@28655 -
2014-09-14 11:03:10 +00:00
michael
1f11b44521 * Added some extra options for recursion, additional extensions and verbosity
git-svn-id: trunk@28654 -
2014-09-14 11:03:00 +00:00
Károly Balogh
e059052c57 amunits: syscallified locale
git-svn-id: trunk@28653 -
2014-09-13 20:53:22 +00:00
nickysn
8edfd33af8 * use RegisterTinyHeapBlock_Simple_Prealigned in the msdos rtl
git-svn-id: trunk@28652 -
2014-09-13 19:55:55 +00:00
nickysn
bb07318386 + added RegisterTinyHeapBlock_Simple_Prealigned procedure, which is the same as
RegisterTinyHeapBlock_Simple, but expects its address and size parameters to
  be already aligned on a TinyHeapAllocGranularity boundary

git-svn-id: trunk@28651 -
2014-09-13 15:35:46 +00:00
marcus
be9e44a821 amunits: adapted library unit changes to example sources
git-svn-id: trunk@28650 -
2014-09-13 14:03:58 +00:00
Károly Balogh
1442a495b1 amunits: syscallified Workbench unit
git-svn-id: trunk@28649 -
2014-09-13 01:47:14 +00:00
Károly Balogh
1b0a1f4508 ARM: mimic what GNU C does while calling the profiling mcount on ARM
git-svn-id: trunk@28648 -
2014-09-13 00:17:10 +00:00
sergei
0b4d54fcb9 - Delete all position markers from assembler code before optimization. Markers of this kind are not used by optimizer and are expected to be ignored, but ignoring them requires numerous checks in all target-specific optimizers and currently isn't done correctly. In turn, failure to ignore markers prevents optimization of procedure prologues and epilogues.
git-svn-id: trunk@28647 -
2014-09-12 23:15:23 +00:00
marcus
4c3e25549d AROS: syscall-ified ASL, GadTools and MUI from AROS branch
git-svn-id: trunk@28646 -
2014-09-12 21:28:29 +00:00
Károly Balogh
739c66291d ARM: first naive attempt to get gprofiling work for arm-linux. (Work-In-Progress, but at least for me it doesn't explode)
git-svn-id: trunk@28645 -
2014-09-12 18:51:02 +00:00
sergei
11201164e7 * Fixed type of parameter passed to FPC_CHECKPOINTER after r23325, must be the pointer itself, not what it points to. Was causing IE 200306031 when compiling for i386 with -gc.
git-svn-id: trunk@28644 -
2014-09-12 18:50:09 +00:00
svenbarth
b79e7ce1f9 Implement GetCPUCount for Windows OSes. This is for all three Windows targets.
rtl/win/sysos.inc:
  + add definition of TSystemInfo structure
  + add import of GetSystemInfo
  + add implementation of GetCPUCount which returns value for number of processors retrieved by GetSystemInfo

git-svn-id: trunk@28643 -
2014-09-12 18:40:59 +00:00
marcus
8c5c6588f2 Amiga/AROS/MorphOS: some more path fixed in FV, userscreen for all 3 platforms
git-svn-id: trunk@28639 -
2014-09-11 19:03:19 +00:00
Károly Balogh
736f3bef25 amunits: syscallified DataTypes
git-svn-id: trunk@28638 -
2014-09-11 19:02:07 +00:00
Károly Balogh
d4db59b44f amunits: syscallified Rexx unit
git-svn-id: trunk@28637 -
2014-09-10 10:22:16 +00:00
Károly Balogh
fbfcda2926 AROS: apparently, the NewStackSwap() function is just a half arsed copy of MorphOS/NewPPCStackSwap(), so it doesn't accept nil as its third argument. Therefore we pass a pointer to some area we won't use anyway. this fixes crashes in the stack swapping code on hosted systems.
git-svn-id: trunk@28636 -
2014-09-09 17:47:13 +00:00
nickysn
c8e9d2cf6e + added a simplified version of RegisterTinyHeapBlock, for use when the tiny
heap is a single memory block

git-svn-id: trunk@28635 -
2014-09-09 12:45:47 +00:00
nickysn
72ba70f7ec * use HexStr instead of casting to PtrUInt for logging pointers, when
DEBUG_TINY_HEAP is defined, because HexStr produces nicer results for far
  pointers

git-svn-id: trunk@28633 -
2014-09-09 00:47:25 +00:00
Károly Balogh
ab726d665e IDE: don't spam the strerr with unconditional debug when the ASCII window is open (introduced in r26288)
git-svn-id: trunk@28632 -
2014-09-09 00:46:06 +00:00
Károly Balogh
21c8dea451 disable gdbint dependency on Amiga
git-svn-id: trunk@28631 -
2014-09-09 00:39:15 +00:00
Károly Balogh
2e80906133 fpmake: also disable threading and processes on Amiga
git-svn-id: trunk@28630 -
2014-09-08 23:42:19 +00:00
sergei
6fd8a26ae1 + internal assembler: early check for empty asmlists.
git-svn-id: trunk@28629 -
2014-09-08 23:26:20 +00:00
sergei
84245a6e0c * MIPS: doing progress with peephole optimizer.
git-svn-id: trunk@28628 -
2014-09-08 23:24:43 +00:00
sergei
8f1e058ac2 * Don't place symbols with vo_force_finalize flag into read-only sections, resolves #26691.
git-svn-id: trunk@28626 -
2014-09-08 19:41:24 +00:00
sergei
5479b6e722 * Provide initialization of all variables, fixes cycling with OPT="-dTEST_WIN32_SEH -OoDFA".
git-svn-id: trunk@28622 -
2014-09-08 18:08:12 +00:00
nickysn
bf8a7f0784 * handle properly the case when RegisterTinyHeapBlock is called with a start
address equal or larger than HeapEnd

git-svn-id: trunk@28621 -
2014-09-08 17:45:09 +00:00
marcus
ee31b188f6 AMIGA/MorphOS/AROS: corrected pathes in FP-IDE
git-svn-id: trunk@28620 -
2014-09-08 16:47:38 +00:00
Károly Balogh
d9e61b2e01 amunits: syscallified pastoc. This unit is deprecated, but since it's still used inside amunits, it's better have it safe
git-svn-id: trunk@28619 -
2014-09-08 10:32:54 +00:00
Károly Balogh
f7d5b1beb6 amunits: syscallified nonvolatile and translator
git-svn-id: trunk@28618 -
2014-09-08 10:28:46 +00:00
Károly Balogh
d561e8ab57 m68k: generate smarter shifting/rotation code on 68k, for example by utilizing the SWAP instruction
git-svn-id: trunk@28617 -
2014-09-07 23:46:46 +00:00
Károly Balogh
f91ae2700c m68k: added CPUM68K_HAS_ROLROR capability flag
git-svn-id: trunk@28616 -
2014-09-07 23:45:51 +00:00
Károly Balogh
8d98f31afc two cases of use casts instead of anding with when extracting 16bit values
git-svn-id: trunk@28615 -
2014-09-07 23:38:33 +00:00
Károly Balogh
05e72f52c6 a slightly better generic implementation for SwapEndian() 32 bit and 64 bit ints
git-svn-id: trunk@28614 -
2014-09-07 23:19:57 +00:00
Károly Balogh
83cf14d5dd removed unnecessary masking in Swap() calls
git-svn-id: trunk@28613 -
2014-09-07 23:17:52 +00:00
nickysn
af1c5096d6 * tiny heap made TP7 compatible; the FreeList and HeapPtr variables made public
git-svn-id: trunk@28612 -
2014-09-07 19:41:53 +00:00
Károly Balogh
5a10472729 AROS: massively enhanced i386 startup code, including
- fixed to always update the stacksize in __stklen, so the RTL knows the correct stacksize (StackLength in system unit is correct)
- this probably also fixes stack checking or opens the way to have a working stack checking on AROS, but that was not tested
+ call PASCALMAIN via exec/NewStackSwap() and provide a larger stack when the pre-set value is higher than what the system provides
+ use operatingsystem_result to simplify return code handling

These changes bring the AROS startup's stack handling to the Amiga/m68k and MorphOS level

git-svn-id: trunk@28611 -
2014-09-07 14:05:42 +00:00
Károly Balogh
2722421d96 amunits: syscallified lowlevel unit
git-svn-id: trunk@28610 -
2014-09-06 23:48:39 +00:00
sergei
5279693919 * softfpu.pp: fixed two more porting bugs, and also added two typecasts to avoid unnecessary 64-bit operations.
git-svn-id: trunk@28609 -
2014-09-06 21:01:50 +00:00
nickysn
e4095588d6 * the type of FreeList changed to an untyped pointer (TP7 compatibility)
git-svn-id: trunk@28608 -
2014-09-06 18:52:43 +00:00
nickysn
a4d71348dd * TinyHeapBlocks renamed FreeList for TP7 compatibility reasons (and it'll be
moved to the interface part of the system unit as soon as the tiny heap's free
  list becomes TP7 compatible)

git-svn-id: trunk@28607 -
2014-09-06 14:56:04 +00:00
Károly Balogh
6c4833ab6b amunits: removed the old useamigasmartlink includes from syscallified units, it's no longer necessary
git-svn-id: trunk@28606 -
2014-09-05 23:31:51 +00:00
Károly Balogh
e178ece821 amunits: syscallified Input
git-svn-id: trunk@28605 -
2014-09-05 23:27:53 +00:00
Károly Balogh
5b79b1bab2 amunits: syscallified IFFParse
git-svn-id: trunk@28604 -
2014-09-05 23:26:09 +00:00
Károly Balogh
6cd5b41d8f amunits: syscall-ified console and diskfont
git-svn-id: trunk@28603 -
2014-09-05 22:21:45 +00:00
marcus
85700afd0d AROS: StdErrout introduced, string fixes, preparations for threading
git-svn-id: trunk@28602 -
2014-09-05 18:45:00 +00:00
svenbarth
684c8842e7 Fix for Mantis #26599.
pgenutils.pas, check_generic_constraints:
  * correctly handle forward defs if the constraint is either a single IInterface/IUnknown or a TObject/class

+ added tests

git-svn-id: trunk@28601 -
2014-09-05 14:42:22 +00:00
marco
f8c7290dbb * made ipicture,ifont and itagenumvariant aliases for the activex versions. The importtl generated versions did process safecall like constructs properly. Mantis 025907
git-svn-id: trunk@28600 -
2014-09-05 13:29:58 +00:00
marco
316a50ff23 * support for clock_gettime(), patch by Graeme.
git-svn-id: trunk@28599 -
2014-09-05 13:01:04 +00:00