Skip to content
  1. Apr 27, 2013
    • Raymond Toy's avatar
      Clean up madvise implementation · b76e5972
      Raymond Toy authored
       * Remove PAGE_MADVISE_MASK
       * Remove code using PAGE_MADVISE_MASK
       * Move some #defines from gencgc.c to gencgc.h
       * Add new or better comments
      b76e5972
  2. Apr 21, 2013
  3. Apr 20, 2013
  4. 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
  5. Nov 04, 2011
  6. Jan 09, 2011
    • rtoy's avatar
      Changes to support building on Mac OS X 10.6. When compiled on 10.6, · 0b2b8885
      rtoy authored
      the resulting binary still works on 10.5.
      
      lisp/Config.x86_darwin:
      o Add -m32 flag to build and link a 32-bit binary.
      
      lisp/Darwin-os.h:
      o Include <sys/ucontext.h> instead of <ucontext.h> to get rid of the
        error about deprecated functions in ucontext.h.
      
      lisp/gencgc.h:
      o Mac OS X defines PAGE_SIZE in a header and that conflicts with our
        name.  Rename our PAGE_SIZE to GC_PAGE_SIZE.
      
      lisp/gencgc.c:
      o Rename PAGE_SIZE to GC_PAGE_SIZE.
      0b2b8885
  7. Nov 02, 2009
    • rtoy's avatar
      Revert previous changes. They were supposed to go on · d01310f2
      rtoy authored
      amd64-dd-branch.
      d01310f2
    • rtoy's avatar
      This large checkin brings the amd64 port up-to-date with the current · 2bafb654
      rtoy authored
      sources.  No real attempt has been made to make it work, but the
      cross-compile does create a kernel.core, and the C code compiles (on
      openSuSE 10.3).  The resulting kernel.core does not yet work.
      
      Use cross-x86-amd64.lisp as the cross-compile script.  This is
      intended to be cross-compiled using the 20a release for Linux, and
      only supports x87.  The sse2 support has not be ported yet.
      
      tools/cross-scripts/cross-x86-amd64.lisp:
      o Update cross-compile with some missing constants, and frob new
        symbols.
      
      tools/clean-target.sh:
      o Remove amd64f files too.
      
      code/pred.lisp:
      o Define predicates for double-doubles for bootstrapping to work
        around recursive known function problems with these predicates.
      
      code/sap.lisp:
      o Define int-sap with (unsigned-byte 64) type declaration.  (May not
        be needed?)
      
      code/unix-glibc2.lisp:
      o Build fails defining map_failed to (int-sap -1).  Just hard-wire to
        0 for now so we can build.
      
      compiler/float-tran.lisp:
      o Add missing conditional for %complex-double-double-float.
      
      compiler/amd64/float.lisp:
      o Merge double-double support for amd64.  Not really tested yet.
      
      compiler/amd64/parms.lisp:
      o Update to match x86 build.  In particular, get the space address
        correct and update the static symbols.
      
      compiler/amd64/type-vops.lisp:
      o DYLAN-FUNCTION-HEADER-TYPE no longer exists.
      
      compiler/amd64/vm.lisp:
      o Add double-double storage classes and register definitions.
      
      lisp/Config.amd64:
      o Bring in line with Config.x86 and friends.
      
      lisp/Linux-os.c:
      o Bring amd64 code up-to-date with x86/linux code.
      
      lisp/Linux-os.h
      o Need to include sys/ucontext.h to get ucontext defined.  (Why?)
      o Also define __USE_GNU so we get the register offsets in the ucontext
        defined.  (Why?)
      
      lisp/amd64-arch.c:
      o Change struct sigcontext to os_context_t.
      o Use SC_PC instead of context->sc_pc.
      o Merge some changes in from x86 version, like SC_EFLAGS.  May need
        more work.
      
      lisp/amd64-assem.s:
      o Use rbx instead of ebx for jmp.
      
      lisp/amd64-lispregs.h:
      o Define SC_REG, SC_PC, SC_SP using the new x86 style.
      
      lisp/backtrace.c:
      o Remove inline assembly for now until I figure out what the amd64
        version should be.
      
      lisp/gencgc.c:
      o Conditionalize out weak hash table support for now.
      
      lisp/gencgc.h:
      o Set PAGE_SIZE for amd64.  (Is 4096 right?)
      
      lisp/globals.h:
      o Export current_dynamic_space_free_pointer and
        current_auto_gc_trigger like for x86.
      2bafb654
  8. Sep 16, 2008
  9. Jan 18, 2006
  10. Sep 15, 2005
  11. 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
  12. Jan 10, 2004
  13. Oct 13, 2003
  14. Aug 22, 2003
  15. Aug 27, 2002
    • moore's avatar
      · bf84be07
      moore authored
      On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
      They now go through a table -- effectively a new space in the core file.
      Function references are resolved lazily, data references are resolved on startup
      and when a .so is loaded.  The end result is that cores can be dumped that
      contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.
      
      The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
      runtime.  Several foreign symbols are now Lisp static symbols, so a cross
      compile is required whether or not the new stuff is used.  I've checked in
      boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
      a discussion on standardizing "cross compilation," not to mention the general
      build procedure.
      bf84be07
  16. Oct 27, 2000
  17. 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
  18. Aug 27, 2000
  19. Jan 09, 2000
  20. Aug 25, 1999
  21. Nov 25, 1997