Skip to content
  1. Sep 01, 2012
    • Raymond Toy's avatar
      Clean up RCS ids · eeab7066
      Raymond Toy authored
       * Get rid of the RCS Header stuff.  They're meaningless in git.
       * Add public domain comment to some of the files if the only comment
         was the RCS header.
      eeab7066
  2. Jan 07, 2012
  3. Nov 04, 2011
  4. Sep 24, 2011
    • Raymond Toy's avatar
      Fix Trac ticket:46. · 44a8f0c7
      Raymond Toy authored
      Make the size of all spaces configurable from the command line.
      
      code/commandline.lisp:
      o Define the switches so lisp doesn't complain.
      
      general-info/lisp.1:
      o Document new switches.
      
      general-info/release-20c.txt:
      o Update
      
      lisp/Darwin-os.c
      lisp/FreeBSD-os.c
      lisp/Linux-os.c
      lisp/NetBSD-os.c
      lisp/backtrace.c
      lisp/cgc.c
      lisp/gencgc.c
      lisp/os-common.c
      lisp/ppc-validate.h
      lisp/purify.c
      lisp/solaris-os.c
      lisp/sparc-arch.c
      lisp/sparc-validate.h
      lisp/x86-validate.h:
      lisp/validate.c
      o Basically rename CONTROL_STACK_SIZE, BINDING_STACK_SIZE,
        READ_ONLY_SPACE_SIZE, and STATIC_SPACE_SIZE to control_stack_size,
        binding_stack_size, read_only_space_size, and static_space_size,
        respectively.
      
      lisp/coreparse.c
      o Check the space size in the core file against the allocated size.
        If the allocated space is too small, print an error message and
        exit.
      
      lisp/globals.c
      o Define new variables for the allocated size of spaces.
      
      lisp/globals.h
      o Declare the new variables for the size of the spaces.
      
      lisp/lisp.c
      o Set the default values of the spaces.
      o Parse the new command-line flags and set the space sizes.
      
      lisp/sunos-os.c:
      o Added os_init0 (that we forgot last time).
      
      lisp/x86-assem.S:
      o Change $CONTROL_STACK_END to GNAME(control_stack_end) to get the
        correct end of the stack.
      44a8f0c7
  5. Nov 12, 2008
  6. Mar 19, 2008
  7. Jan 01, 2007
  8. Sep 15, 2005
  9. Sep 24, 2004
  10. Sep 14, 2004
  11. Aug 06, 2004
  12. Jul 29, 2004
  13. Jul 07, 2004
    • rtoy's avatar
      Clean up some compiler warnings: · 015a25b6
      rtoy authored
      * gencgc.h:  Add declaration for alloc.
      
      * solaris-os.c:
        o Include interrupt.h
        o Clean up some printf warnings, apply appropriate casts for
          converting address to longs and vice versa.
      
      * sparc-arch.c:
        o Include gencgc.h, breakpoint.h, interr.h to declare some functions
          for us.
        o Instructions are ints, not longs.  (64-bitness cleanup.)
        o handle_breakpoint and handle_function_end_breakpoint were not
          called with the right second arg.
      
      * sunos-os.h:
        o Declare flush_icache and save_context.
      015a25b6
  14. Jul 01, 2004
  15. Jan 09, 2004
    • toy's avatar
      Update to sparc gencgc so that alloc-tn holds the · 723055bb
      toy authored
      current-region-free-pointer.
      
      Cross compile may be needed, but I'm not sure.  I only used
      cross-compiling to do this change.
      
      sparc/macros.lisp:
      o Update the allocation macro appropriately for alloc-tn holding the
        current-region-free-pointer.
      
      lisp/gencgc.c:
      o Define macros for setting and getting *current-region-free-oointer*
        and *current-region-end-addr* so sparc can use alloc-tn.
        *current-region-free-pointer* isn't used anymore, but is still a
        static symbol.  It's been replaced by alloc-tn.
      o On sparc, set_alloc_pointer doesn't need to do anything anymore.
      o Don't need to call update_dynamic_space_free_pointer anymore.
      o The assertion that *current-region-free-pointer* is a fixnum is no
        longer valid on sparc because that is alloc-tn which contains the
        pseudo-atomic bits.
      
      lisp/sparc-arch.c:
      o The allocation trap instruction is now preceeded by a SUB
        instruction.  Handle that correctly.  Keep support for the OR
        instruction for now, but should be removed.
      o Set alloc-tn from current_dynamic_space_free_pointer.
      723055bb
  16. Oct 24, 2003
    • toy's avatar
      Add support for catching heap overflows, similar to the control stack · 3e309c44
      toy authored
      overflow checking.  Enable with :heap-overflow-check.  We reserve some
      number of pages on the heap.  When the heap reaches the reserved
      pages, an overflow warning is signalled.  The reserved pages are set
      0.  This allows some additional allocation to happen during debugging,
      if necessary.  If another overflow happens, we throw to top-level.
      
      Sparc only right now.
      
      	* lisp/sparc-assem.S (_do_dynamic_space_overflow_error): New
      	function to handle a heap overflow error.
      	(_do_dynamic_space_overflow_warning): New function to handle heap
      	overflow warning.
      
      	* lisp/sparc-arch.c (sigill_handler): Handle the two new traps
      	caused by heap overflows.
      
      	* lisp/interrupt.c (interrupt_handle_space_overflow): New function
      	to handle interrupt caused by heap space overflows.
      
      	* lisp/gencgc.c (handle_heap_overflow): New function to handle
      	heap overflows.
      	(gc_alloc_new_region): Use handle_heap_overflow.
      	(gc_alloc_large): Use handle_heap_overflow
      
      	* compiler/sparc/parms.lisp (static-symbols): Add new static
      	symbols for heap overflow checking:
      	dynamic-space-overflow-error-hit and
      	dynamic-space-overflow-warning-hit.
      
      	* compiler/generic/new-genesis.lisp (finish-symbols): Initialize
      	the new dynamic-space-overflow-error-hit and
      	dynamic-space-overflow-warning-hit static symbols.
      
      	* code/lispinit.lisp (:heap-overflow-check): Add
      	heap-overflow-check to *runtime-features*, if necessary.
      	("reserved_heap_pages"): Access to alien variable for heap
      	overflow.
      	(*reserved-heap-pages*): Default number of heap pages to reserve
      	for heap overflow.
      	(%top-level): Set reserved-heap-pages to the default.
      
      	* code/interr.lisp (dynamic-space-overflow-warning-hit): Add
      	function to handle heap overflow warnings.
      	(dynamic-space-overflow-error-hit): Add function to handle heap
      	overflow error.
      
      	* code/error.lisp (heap-overflow): Add new condition type for heap
      	overflow
      3e309c44
  17. Oct 16, 2003
  18. Oct 14, 2003
  19. Oct 13, 2003
  20. Oct 09, 2003
  21. Aug 27, 2003
    • toy's avatar
      sparc/parms.lisp: · f308ea57
      toy authored
      o Export ALLOCATION-TRAP so genesis will put a #define for
        trap_Allocation in internals.h
      
      lisp/sparc-arch.c:
      o Use trap_Allocation instead of a hard-wired 31.
      f308ea57
  22. Aug 22, 2003
  23. Oct 24, 2002
  24. May 02, 2002
  25. Oct 03, 2001
  26. Dec 05, 2000
    • dtc's avatar
      From Raymond Toy: · cbc96305
      dtc authored
      o Add routines to handle the new pseudo-atomic trap noise instead of using
        taddcctv.  The old code is left in just in case I forgot some uses somehow.
      o Don't try to fix up broken trap instructions anymore.  We shouldn't be
        generating them at all now anyway.
      cbc96305
  27. Oct 24, 2000
    • dtc's avatar
      o Add the command line switch -dynamic-space-size for setting the size · a7070998
      dtc authored
        of the dynamic space. DYNAMIC_SPACE_SIZE now defines the maximum
        size, and when defined DEFAULT_DYNAMIC_SPACE_SIZE gives the default.
      
      o Increase the maximum dynamic space size for Linux x86 to 1.625GB,
        with the default remaining at 512MB.
      
      o Define the default dynamic space size for FreeBSD x86 to also be 512MB,
        with a maximum of 2GB.
      a7070998
  28. Apr 20, 1997
  29. Feb 19, 1997
  30. Oct 27, 1994
  31. Oct 25, 1994
  32. Oct 24, 1994
  33. Jan 13, 1993
  34. Oct 20, 1992
  35. Oct 14, 1992
  36. Sep 08, 1992