/[cmucl]/src/code/unix-glibc2.lisp
ViewVC logotype

Log of /src/code/unix-glibc2.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.54 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:45 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, RELEASE_20b, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, release-20b-pre1, release-20b-pre2, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, snapshot-2010-08, snapshot-2010-11, snapshot-2010-12, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, cross-sol-x86-branch, cross-sparc-branch, sparc-tramp-assem-branch
Changes since 1.53: +4 -4 lines
Diff to previous 1.53
Change uses of _"foo" to (intl:gettext "foo").  This is because slime
may get confused with source locations if the reader macros are
installed.

Revision 1.53 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:19:00 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.52: +442 -441 lines
Diff to previous 1.52
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
boot-2010-02-1 as the bootstrap file.  You should probably also use
the new -P option for build.sh to generate and update the po files
while building.

Revision 1.52.2.3 - (view) (annotate) - [select for diffs]
Fri Feb 26 12:45:00 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-2010-03-18-1300
Changes since 1.52.2.2: +3 -3 lines
Diff to previous 1.52.2.2 , to branch point 1.52 , to next main 1.54
Fix typo.

Revision 1.52.2.2 - (view) (annotate) - [select for diffs]
Fri Feb 26 06:23:25 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-branch
Changes since 1.52.2.1: +441 -441 lines
Diff to previous 1.52.2.1 , to branch point 1.52
Mark more translatable strings.

Revision 1.52.4.1 - (view) (annotate) - [select for diffs]
Thu Feb 25 20:34:52 2010 UTC (4 years, 1 month ago) by rtoy
Branch: intl-2-branch
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 , to next main 1.54
Restart internalization work.  This new branch starts with code from
the intl-branch on date 2010-02-12 18:00:00+0500.  This version works
and

LANG=en@piglatin bin/lisp

works (once the piglatin translation is added).

Revision 1.52.2.1 - (view) (annotate) - [select for diffs]
Mon Feb 8 17:15:49 2010 UTC (4 years, 2 months ago) by rtoy
Branch: intl-branch
CVS Tags: intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000
Changes since 1.52: +2 -1 lines
Diff to previous 1.52
Add (intl:textdomain "cmucl") to the files to set the textdomain.

