summaryrefslogtreecommitdiff
path: root/ghc/runtime
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-02203-53897/+0
| | | | Move 4.01 onto the main trunk.
* [project @ 1998-11-12 13:23:45 by sof]sof1998-11-121-4/+0
| | | | oops, <windows.h> shouldn't be included unconditionally
* [project @ 1998-11-09 11:14:38 by sof]sof1998-11-091-4/+21
| | | | Provide RTS initialisation as sep. entry point, initRTS()
* [project @ 1998-08-16 17:44:07 by sof]sof1998-08-161-0/+4
| | | | More of same
* [project @ 1998-08-15 16:45:07 by sof]sof1998-08-151-0/+17
| | | | | #undef __GLASGOW_HASKELL__ before including "rtsdefs.h" (see source code for reasons as to why we need to do this now).
* [project @ 1998-08-15 14:06:43 by sof]sof1998-08-153-3/+8
| | | | SMmark: multi-slurp protect SMmarkDefs.h; lift out SMmarkDefs include from the insides of an ifdef
* [project @ 1998-08-14 13:15:26 by sof]sof1998-08-141-0/+4
| | | | ErrorIO_innards: Flush stdio + stderr
* [project @ 1998-08-14 10:57:58 by sof]sof1998-08-141-1/+2
| | | | Updated to reflect last batch of changes
* [project @ 1998-08-14 10:57:32 by sof]sof1998-08-141-0/+150
| | | | On-the-fly generation of code chunks for 'foreign export dynamic' - x86 only at the moment
* [project @ 1998-08-14 10:56:50 by sof]sof1998-08-141-0/+3
| | | | DEBUG_REGS: deal with LngRegs
* [project @ 1998-08-14 10:55:14 by sof]sof1998-08-141-0/+8
| | | | Added eqStablePtr
* [project @ 1998-08-14 10:54:51 by sof]sof1998-08-141-0/+4
| | | | callWrapper: Save and restore LngRegs if needs be
* [project @ 1998-08-14 10:50:30 by sof]sof1998-08-144-16/+20
| | | | Hooks now take a file descriptor, not a FILE
* [project @ 1998-08-14 10:49:52 by sof]sof1998-08-141-0/+206
| | | | long long primitives
* [project @ 1998-08-14 10:49:32 by sof]sof1998-08-141-0/+8
| | | | handle_tick_serial: don't tick while reporting a cc profile
* [project @ 1998-08-11 16:03:38 by sof]sof1998-08-111-6/+15
| | | | Ignore NULL finalisers
* [project @ 1998-08-07 09:20:19 by sof]sof1998-08-071-1/+7
| | | | exitSM: free foreign objects on old generation list too!
* [project @ 1998-08-07 09:19:12 by sof]sof1998-08-071-2/+1
| | | | typo fix
* [project @ 1998-08-07 09:18:10 by sof]sof1998-08-071-1/+17
| | | | | | segv_handler: additional cpp'ery to account for the fact that sigcontext_struct was renamed to sigcontext in 2.1.x Linux kernels.
* [project @ 1998-06-29 17:53:31 by sof]sof1998-06-291-1/+4
| | | | slightly less obscene #ifdef'ing for solaris, define __EXTENSIONS__ to get at prusage_t struct
* [project @ 1998-06-29 17:49:05 by sof]sof1998-06-293-2/+43
| | | | Added OnExitHook(); hook run after Haskell world has been properly shut down
* [project @ 1998-05-28 12:21:12 by simonm]simonm1998-05-281-5/+0
| | | | | | - remove NON_POSIX_SOURCE for linux stuff. Some of the file is POSIX. This whole file is garbage, and should be recycled.
* [project @ 1998-05-27 12:09:43 by simonm]simonm1998-05-271-4/+3
| | | | | | - remove _BSD_SOURCE for linux case, it broke older linuxen. - type of scp.cr2 is unsigned long, not caddr_t. - cast all pointer-like things to (char *) for comparisons.
* [project @ 1998-05-21 09:44:40 by simonm]simonm1998-05-211-1/+1
| | | | missed one caddr_t.
* [project @ 1998-05-21 09:30:21 by simonm]simonm1998-05-211-0/+6
| | | | Define _BSD_SOURCE to get this to compile under Linux w/ glibc.
* [project @ 1998-05-21 09:29:13 by simonm]simonm1998-05-211-4/+3
| | | | Don't use caddr_t in a file that claims to be POSIX compatible.
* [project @ 1998-03-16 20:44:21 by sof]sof1998-03-161-1/+1
| | | | Alloc rate printing fix; was outputting MUT time
* [project @ 1998-03-03 17:13:09 by sof]sof1998-03-031-0/+2
| | | | | startPerformIO: Only save C stack pointer when compiling the conc RTS on x86s.
* [project @ 1998-02-27 12:08:26 by simonm]simonm1998-02-271-1/+1
| | | | Fix for the minBound case, obtained from GMP 2.
* [project @ 1998-02-22 18:15:02 by sof]sof1998-02-221-1/+1
| | | | define _OSF_SOURCE when compiling under OSFx.y (x `elem` [1,3])
* [project @ 1998-02-19 18:38:38 by sof]sof1998-02-191-11/+4
| | | | Adjust a couple of dummy references to point to PrelGHC rather than GHC.
* [project @ 1998-02-02 17:27:26 by simonm]simonm1998-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Library re-organisation: All libraries now live under ghc/lib, which has the following structure: ghc/lib/std -- all prelude files (libHS.a) ghc/lib/std/cbits ghc/lib/exts -- standard Hugs/GHC extensions (libHSexts.a) -- available with '-fglasgow-exts' ghc/lib/posix -- POSIX library (libHSposix.a) ghc/lib/posix/cbits -- available with '-syslib posix' ghc/lib/misc -- used to be hslibs/ghc (libHSmisc.a) ghc/lib/misc/cbits -- available with '-syslib misc' ghc/lib/concurrent -- Concurrent libraries (libHSconc.a) -- available with '-concurrent' Also, several non-standard prelude modules had their names changed to begin with 'Prel' to reduce namespace pollution. Addr ==> PrelAddr (Addr interface available in 'exts') ArrBase ==> PrelArr CCall ==> PrelCCall (CCall interface available in 'exts') ConcBase ==> PrelConc GHCerr ==> PrelErr Foreign ==> PrelForeign (Foreign interface available in 'exts') GHC ==> PrelGHC IOHandle ==> PrelHandle IOBase ==> PrelIOBase GHCmain ==> PrelMain STBase ==> PrelST Unsafe ==> PrelUnsafe UnsafeST ==> PrelUnsafeST
* [project @ 1998-01-23 15:23:07 by sof]sof1998-01-231-0/+11
| | | | hook function for I/O errors
* [project @ 1998-01-22 10:26:41 by sof]sof1998-01-221-1/+7
| | | | | | Define symbols for the (non-existent) info tables for CCallable and CReturnable (never entered, just defined to appease the linker.)
* [project @ 1998-01-09 13:33:03 by sof]sof1998-01-091-9/+9
| | | | startPerformIO: push realWorld# token on the B stack now.
* [project @ 1997-11-25 11:23:18 by simonm]simonm1997-11-251-5/+5
| | | | | | | | | | Don't arbitrarily truncate function names. Reasoning: * No information is lost - the output might be poorly formatted if long cost centres are involved though. * If the user wants shorter cost centre names, explicit cost centres can be inserted.
* [project @ 1997-11-25 11:19:14 by simonm]simonm1997-11-251-2/+2
| | | | | | | | | | Don't arbitrarily truncate function names. Reasoning: * If the function names are long, it just reduces the size of the graph, no information is lost. * If the user wants shorter cost center names, explicit cost centres can be inserted.
* [project @ 1997-11-24 21:14:34 by sof]sof1997-11-241-5/+8
| | | | Mirror sequential code, push realWorld# on B-stack before entering IO action
* [project @ 1997-11-24 21:12:32 by sof]sof1997-11-241-0/+8
| | | | Stack underflow comment added
* [project @ 1997-11-24 21:11:44 by sof]sof1997-11-241-1/+5
| | | | RBH_entry: GranSim/GUM fix for invalid InfoPtr
* [project @ 1997-11-24 21:09:55 by sof]sof1997-11-241-4/+4
| | | | Changed default for GranFlags.max_fishes to MAX_FISHES
* [project @ 1997-11-24 21:08:25 by sof]sof1997-11-241-3/+3
| | | | GranSim msg fix
* [project @ 1997-11-24 21:07:39 by sof]sof1997-11-241-1/+1
| | | | Add spark count to debug msg
* [project @ 1997-11-24 20:54:02 by sof]sof1997-11-243-21/+21
| | | | ForeignObj debug output to stderr
* [project @ 1997-11-11 14:32:34 by simonm]simonm1997-11-111-2/+2
| | | | | | | | | Library changes to: * remove PrimIO * change type of _ccall_ to IO * incorporate Alastair Reid's new library interfaces for compatibility with Hugs.
* [project @ 1997-10-30 22:32:03 by sof]sof1997-10-301-1/+6
| | | | Cosmetic fix to avoid cpp warnings under linux
* [project @ 1997-10-30 22:31:06 by sof]sof1997-10-301-4/+4
| | | | Minor fix to suppress gcc warning
* [project @ 1997-10-30 22:29:59 by sof]sof1997-10-301-2/+5
| | | | ErrorIO_innards: push realWorld# on B stack (cf. startStgWorld)
* [project @ 1997-10-13 16:12:54 by simonm]simonm1997-10-133-11/+7
| | | | | | | | | | | | | | | | | | Changes to unbox the state in the ST and IO monads. ST now has type newtype ST s a = ST (State# s -> STret s a) data STret s a = STret (State# s) a IO now has type newtype IO a = IO (State# RealWorld -> IOResult a) data IOResult a = IOok (State# RealWorld) a | IOfail (State# RealWorld) IOError So ST should be slightly more efficient, and IO should be nearly as efficient as ST.
* [project @ 1997-10-09 10:23:36 by simonm]simonm1997-10-091-2/+2
| | | | urk, extra parenthesis crept in.