/[cmucl]/src/code/bsd-os.lisp
ViewVC logotype

Log of /src/code/bsd-os.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to GIT-CONVERSION: (view) (annotate)
Sticky Tag:

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Jul 30 22:51:58 2010 UTC (3 years, 8 months 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-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
Branch point for: RELEASE-20B-BRANCH, cross-sol-x86-branch, cross-sparc-branch
Changes since 1.16: +4 -4 lines
Diff to previous 1.16
First cut at executable images on Darwin/x86.  The resulting
executable appears to work!

bootfiles/20a/boot-2010-07-1.lisp:
o Add :executable for darwin/x86.

code/bsd-os.lisp:
o Make :elf and :mach-o runtime features too.
o Register :executable of :executable is defined.

lisp/Config.x86_darwin:
o Need mach-o.c
o Add exec-final.c

lisp/lisp.c:
o Don't include elf.h if we're on Darwin since Darwin uses Mach-O, not
  ELF.
o For Darwin, we get the initial function address from
  initial_function_addr, not from &initial_function_addr, like for
  Linux.

lisp/save.c
o Don't include libgen.h and elf.h on Darwin.

tools/linker-x86.sh:
o Update to support Darwin.

tools/make-main-dist.sh:
o Add support for executables on Darwin.

lisp/mach-o.c:
o Initial support for writing Mach-O files for the Lisp spaces.
o Initial support for reading a Mach-O executable to find and map the
  Lisp spaces.

Revision 1.16 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:43 2010 UTC (3 years, 11 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: sparc-tramp-assem-branch
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
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.15 - (view) (annotate) - [select for diffs]
Mon Apr 19 02:18:03 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14
Remove _N"" reader macro from docstrings when possible.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:18:58 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.13: +8 -5 lines
Diff to previous 1.13
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.13 - (view) (annotate) - [select for diffs]
Sat Oct 10 03:00:03 2009 UTC (4 years, 6 months ago) by agoncharov
Branch: MAIN
CVS Tags: amd64-dd-start, intl-2-branch-base, intl-branch-base, pre-merge-intl-branch, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03
Branch point for: amd64-dd-branch, intl-2-branch, intl-branch
Changes since 1.12: +5 -7 lines
Diff to previous 1.12
Remove the "freebsd4" feature from the, well, FreeBSD product

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Jun 11 16:03:57 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.11: +1 -2 lines
Diff to previous 1.11
Merge Unicode work to trunk.  From label
unicode-utf16-extfmt-2009-06-11.

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Jul 9 14:17:57 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
CVS Tags: RELEASE_19f, label-2009-03-16, label-2009-03-25, merge-sse2-packed, merge-with-19f, pre-telent-clx, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, release-19f-base, release-19f-pre1, snapshot-2007-08, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, 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, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, sse2-base, sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base, unicode-snapshot-2009-05, unicode-utf16-base, unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-extfmts-sync-2008-12, unicode-utf16-string-support, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-sync-2008-11, unicode-utf16-sync-2008-12, unicode-utf16-sync-label-2009-03-16
Branch point for: RELEASE-19F-BRANCH, release-19e-branch, sse2-branch, sse2-packed-branch, unicode-utf16-branch, unicode-utf16-extfmt-branch
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
Change "register-lisp-feature" to "register-lisp-runtime-feature" for executable feature.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sat Jul 7 17:17:40 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.9: +4 -1 lines
Diff to previous 1.9
Add executable feature, conditionalize stuff

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Jul 6 08:04:38 2007 UTC (6 years, 9 months ago) by cshapiro
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8
Import x86 Darwin port.

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jul 13 13:40:55 2005 UTC (8 years, 9 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-08, snapshot-2005-09, snapshot-2005-10, 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, snapshot-2007-05, snapshot-2007-06, snapshot-2007-07
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, release-19c-branch, release-19d-branch
Changes since 1.7: +6 -1 lines
Diff to previous 1.7
Build support for FreeBSD, based on patches from Eduardo Munoz.

code/bsd-os.lisp:
o Automatically define :freebsd4 and :elf, if compiling lisp has them
  defined.

tools/create-target.sh:
o Support FreeBSD.

tools/setenv-scripts/freebsd-features.lisp:
o New file with default (commented out) example for FreeBSD.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Jul 25 19:32:37 2004 UTC (9 years, 8 months ago) by pmai
Branch: MAIN
CVS Tags: ppc_gencgc_snap_2005-05-14, release-19b-base, release-19b-pre1, release-19b-pre2, snapshot-2004-08, snapshot-2004-09, snapshot-2004-10, snapshot-2004-11, snapshot-2004-12, snapshot-2005-01, snapshot-2005-02, snapshot-2005-03, snapshot-2005-04, snapshot-2005-05, snapshot-2005-06, snapshot-2005-07
Branch point for: ppc_gencgc_branch, release-19b-branch
Changes since 1.6: +11 -3 lines
Diff to previous 1.6
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.6 - (view) (annotate) - [select for diffs]
Mon Nov 18 13:52:24 2002 UTC (11 years, 5 months ago) by toy
Branch: MAIN
CVS Tags: amd64-merge-start, cold-pcl-base, dynamic-extent-base, lisp-executable-base, mod-arith-base, prm-before-macosx-merge-tag, release-18e, release-18e-base, release-18e-pre1, release-18e-pre2, release-19a, release-19a-base, release-19a-pre1, release-19a-pre2, release-19a-pre3, remove_negative_zero_not_zero, snapshot-2003-10, snapshot-2003-11, snapshot-2003-12, snapshot-2004-04, snapshot-2004-05, snapshot-2004-06, snapshot-2004-07, sparc_gencgc, sparc_gencgc_merge
Branch point for: cold-pcl, dynamic-extent, lisp-executable, mod-arith-branch, release-18e-branch, release-19a-branch, sparc_gencgc_branch
Changes since 1.5: +7 -3 lines
Diff to previous 1.5
From Eric Marsden:

   Under Linux, the SOFTWARE-VERSION function now returns information
   on the current kernel taken from /proc/version (instead of "n/a").
   Under Linux and xBSD, the internal GET-PAGE-SIZE function obtains
   the page size from the operating system via the getpagesize()
   library call, instead of returning a hard-coded value.

A few random typos were also fixed.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Jan 28 20:17:08 2002 UTC (12 years, 2 months ago) by pmai
Branch: MAIN
CVS Tags: LINKAGE_TABLE, PRE_LINKAGE_TABLE, UNICODE-BASE
Branch point for: UNICODE-BRANCH
Changes since 1.4: +4 -2 lines
Diff to previous 1.4
Added specialised port to NetBSD (1.5.2) on x86.  Since the code-base
was already cleaned up with the OpenBSD port, this doesn't require
massive changes.

Since current NetBSD is ELF-based by default, we don't make use of the
ELF feature, or in other words:  The presence of the NetBSD feature
implies ELF, since there is no support for non-ELF NetBSD.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Dec 6 19:15:40 2001 UTC (12 years, 4 months ago) by pmai
Branch: MAIN
Changes since 1.3: +5 -3 lines
Diff to previous 1.3
Added specialised port to OpenBSD (2.9).  Many parts of the original
code which were previously conditionalized on :FreeBSD, are now
conditionalized on :BSD instead, with the :BSD feature now implying a
4.4BSD(lite2) derived OS.  This should make future BSD-ports easier.
FreeBSD and OpenBSD are differentiated by having either :FreeBSD or
:OpenBSD on the features list.

Currently the OpenBSD port does not have working ELF support, because
OpenBSD 2.9 is still non-ELF by default.  So don't put ELF on the
features list when building for OpenBSD, or fix the code to work
correctly in this case instead.

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Mar 10 18:28:43 1998 UTC (16 years, 1 month ago) by dtc
Branch: MAIN
Changes since 1.2: +12 -6 lines
Diff to previous 1.2
Cache the result of software-version in *software-version*.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Mar 3 12:20:32 1998 UTC (16 years, 1 month ago) by pw
Branch: MAIN
Changes since 1.1: +5 -6 lines
Diff to previous 1.1
Fix (software-version) to return just the version string, and
(software-type) to return "FreeBSD" if appropriate.

Revision 1.1 - (view) (annotate) - [select for diffs]
Sat Jan 18 14:30:43 1997 UTC (17 years, 3 months ago) by ram
Branch: MAIN
CVS Tags: RELEASE_18a
Branch point for: RELENG_18
Werkowskis source kit 1.03.7

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