Revision 1.52 - (view) (annotate) - [select for diffs]
Mon Dec 7 01:48:27 2009 UTC (4 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: intl-2-branch-base, intl-branch-base, pre-merge-intl-branch, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03
Branch point for: intl-2-branch, intl-branch
Changes since 1.51: +3 -3 lines
Diff to previous 1.51
Fix bug in SUB-UNIX-EXECVE.  The call to execve needs to convert the
Lisp string to a C string appropriately.

Bug noted by Helmut Eller on cmucl-imp, 2009-12-06.  He also provided
the basic solution.

Revision 1.51 - (view) (annotate) - [select for diffs]
Mon Nov 2 15:05:06 2009 UTC (4 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2009-12
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
Revert previous changes.  They were supposed to go on
amd64-dd-branch.

Revision 1.49.2.1 - (view) (annotate) - [select for diffs]
Mon Nov 2 14:29:46 2009 UTC (4 years, 5 months ago) by rtoy
Branch: amd64-dd-branch
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 , to next main 1.54
(Oops.  Previous checkin went to wrong branch.  Here is the commit
log, again.)

This large checkin brings the amd64 port up-to-date with the current
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.

Revision 1.50 - (view) (annotate) - [select for diffs]
Mon Nov 2 02:51:58 2009 UTC (4 years, 5 months ago) by rtoy
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49
This large checkin brings the amd64 port up-to-date with the current
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.

Revision 1.49 - (view) (annotate) - [select for diffs]
Thu Oct 15 14:07:35 2009 UTC (4 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: amd64-dd-start, snapshot-2009-11
Branch point for: amd64-dd-branch
Changes since 1.48: +19 -9 lines
Diff to previous 1.48
Add docstrings for the new alien functions getenv, setenv, putenv, and
unsetenv.

Revision 1.48 - (view) (annotate) - [select for diffs]
Wed Oct 14 03:42:21 2009 UTC (4 years, 6 months ago) by agoncharov
Branch: MAIN
Changes since 1.47: +17 -1 lines
Diff to previous 1.47
As suggested by Madhu <madhu@cs.unm.edu>, removed the ext:getenv
function that I had introduced a few days ago.  Instead, four foreign
function definitions are introduced, following Madhu's proposal.

The four functions:

   unix-getenv unix-setenv unix-putenv unix-unsetenv

are defined both in unix.lisp and unix-glibc2.lisp.

Revision 1.47 - (view) (annotate) - [select for diffs]
Thu Jun 11 16:03:59 2009 UTC (4 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20a, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, release-20a-base, release-20a-pre1, snapshot-2009-07, snapshot-2009-08, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-20A-BRANCH, portable-clx-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.46: +68 -33 lines
Diff to previous 1.46
Merge Unicode work to trunk.  From label
unicode-utf16-extfmt-2009-06-11.

Revision 1.43.4.4.2.3 - (view) (annotate) - [select for diffs]
Wed Mar 18 15:37:28 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11
Changes since 1.43.4.4.2.2: +4 -1 lines
Diff to previous 1.43.4.4.2.2 , to branch point 1.43.4.4 , to next main 1.43.4.6
Sync to utf16 branch, tag unicode-utf16-sync-label-2009-03-16.

Revision 1.43.4.6 - (view) (annotate) - [select for diffs]
Mon Mar 16 21:10:55 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-sync-label-2009-03-16
Changes since 1.43.4.5: +4 -1 lines
Diff to previous 1.43.4.5 , to branch point 1.43 , to next main 1.54
Sync to CVS HEAD, tag label-2009-03-16.

But don't sync Config.FreeBSD_gencgc, Config.x86_freebsd,
FreeBSD-os.c, and FreeBSD-os.h.  Let Alex sync those later.

The result seems to work as expected on Solaris and x86/linux.
Darwin (ppc or x86) untested.

Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Jan 23 13:38:59 2009 UTC (5 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_19f, label-2009-03-16, label-2009-03-25, merge-with-19f, release-19f-base, release-19f-pre1, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05
Branch point for: RELEASE-19F-BRANCH
Changes since 1.45: +5 -2 lines
Diff to previous 1.45
o Add a little text to unix-chmod docstring to describe the mode
  argument better.
o Make docstring for unix-mkdir mention unix-chmod instead of
  unix-fchmod for the mode argument.

(Patch mostly from GP Lisper, cmucl-help 2009/01/22.)

Revision 1.43.4.4.2.2 - (view) (annotate) - [select for diffs]
Sun Nov 2 13:30:01 2008 UTC (5 years, 5 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-utf16-extfmts-sync-2008-12
Changes since 1.43.4.4.2.1: +10 -7 lines
Diff to previous 1.43.4.4.2.1 , to branch point 1.43.4.4
Sync to snapshot 2008-11.  But we didn't sync code/extfmts.lisp or
iso8859-1.lisp and utf-8.lisp.  (I don't think we want those changes,
yet.)

Revision 1.43.4.5 - (view) (annotate) - [select for diffs]
Sat Nov 1 22:40:35 2008 UTC (5 years, 5 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-11, unicode-utf16-sync-2008-12
Changes since 1.43.4.4: +10 -7 lines
Diff to previous 1.43.4.4 , to branch point 1.43
Sync to snapshot 2008-11.

Revision 1.44.4.1 - (view) (annotate) - [select for diffs]
Fri Oct 10 18:36:48 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-packed-branch
CVS Tags: sse2-merge-with-2008-11, sse2-packed-2008-11-12
Changes since 1.44: +9 -5 lines
Diff to previous 1.44 , to next main 1.54
Merge changes from snapshot 2008-10.

Revision 1.44.2.1 - (view) (annotate) - [select for diffs]
Wed Oct 8 15:17:57 2008 UTC (5 years, 6 months ago) by rtoy
Branch: sse2-branch
CVS Tags: sse2-merge-with-2008-10
Changes since 1.44: +9 -5 lines
Diff to previous 1.44 , to next main 1.54
Merge changes from snapshot-2008-10.

Revision 1.45 - (view) (annotate) - [select for diffs]
Fri Oct 3 13:30:15 2008 UTC (5 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: merge-sse2-packed, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01
Changes since 1.44: +9 -5 lines
Diff to previous 1.44
Fix unix-openpty.  The parameters should not include amaster and
aalave, which are returned by openpty.  This matches the
implementation in unix.lisp.

Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Sep 24 09:42:31 2008 UTC (5 years, 6 months ago) by cshapiro
Branch: MAIN
CVS Tags: sse2-base, sse2-checkpoint-2008-10-01, sse2-packed-base
Branch point for: sse2-branch, sse2-packed-branch
Changes since 1.43: +2 -3 lines
Diff to previous 1.43
Use openpty to obtain a pseudo-terminal pair instead of searching for
an available devices on our own.  This resolves an issue with Linux
systems that do not populate /dev with BSD pseudo-terminal devices.

Revision 1.43.4.4.2.1 - (view) (annotate) - [select for diffs]
Wed Jul 2 01:22:07 2008 UTC (5 years, 9 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-utf16-extfmts-pre-sync-2008-11
Changes since 1.43.4.4: +54 -33 lines
Diff to previous 1.43.4.4
More external format support from Paul Foley.

To get external format support I think you need to add :extfmts to
*features*.  But you can't bootstrap with that feature yet.

Initial support for pathname translations to so that namestrings can
be converted to an appropriate format before being given to the OS.

Many, many new external formats added.

These changes are all on their own branch for now, until the bootstrap
issue is resolved.  And also so we don't lose these changes from Paul.

Revision 1.43.4.4 - (view) (annotate) - [select for diffs]
Sun May 25 13:57:00 2008 UTC (5 years, 10 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09
Branch point for: unicode-utf16-extfmt-branch
Changes since 1.43.4.3: +3 -1 lines
Diff to previous 1.43.4.3 , to branch point 1.43
run-program.lisp
o Add comment
o Forgot to terminate the C strings with nul.

unix.lisp:
unix-glibc2.lisp:
o Add comment

Revision 1.43.4.3 - (view) (annotate) - [select for diffs]
Wed May 21 23:08:14 2008 UTC (5 years, 10 months ago) by rtoy
Branch: unicode-utf16-branch
Changes since 1.43.4.2: +13 -1 lines
Diff to previous 1.43.4.2 , to branch point 1.43
o Correctly copy the string returned by readlink to a Lisp unicode
  string.
o Manually copy the Lisp unicode string to a C string in
  STRING-LIST-TO-STRVEC.

Both of these need work.

Revision 1.43.4.2 - (view) (annotate) - [select for diffs]
Mon May 19 21:16:21 2008 UTC (5 years, 11 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-string-support
Changes since 1.43.4.1: +3 -15 lines
Diff to previous 1.43.4.1 , to branch point 1.43
Revert these back to the base version.  They were correct to begin with.

Revision 1.43.4.1 - (view) (annotate) - [select for diffs]
Wed May 14 16:12:04 2008 UTC (5 years, 11 months ago) by rtoy
Branch: unicode-utf16-branch
Changes since 1.43: +15 -3 lines
Diff to previous 1.43
Initial checkin of unicode branch.  This is incomplete.

What works:
o Cross-compile works on sparc and a lisp.core is created.  This core
  is able to build code and appears to use 16-bit strings.

What doesn't:
o The sparc version is not able to rebuild itself.  It hangs when
  trying to create a new lisp.core.
o The x86 version will cross-compile, but worldload fails.  The files
  being loaded have bizarre names.  Probably some deftransform not
  working correctly.

Issues:
o Characters are still essentially 8 bits.  This needs to be fixed.
o All input/output is basically still 8 bits.  Only the low 8 bits of
  a character are output.  For input, characters are assumed to be
  8-bit.
o No external formats or anything is supported.
o Readtable support not done.


Use boot-2008-05-cross-unicode-{sparc,x86}.lisp to cross-compile the
unicode changes.

Untested whether this code can still be compiled without :unicode.

Changes:

code/array.lisp:
o Base-char strings are 16 bits wide, not 8.

code/c-call.lisp:
o Define versions of DEPORT-GEN, %NATURALIZE-C-STRING to "handle"
  unicode strings.

code/debug-info.lisp:
o Adjust READ-VAR-STRING to use 16-bit strings.  (Needed to at least
  to make the disassembler work.)

code/debug.lisp:
o Add address when printing out objects that can't be printed.
  (Generally useful and not just for unicode.)

code/fd-stream.lisp:
o Hack output routines to only use the low 8-bits of the character.
  (This needs significant work!)

code/filesys.lisp:
o Some debugging %primitive prints left in, but commented out, in
  PARSE-UNIX-NAMESTRING.

code/lispinit.lisp:
o Debugging %primitive print's for top-level forms.

code/load.lisp:
o Update FOP-SHORT-CHARACTER for unicode.  But still only output the
  low 8 bits of a character to a fasl/core.  This needs updating.
o Hack routines for symbols to explicitly read in the individual bytes
  of the symbol/package name because READ-N-BYTES isn't working for us
  right now.
o Update FOP-STRING/FOP-SMALL-STRING to read in 16-bit elements for
  strings.  Full 16-bit strings supported.
o Currently only write 8-bit chars for foreign names.  This needs
  fixing.

code/misc.lisp:
o Register :unicode runtime feature.

code/pathname.lisp:
o Debugging %primitive prints left in, but commented out.

code/stream.lisp:
o Replace %primitive byte-blt with REPLACE for now to get the desired
  characters.

code/unix-glibc2.lisp:
o Workaround for unix-current-directory to return 16-bit strings.
  (Not necessary anymore?)
o UNIX-RESOLVE-LINKS doesn't seem to like MAKE-STRING with an
  INITIAL-ELEMENT specified.  Remove initial-element.  (Needs fixing.)

code/unix.lisp:
o Same as for unix-glibc2.lisp

compiler/array-tran.lisp:
o Turn off the MAKE-STRING deftransform.
o Update ARRAY-INFO to create 16-bit arrays for an element-type of
  base-char.

compiler/dump.lisp:
o Only dump 8-bit chars to a fasl for foreign fixups.
o Explicitly dump the characters of symbol name.  DUMP-BYTES not quite
  working for us now?
o Make DUMP-SIMPLE-STRING dump all 16 bits of each character.
o Characters are dumped as the low 8 bits.  Needs fixing.

compiler/generic/new-genesis.lisp:
o STRING-TO-CORE writes 16-bit strings to the core file.
o FOP-SHORT-CHARACTER for unicode added, but we still only write 8
  bits to the core.  (Needs fixing.)
o COLD-LOAD-SYMBOL modified to read 16-bit characters from the fasl
  file to create a symbol.
o FOP-UNINTERNED-SYMBOL-SAVE and FOP-UNINTERNED-SMALL-SYMBOL-SAVE
  reads 16-bit characters for symbol names.
o FOP-STRING/FOP-SMALL-STRING reads 16-bit characters for strings.
o FOP-FOREIGN-FIXUP and FOP-FOREIGN-DATA-FIXUP still only read 8-bit
  characters for foreign names.  (Needs fixing.)

compiler/generic/vm-tran.lisp:
o New deftransforms to support unicode.  Not the most efficient but
  should be workable for now.  Old deftransforms didn't copy enough
  bits.
o Deftransform for concatenate completely disabled.  This needs
  fixing.

compiler/sparc/array.lisp:
o Change simple-string accessor to use halfword accessors instead of
  byte accessors.

compiler/x86/array.lisp:
o Change simple-string accessor to use halfword accessors instead of
  byte accessors.

lisp/Config.linux_gencgc:
o Define -DUNICODE as needed

lisp/Config.sun4_solaris_sunc
o Define -DUNICODE as needed.

lisp/alloc.c:
o alloc_string needs to allocate 16-bit strings

lisp/backtrace.c:
o Tell ldb backtrace how to print out 16-bit strings.  This is a hack!

lisp/gencgc.c:
o Tell GC how long the 16-bit strings are now.

lisp/interr.c:
o Not really needed but make debug_print (aka %primitive print)
  support all objects by calling ldb's print function to print the
  object.

lisp/os-common.c:
o Add hack convert_lisp_string to take a 16-bit Lisp string and create
  a new string containing just the low 8 bits of each Lisp character.
o OS foreign linkage stuff needs 8-bit strings, so we need to convert
  Lisp strings to the desired size.  Very hackish!

lisp/print.c:
o Teach ldb how to print Lisp 16-bit strings.  Currently, just dump
  out each byte of the 16-bit string.  This needs major work!

lisp/purify.c:
o Teach purify about the 16-bit strings.

Revision 1.43 - (view) (annotate) - [select for diffs]
Wed Nov 14 17:20:46 2007 UTC (6 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, unicode-utf16-base
Branch point for: release-19e-branch, unicode-utf16-branch
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
In UNIX-MMAP, replace FILE-OFFSET with (SIGNED-BYTE 32), since
unix-glibc2 doesn't define FILE-OFFSET.

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Nov 14 10:04:33 2007 UTC (6 years, 5 months ago) by cshapiro
Branch: MAIN
Changes since 1.41: +11 -15 lines
Diff to previous 1.41
* Change the way the x87 precision control is managed.  While in Lisp,
  the precision control will always be set to double precision.  For
  the duration of calls into C, the precision control will be set to
  the ABI default.  On Linux and Darwin this is double extended
  precision.  On all other platforms the precision control is left as
  double precision.  The specious FLOAT-ACCURACY declaration has been
  eliminated.

* Shorten the precision control field to 24-bits by disposing of the
  unexamined high order eight bits of the status word.  This compacts
  the code generated around floating point mode changes and reduces
  consing.

* Eliminate unnecessary uses of FLDENV and FSTENV.  We can substitute a
  use of FSTENV with FSTSW in FLOATING-POINT-MODES.  This reduces the
  number of cycles to access the relevant mode bits by a factor of
  thirty.  We cannot eliminate FLDENV in SET-FLOATING-POINT-MODES, but
  the common case does not require an update to the status word.  A
  fast path has been added to the VOP that improves the execution time
  by at least a factor of fifteen.

* Remove the precision control option to SET-FLOATING-POINT-MODES.  It
  is the responsibility of the compiler to generating code that yields
  correctly rounded results in double and single precision.

Revision 1.41 - (view) (annotate) - [select for diffs]
Fri Nov 9 19:24:36 2007 UTC (6 years, 5 months ago) by rtoy
Branch: MAIN
Changes since 1.40: +9 -2 lines
Diff to previous 1.40
Lynn Quam noted that callbacks did not work on his system.  This
happened because the callback trampoline used malloc'ed space which
were not executable by default.  Change this so that the trampoline is
executable.

code/unix.lisp, code/unix-glibc2.lisp:
o Add UNIX-MPROTECT

code/exports.lisp:
o Export UNIX-MPROTECT

code/alieneval.lisp:
o Make sure the malloc'ed trampoline area is executable.

general-info/release-19e.txt:
o Update

Revision 1.40 - (view) (annotate) - [select for diffs]
Tue Nov 6 07:16:05 2007 UTC (6 years, 5 months ago) by cshapiro
Branch: MAIN
Changes since 1.39: +6 -5 lines
Diff to previous 1.39
Type mmap as returning a system area pointer to accommodate pointers
above 2GB.  Also, always return the second value.  This makes the type
signature of unix-mmap consistent with other system calls.

Revision 1.39 - (view) (annotate) - [select for diffs]
Tue Nov 6 06:04:56 2007 UTC (6 years, 5 months ago) by cshapiro
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
The return value of the ioctl function is meaningful.  Make unix-ioctl
return this value instead of T if the call succeeds.

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Jul 31 10:08:47 2007 UTC (6 years, 8 months ago) by cshapiro
Branch: MAIN
CVS Tags: pre-telent-clx, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11
Changes since 1.37: +5 -10 lines
Diff to previous 1.37
Replace operating system private errno accessors with a common set of
errno accessors shared by all ports.  Change the definition of
UNIX:UNIX-ERRNO so that it always calls down to an accessor function.

Revision 1.37 - (view) (annotate) - [select for diffs]
Sat Apr 7 15:05:52 2007 UTC (7 years ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2007-05, snapshot-2007-06, snapshot-2007-07
Changes since 1.36: +15 -5 lines
Diff to previous 1.36
Use unix-mmap from unix.lisp because mmap can return "negative" values,
which means we can't use syscall.

Issue noted by Madhu, cmucl-imp, 2007-04.  This appears to have been
lost during the Great CVS Corruption.

Revision 1.35.2.1 - (view) (annotate) - [select for diffs]
Mon Dec 19 01:09:53 2005 UTC (8 years, 4 months ago) by rtoy
Branch: ppc_gencgc_branch
CVS Tags: ppc_gencgc_snap_2005-12-17, ppc_gencgc_snap_2006-01-06
Changes since 1.35: +4 -1 lines
Diff to previous 1.35 , to next main 1.54
Merge code from main branch of 2005-12-17 to ppc gencgc branch.  Still
doesn't work of course.

Revision 1.36 - (view) (annotate) - [select for diffs]
Mon Oct 10 20:31:13 2005 UTC (8 years, 6 months ago) by rtoy
Branch: MAIN
CVS Tags: double-double-array-base, double-double-array-checkpoint, double-double-base, double-double-init-%make-sparc, double-double-init-checkpoint-1, double-double-init-ppc, double-double-init-sparc, double-double-init-sparc-2, double-double-init-x86, double-double-irrat-end, double-double-irrat-start, double-double-reader-base, double-double-reader-checkpoint-1, double-double-sparc-checkpoint-1, release-19c, release-19c-base, release-19c-pre1, release-19d, release-19d-base, release-19d-pre1, release-19d-pre2, snapshot-2005-11, snapshot-2005-12, snapshot-2006-01, snapshot-2006-02, snapshot-2006-03, snapshot-2006-04, snapshot-2006-05, snapshot-2006-06, snapshot-2006-07, snapshot-2006-08, snapshot-2006-09, snapshot-2006-10, snapshot-2006-11, snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, release-19c-branch, release-19d-branch
Changes since 1.35: +4 -1 lines
Diff to previous 1.35
If the pathname for PROBE-FILE is actually a directory, have
PROBE-FILE return a pathname with directory and name components set
appropriately.  This is done by having UNIX-RESOLVE-LINKS append a
slash when the pathname actually names a directory and not a file.

Revision 1.35 - (view) (annotate) - [select for diffs]
Thu Jan 27 15:23:33 2005 UTC (9 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: ppc_gencgc_snap_2005-05-14, release-19b-base, release-19b-pre1, release-19b-pre2, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07, snapshot-2005-08, snapshot-2005-09, snapshot-2005-10
Branch point for: ppc_gencgc_branch, release-19b-branch
Changes since 1.34: +25 -1 lines
Diff to previous 1.34
Add support for datagram networking.  From a debian bug 290503,
forwarded to cmucl-imp, 2005-01-17.  Slightly modified the code
therein.

The functions are unix-recvfrom, unix-sendto, unix-shutdown,
inet-recvfrom, inet-sendto, inet-shutdown.

Revision 1.34 - (view) (annotate) - [select for diffs]
Sat Sep 11 19:18:01 2004 UTC (9 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01
Changes since 1.33: +15 -11 lines
Diff to previous 1.33
Port of SBCL's float-accuracy compilation policy.  Intended to make
double-float-epsilon actually be epsilon on x86.  No effect on other
ports.

The default precision is now 53-bit (double-float) instead of 64-bit
(80-bit floats).  However, to preserve C expectations, all calls to C
have the precision set to 64-bit.  This slows down calls to C, but we
try to make syscalls and such fast by not changing precision for the
call.

By default ext:float-accuracy is 3.

Use boot7.lisp to bootstrap.

Revision 1.33 - (view) (annotate) - [select for diffs]
Tue Aug 31 12:39:43 2004 UTC (9 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-09
Changes since 1.32: +25 -2 lines
Diff to previous 1.32
In UNIX-READ, go through and touch every page contained in BUF to make
sure the pages are not write-protected, because the kernel doesn't
like that.  Also update it to touch the beginning of every page.  Use
this idea in unix-glibc2.lisp.

This is a workaround for the bug reported by David Lichteblau on Aug
26, 2004 (for a long-standing bug fomr Dec 7, 1999).

Revision 1.32 - (view) (annotate) - [select for diffs]
Sun Jul 25 19:32:38 2004 UTC (9 years, 8 months ago) by pmai
Branch: MAIN
CVS Tags: snapshot-2004-08
Changes since 1.31: +9 -12 lines
Diff to previous 1.31
This commit adds the remainder of the outstanding PPC/Darwin port merge.

Besides support for Darwin foreign loading, and updates to the ppc-vm
and bsd-os files, this commit removes unix:unix-errno as a foreign variable
and replaces it with a function named unix-errno, and a (setf unix-errno).
This makes both glibc support cleaner, and enables ports like PPC/Darwin
(and the upcoming win32 port) which have no easy way of accessing errno as
a foreign variable able to support this functionality at all.

The current implementation of this is rather make-shift, it would likely
be much cleaner to go the SBCL way and mediate all access to errno via
defined functions in the C runtime.

As an interim feature, the frobbing of the float-trap-modes is currently
commented out for Darwin because of ongoing breakage.

Revision 1.31 - (view) (annotate) - [select for diffs]
Tue Jun 1 23:16:00 2004 UTC (9 years, 10 months ago) by cwang
Branch: MAIN
CVS Tags: prm-before-macosx-merge-tag, snapshot-2004-06, snapshot-2004-07
Changes since 1.30: +11 -10 lines
Diff to previous 1.30
amd64 changes

Revision 1.30 - (view) (annotate) - [select for diffs]
Sun Aug 31 10:50:15 2003 UTC (10 years, 7 months ago) by gerd
Branch: MAIN
CVS Tags: amd64-merge-start, lisp-executable-base, mod-arith-base, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, snapshot-2003-10, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05
Branch point for: lisp-executable, mod-arith-branch, release-19a-branch
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
	* src/code/signal.lisp (:SIGPROF): Set to 27 as kill -l tells.

	* src/code/unix-glibc2.lisp (unix-mmap): Likewise to unix.lisp.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Aug 8 11:37:21 2003 UTC (10 years, 8 months ago) by emarsden
Branch: MAIN
CVS Tags: dynamic-extent-base, sparc_gencgc_merge
Branch point for: dynamic-extent
Changes since 1.28: +3 -5 lines
Diff to previous 1.28
Add definitions for UNIX-SETUID and UNIX-SETGID.

Revision 1.28 - (view) (annotate) - [select for diffs]
Thu Jun 26 13:27:42 2003 UTC (10 years, 9 months ago) by toy
Branch: MAIN
CVS Tags: sparc_gencgc
Branch point for: sparc_gencgc_branch
Changes since 1.27: +125 -114 lines
Diff to previous 1.27
From Paul Foley:

Non-simple-streams-related changes:

* Stop commands which go through invoke-command-interactive from
  affecting the history variables.

* Fix some typos in comments

* When the GC closes a lost stream, revert to original contents

* Replace #+nil with #+(or) in unix*.lisp
  [NIL is a potentially valid feature name]


Simple-streams-related changes:

* Teach reader to handle simple-streams

* Add missing package prefixes in OPEN

* Add unix:unix-msync for force-output on mmapped files

* Add placeholder documentation

* Numerous changes in simple-streams implementation

* Add "external-formats" directory for external formats


Note: :BIG-ENDIAN or :LITTLE-ENDIAN should be put on *features*

Revision 1.27 - (view) (annotate) - [select for diffs]
Fri Jun 6 16:23:45 2003 UTC (10 years, 10 months ago) by toy
Branch: MAIN
Changes since 1.26: +36 -3 lines
Diff to previous 1.26
Initial import of Paul Foley's simple-streams implmentation.  Some
functionality is still missing, but Lisp streams and Gray streams
should behave unchanged.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sun Apr 13 16:48:10 2003 UTC (11 years ago) by emarsden
Branch: MAIN
CVS Tags: remove_negative_zero_not_zero
Changes since 1.25: +4 -5 lines
Diff to previous 1.25
 - Fix (declare (type directory foo)) declarations to %directory

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Apr 13 12:31:52 2003 UTC (11 years ago) by gerd
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24
	Don't export a class DIRECTORY from CL.  Fixes ANSI test case
	ALL-EXPORTED-CL-CLASS-NAMES-ARE-VALID.

	* src-types/code/unix.lisp (%directory): Struct renamed from
	directory, give it a :conc-name and :constructor for compatibility.

	* src-types/code/unix-glibc2.lisp: Likewise.

Revision 1.24 - (view) (annotate) - [select for diffs]
Sat Mar 8 17:51:52 2003 UTC (11 years, 1 month ago) by pmai
Branch: MAIN
CVS Tags: cold-pcl-base, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2
Branch point for: cold-pcl, release-18e-branch
Changes since 1.23: +23 -6 lines
Diff to previous 1.23
Fixes to deal with ABI differences between glibc 2.1 and glibc 2.2 for
the layout of struct dirent64 returned from readdir64.  Also added
readdir64 to the list of stubs, in order to force usage of the same
readdir64 definition at runtime as was used at compile-time.

Revision 1.23 - (view) (annotate) - [select for diffs]
Wed Mar 5 15:54:52 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22
In UNIX-LSEEK, return (values nil errno) on failure instead of
(values nil t). This fixes a silly mistake in the recent LFS changes.

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Mar 3 16:03:40 2003 UTC (11 years, 1 month ago) by pmai
Branch: MAIN
Changes since 1.21: +4 -13 lines
Diff to previous 1.21
Moved lockf over to lockf64, too, and enabled/exported unix-lockf and friends.
Also removed obsolete ustat struct (statfs is the replacement).

Revision 1.21 - (view) (annotate) - [select for diffs]
Sun Mar 2 15:48:31 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.20: +57 -33 lines
Diff to previous 1.20
Additions to the Large File Support, necessary in order to for large
files to be visible via DIRECTORY and friends: added stat64, fstat64,
lstat64, statfs64, readdir64. This requires additional transitions to
64-bit wide data types, and additions to linux-stubs.S, given that some
of the 64-bit stat variants are not accessible via dlsym().

Mostly from Pierre Mai.

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue Feb 25 15:15:55 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Fix typo GET-ERRNO -> UNIX-GET-ERRNO.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Feb 24 16:19:48 2003 UTC (11 years, 1 month ago) by emarsden
Branch: MAIN
Changes since 1.18: +26 -21 lines
Diff to previous 1.18
Add large-file support to the Unix interface, when running above glibc. This
is necessary to support access to files that are larger than 2GB. It is
implemented by calling 64-bit variants of certain library functions, such as
open64 instead of open. Certain library functions such as lseek are called
with a 64-bit offset, instead of a 32-bit offset.

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Nov 19 13:17:14 2002 UTC (11 years, 5 months ago) by toy
Branch: MAIN
Changes since 1.17: +31 -21 lines
Diff to previous 1.17
Alpha Linux support from Brian.

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Nov 15 15:08:12 2002 UTC (11 years, 5 months ago) by toy
Branch: MAIN
Changes since 1.16: +168 -50 lines
Diff to previous 1.16
From Eric Marsden:

   Replace the code that grovels /etc/passwd files with an interface
   to the standard user and group database access functions. This
   makes CMUCL work better on systems where user databases are
   accessed using NIS or LDAP.

   Add functions UNIX-GETPWUID, UNIX-GETPWNAM that return structures
   of type USER-INFO, and UNIX-GETGRGID and UNIX-GETGRNAM that
   return structures of type GROUP-INFO. The functions return NIL if
   the requested information is not available. On Linux/glibc and
   Solaris, reentrant versions of the functions are used. On FreeBSD
   we call the non-thread-safe versions.

Revision 1.16.2.1 - (view) (annotate) - [select for diffs]
Fri Oct 4 23:13:37 2002 UTC (11 years, 6 months ago) by pmai
Branch: UNICODE-BRANCH
Changes since 1.16: +14 -5 lines
Diff to previous 1.16 , to next main 1.54
Checked in Brian Spilsbury's experimental Unicode, locales, and dialect
support patchset.  This lives on its own branch, so that people can
play with it and tweak it, without disturbing 18e release engineering
on the main branch.  Bootstrapping has only been tried on LINKAGE_TABLE
x86/Linux builds.  A working cross-compile script is checked in under
bootfiles/19a/boot1-cross-unicode.lisp.  The script still leaves you
with some interactive errors, on the cross compile, which you should
answer with 2.  See the mailing list for more information.

Revision 1.16 - (view) (annotate) - [select for diffs]
Sat Aug 24 01:59:38 2002 UTC (11 years, 7 months ago) by pmai
Branch: MAIN
CVS Tags: LINKAGE_TABLE, PRE_LINKAGE_TABLE, UNICODE-BASE
Branch point for: UNICODE-BRANCH
Changes since 1.15: +10 -2 lines
Diff to previous 1.15
Fix by Bob Rogers to correctly handle files with pathnames longer
than 1024 characters, which also reduces consing for pathnames of
more typical lenghts.

Revision 1.2.2.7 - (view) (annotate) - [select for diffs]
Sat Mar 23 18:50:14 2002 UTC (12 years ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18d
Changes since 1.2.2.6: +31 -7 lines
Diff to previous 1.2.2.6 , to branch point 1.2 , to next main 1.54
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation
for release tagging 18d.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sun Mar 4 20:12:44 2001 UTC (13 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
Change most PROCLAIMs to DECLAIMs.

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Jan 23 17:21:33 2001 UTC (13 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.13: +11 -11 lines
Diff to previous 1.13
o Have unix-uname and unix-gethostname signal an error upon a syscall
  error rather than returning nil and the errno - these should never fail.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Jan 22 10:49:45 2001 UTC (13 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.12: +25 -1 lines
Diff to previous 1.12
o Implement unix-uname on linux, adding structure utsname.

Revision 1.2.2.6 - (view) (annotate) - [select for diffs]
Fri Aug 25 10:00:14 2000 UTC (13 years, 7 months ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18c
Changes since 1.2.2.5: +2 -2 lines
Diff to previous 1.2.2.5 , to branch point 1.2
In fcntl, make arg types to syscall agree with function arg declarations.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Aug 25 09:59:06 2000 UTC (13 years, 7 months ago) by pw
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
In fcntl, make arg types to syscall agree with function arg declarations.

Revision 1.2.2.5 - (view) (annotate) - [select for diffs]
Thu Aug 24 17:15:05 2000 UTC (13 years, 7 months ago) by pw
Branch: RELENG_18
Changes since 1.2.2.4: +3 -3 lines
Diff to previous 1.2.2.4 , to branch point 1.2
Change typespec for args to fcntl from (unsigned-byte 16) to (unsigned-byte 32)
as the third arg can be pointers or process id. Hemlock slave was having
problems with large PIDs.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Aug 24 17:10:28 2000 UTC (13 years, 7 months ago) by pw
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
Change typespec for args to fcntl from (unsigned-byte 16) to (unsigned-byte 32)
as the third arg can be pointers or process id. Hemlock slave was having
problems with large PIDs.

Revision 1.2.2.4 - (view) (annotate) - [select for diffs]
Thu Aug 17 12:58:07 2000 UTC (13 years, 8 months ago) by dtc
Branch: RELENG_18
Changes since 1.2.2.3: +2 -2 lines
Diff to previous 1.2.2.3 , to branch point 1.2
Correct the spelling of the poll system call; from Scott A Crosby.

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Aug 17 12:57:25 2000 UTC (13 years, 8 months ago) by dtc
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9
Correct the spelling of the poll system call; from Scott A Crosby.

Revision 1.2.2.3 - (view) (annotate) - [select for diffs]
Mon Jul 31 09:54:20 2000 UTC (13 years, 8 months ago) by dtc
Branch: RELENG_18
Changes since 1.2.2.2: +17 -2 lines
Diff to previous 1.2.2.2 , to branch point 1.2
Add alien function definitions for getsockopt and setsockopt,
exporting unix-getsockopt and unix-setsockopt from the UNIX package.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Jul 31 09:53:39 2000 UTC (13 years, 8 months ago) by dtc
Branch: MAIN
Changes since 1.8: +17 -2 lines
Diff to previous 1.8
Add alien function definitions for getsockopt and setsockopt,
exporting unix-getsockopt and unix-setsockopt from the UNIX package.

Revision 1.2.2.2 - (view) (annotate) - [select for diffs]
Tue May 23 16:36:53 2000 UTC (13 years, 10 months ago) by pw
Branch: RELENG_18
Changes since 1.2.2.1: +177 -100 lines
Diff to previous 1.2.2.1 , to branch point 1.2
This set of revisions brings the RELENG_18 branch up to HEAD in preparation
for an 18c release.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sat Dec 4 15:59:35 1999 UTC (14 years, 4 months ago) by dtc
Branch: MAIN
Changes since 1.7: +3 -4 lines
Diff to previous 1.7
Enable unix-sched-yield for Linux.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Sep 12 14:24:16 1999 UTC (14 years, 7 months ago) by dtc
Branch: MAIN
Changes since 1.6: +19 -17 lines
Diff to previous 1.6
Add useful implementations for unix-getrlimit and unix-setrlimit.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sat Mar 13 06:23:14 1999 UTC (15 years, 1 month ago) by dtc
Branch: MAIN
Changes since 1.5: +19 -12 lines
Diff to previous 1.5
Linux update: getpgrp takes no arguments; use setpgid for unix-setpgrp;
and add unix-setpgid.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Feb 22 11:26:42 1999 UTC (15 years, 1 month ago) by dtc
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4
Post Linux-Alpha patch cleanup.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Feb 20 15:54:39 1999 UTC (15 years, 2 months ago) by pw
Branch: MAIN
Changes since 1.3: +100 -57 lines
Diff to previous 1.3
Changes for Linux running on Alpha.
From: Julian Dolby <dolby@csag-226-8.UCSD.EDU>

  Enclosed below are diffs against the cvs repository as of Feb 12;
aside from minor changes like using different include files
(e.g. validate.h instead of x86-validate.h in Linux-os.c) and adding
alpha-linux specifics unix-glibc2.lisp, there are two code changes.

 The first is to signal handling. I had to put the POSIX-SIGS
ifdefs into places used by alpha but not by x86, and I ifdef'ed out
most of the linux #define kludges for signals for alpha linux, since
alpha linux uses OSF/1 signals rather than linux ones.

 The second is that the trick of or'ing 2 into the reg_ALLOC address
to cause faults does not work on alpha linux since the kernel traps
and handles the unaligned access; I did not find a way to change that
kernel behavior, so I changed the code to or (1<<63) into the address
to cause a seg fault, and then check, in the seg fault handler, to see
if the high-order address bits are set.

 One change I made is to the memory layout (lisp/alpha-validate.h and
compiler/alpha/parms.lisp); that change is not needed to make lisp run
on alpha linux, but is there because I wanted more heap space.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Feb 15 12:05:01 1999 UTC (15 years, 2 months ago) by dtc
Branch: MAIN
Changes since 1.2: +38 -13 lines
Diff to previous 1.2
Extend the define-ioctl-command macro to add the ioctl size and
direction when optionally specified, and to accept either a character
or an integer for the device number. Suggested by Brian
Spilsbury. Rework the ioctl definitions, fixing the SIOCSPGRP ioctl.

Revision 1.2.2.1 - (view) (annotate) - [select for diffs]
Thu Jul 2 11:22:36 1998 UTC (15 years, 9 months ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18b
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Include unix-glib2.lisp in RELENG_18 branch.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Jun 16 06:58:54 1998 UTC (15 years, 10 months ago) by dtc
Branch: MAIN
Branch point for: RELENG_18
Changes since 1.1: +2951 -1851 lines
Diff to previous 1.1
Linux port update from Peter VanEynde: revision of the glibc2 support,
better hemlock tty mode support.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri May 1 01:21:37 1998 UTC (15 years, 11 months ago) by dtc
Branch: MAIN
Update for the linux port from Peter VanEynde, adds preliminary
support for glibc2.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5