Skip to content
Snippets Groups Projects
  1. Sep 16, 2017
    • Raymond Toy's avatar
      Regenerate do to new docstrings · 7f3040a7
      Raymond Toy authored
      7f3040a7
    • Raymond Toy's avatar
      Fix #44: Add docstrings for process accessors · ec29ec51
      Raymond Toy authored
      Adds docstrings for the exported process accessors:
      `process-pid`, `process-exit-code`, `process-core-dumped`,
      `process-pty`, `process-input`, `process-output`, `process-error`,
      `process-status-hook`, `process-plist`.
      ec29ec51
    • Raymond Toy's avatar
      Remove wait3 stuff · e1f12db9
      Raymond Toy authored
      `wait3` is removed along with alien routine and the constants.
      e1f12db9
    • Raymond Toy's avatar
      Clean up prog_status · 81e08ecb
      Raymond Toy authored
       - If `waidpid` returns 0 or -1, we should return.
       - Make the fprintf message a bit clearer on what's happening when we
         have some kind of status that we didn't handle.
      81e08ecb
    • Raymond Toy's avatar
      Fix up minor issues in implementation · 65ce358d
      Raymond Toy authored
       - process-alive-p should return T for continued processes
       - Simplify prog-status slightly by making the status code array start
         :signaled instead of nil.
       - Update prog_status with enum to specify the codes to make it
         clearer what they mean and to make it clearer that it matches the
         expectations in prog-status.
      65ce358d
  2. Sep 09, 2017
    • Raymond Toy's avatar
      Fix #41: Report proper process status · f05cb10a
      Raymond Toy authored
      The main problem is that we weren't calling wait3 with WCONTINUED so
      that we would be signaled when the process continues.  And we also
      need to check that result of wait call was WCONTINUED>
      
      Replace the wait3 routine with a C routine (prog_status) so we don't
      have to deal with the OS-specific flags.  This function basically
      returns what the lisp function wait3 did.
      
      Use this function in GET-PROCESSES-STATUS-CHANGES.
      
       - runprog.c:
         - Add prog_status
       - run-program.lisp:
         - Use prog_status instead of wait3
       - issues.lisp:
         - Add basic test
      f05cb10a
  3. Aug 31, 2017
    • Raymond Toy's avatar
      Fix compiler warning about else · 3b4f3977
      Raymond Toy authored
      Add braces around the else clause that's indented as if it were part
      of the else clause.  Inspection of the algorithm indicates that this
      is probably the intended code and in this case doesn't change what
      gets executed because the following statements would have been anyway.
      
      Also verified a few random values that `(asin x)` and `(asin (float x
      1w0))` produce the same values.  Only need to test 2^-27 <= x < 0.5.
      3b4f3977
  4. Aug 29, 2017
    • Raymond Toy's avatar
      Rename to boot-2017-04-1.lisp · aba0bc5c
      Raymond Toy authored
      aba0bc5c
    • Raymond Toy's avatar
      Add handler-bind to auto restart · 48f8ebb9
      Raymond Toy authored
      Changing defconstant's signal an error.  Add a handler-bind to restart
      and continue with the changed values.
      48f8ebb9
    • Raymond Toy's avatar
      Fix #40: Move start of heap space higher · c40b7a6b
      Raymond Toy authored
      This is a workaround for issue #40.  By moving the start of the heap
      to a higher address, we can still run on older systems (albeit with
      reduced max heap size), and run on newer systesm where the C code is
      now mapped at or overlapping the (old) heap start.  Arbitrarily choose
      0x60000000 as a compromise.
      
      This also requires moving the foreign linkage start to a different
      address because the old address overlaps the new C area.
      
      Ideally, we could fix this if we could map the heap wherever the OS
      wants to put it, but we're not there yet.
      
      Use boot-2017-04.lisp to bootstrap this change from the 2017-04
      snapshot.
      c40b7a6b
  5. Aug 27, 2017
    • Raymond Toy's avatar
      Print more info for dynamic space lossage · 2830e140
      Raymond Toy authored
      If we get dynamic space lossage, print out the actual address and the
      expected addresses for the dynamic space so we can see what happened.
      This is really useful if you change the dynamic space address but
      didn't update everything correctly.
      2830e140
  6. Apr 08, 2017
  7. Apr 07, 2017
  8. Mar 22, 2017
  9. Mar 05, 2017
  10. Jan 29, 2017
  11. Jan 12, 2017
  12. Jan 08, 2017
  13. Jan 06, 2017
  14. Dec 23, 2016
  15. Dec 17, 2016
  16. Dec 11, 2016
  17. Dec 08, 2016
    • Raymond Toy's avatar
      Fix typo · dc743457
      Raymond Toy authored
      "Cound" -> "Could"
      dc743457
    • Raymond Toy's avatar
      Fix #34: Handle newline character correctly · d959c164
      Raymond Toy authored
      The string containing #\Newline that is used to output the newline
      character worked on little-endian architectures because the low octet
      was first in memory.  However on a big-endian sparc, a NUL character
      was output instead since the high octet is first in memory.
      
      So, create a explicit unsigned-byte 8 array containing exactly 1 octet
      that represents a newline character code.
      
      Tests pass on both sparc and x86/linux.
      d959c164
  18. Dec 07, 2016
    • Raymond Toy's avatar
      Replace unix-times usage with getrusage · 29cb2f47
      Raymond Toy authored
      unix:unix-times was only used for #+(and sparc svr4).  The existing
      code already supported a different function when this condition was
      false, so use that, which uses getrusage instead.
      
      Don't need cross-x86-sparc-bootstrap.lisp anymore either.
      29cb2f47
  19. Dec 04, 2016
  20. Dec 03, 2016
    • Raymond Toy's avatar
      Initial Config for sparc64 build. · f9d62c05
      Raymond Toy authored
      Copy Config.sparc_sunc to Config.sparcv9_sunc, removing the -m32
      option and updating ASSEM_SRC to sparcv9-assem.S.  Remove that from
      Config.sparc_common and put it in Config.sparc_sunc.
      f9d62c05
Loading