ViewVC logotype

Log of /src/lisp/OpenBSD-os.c

Parent Directory Parent Directory | Revision Log Revision Log

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

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Sep 1 05:18:26 2011 UTC (2 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, snapshot-2011-09
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 , to selected
Add os_init0 to allow for some really early OS inits.

On Linux, os_init can re-exec lisp to set up the correct personality.
Not normally a problem, but if any output happens before os_init is
called, the output appears to happen twice.  So add os_init0 to do
this early on, before any output.  This is a bit of a kludge.

o Call os_init0 early in main.

o Move the personality stuff from os_init to os_init0.

o Add dummy implementation of os_init0.  These OSes don't (currently)
  need anything special.

o Declare os_init0.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Feb 1 16:04:43 2010 UTC (4 years, 2 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20b, cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, intl-2-branch-base, intl-branch-2010-03-18-1300, intl-branch-base, intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000, post-merge-intl-branch, pre-merge-intl-branch, release-20b-pre1, release-20b-pre2, snapshot-2010-03, snapshot-2010-04, 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, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, cross-sol-x86-branch, cross-sparc-branch, intl-2-branch, intl-branch, sparc-tramp-assem-branch
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 , to selected
o Follow CMUCL coding style.
o Argv and envp are const char*.

o argv and envp are const char *.

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Feb 1 15:16:09 2010 UTC (4 years, 2 months ago) by rtoy
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 , to selected
Patch from Stelian Ionescu on cmucl-imp, 2010/02/01:

    When run on a kernel compiled without COMPAT_BRK CMUCL segfaults,
    so I copied the kludge used by SBCL - check the current
    personality, and if necessary, enable ADDR_NO_RANDOMIZE and
    re-exec itself.

o Check for personality and rexec if necessary.

o New prototype for os_init needed because it needs argv and envp.

o Update call to os_init, which needs argv and envp now.

Revision - (view) (annotate) - [select for diffs]
Fri Dec 19 01:31:34 2008 UTC (5 years, 3 months 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, unicode-utf16-extfmts-sync-2008-12
Changes since +0 -2 lines
Diff to previous , to branch point 1.6 , to next main 1.11
Merge changes from utf16 branch to update to snapshot 2008-12.

Revision - (view) (annotate) - [select for diffs]
Thu Dec 18 21:50:19 2008 UTC (5 years, 3 months 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-2008-12, unicode-utf16-sync-label-2009-03-16
Changes since +0 -2 lines
Diff to previous , to branch point 1.6 , to next main 1.11 , to selected
Merge Snapshot 2008-12 to this branch.  Some tweaks needed in
boot-2008-05-cross-unicode-x86.lisp and the Config files.  FreeBSD and
Darwin/x86 untested, but Linux and Solaris build ok.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Dec 7 02:33:55 2008 UTC (5 years, 4 months ago) by agoncharov
Branch: MAIN
CVS Tags: RELEASE_19f, RELEASE_20a, amd64-dd-start, label-2009-03-16, label-2009-03-25, merge-with-19f, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, release-19f-base, release-19f-pre1, release-20a-base, release-20a-pre1, snapshot-2008-12, snapshot-2009-01, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, snapshot-2009-07, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, snapshot-2010-02, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-19F-BRANCH, RELEASE-20A-BRANCH, amd64-dd-branch, portable-clx-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 , to selected
Instead of defining DPRINTF in every X-os.c file, do it once, in os.h

Revision - (view) (annotate) - [selected]
Sun Nov 2 13:30:03 2008 UTC (5 years, 5 months ago) by rtoy
Branch: unicode-utf16-extfmt-branch
Changes since 1.6: +2 -16 lines
Diff to previous 1.6
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,

Revision - (view) (annotate) - [select for diffs]
Sat Nov 1 22:40:36 2008 UTC (5 years, 5 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-sync-2008-11
Changes since 1.6: +2 -16 lines
Diff to previous 1.6 , to selected
Sync to snapshot 2008-11.

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Sep 16 08:52:31 2008 UTC (5 years, 7 months ago) by cshapiro
Branch: MAIN
CVS Tags: merge-sse2-packed, snapshot-2008-10, snapshot-2008-11, 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
Branch point for: sse2-branch, sse2-packed-branch
Changes since 1.6: +2 -16 lines
Diff to previous 1.6 , to selected
Move the gencgc write barrier code into its own function.

Revision 1.6 - (view) (annotate) - [select for diffs]
Mon Jul 30 07:24:46 2007 UTC (6 years, 8 months ago) by cshapiro
Branch: MAIN
CVS Tags: pre-telent-clx, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, 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, unicode-utf16-base, unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-string-support, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09
Branch point for: release-19e-branch, unicode-utf16-branch, unicode-utf16-extfmt-branch
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 , to selected
Remove the attempted include of a local signal.h header.  Replace this
quoted include with an include of the system signal.h where needed.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sun Jul 15 21:33:14 2007 UTC (6 years, 9 months ago) by cshapiro
Branch: MAIN
Changes since 1.4: +1 -14 lines
Diff to previous 1.4 , to selected
Remove unused context saving and setting functions.

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Jun 12 03:21:46 2007 UTC (6 years, 10 months ago) by cshapiro
Branch: MAIN
CVS Tags: snapshot-2007-07
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 , to selected
Remove no-op compatibility macros.

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Nov 7 11:24:12 2006 UTC (7 years, 5 months ago) by cshapiro
Branch: MAIN
CVS Tags: snapshot-2006-12, snapshot-2007-01, snapshot-2007-02, snapshot-2007-03, snapshot-2007-04, snapshot-2007-05, snapshot-2007-06
Changes since 1.2: +11 -11 lines
Diff to previous 1.2 , to selected
Make SC_REG expand out to an lvalue on the x86 and AMD64.  Define a
reg_NARGS macro on these targets and use SC_REG to replace open-coded
assignments to platform specific sigcontext members in interrupt.c and
os-common.c.  This code could be simplified further by merging the x86
and AMD64 cases into the general case.

Revision - (view) (annotate) - [select for diffs]
Mon Dec 19 01:10:11 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.1: +122 -102 lines
Diff to previous 1.1 , to next main 1.11 , to selected
Merge code from main branch of 2005-12-17 to ppc gencgc branch.  Still
doesn't work of course.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Sep 15 18:26:50 2005 UTC (8 years, 7 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-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
Branch point for: double-double-array-branch, double-double-branch, double-double-reader-branch, release-19c-branch, release-19d-branch
Changes since 1.1: +122 -102 lines
Diff to previous 1.1 , to selected
Indent all source files using GNU indent using the config in

Revision - (view) (annotate) - [select for diffs]
Sat Mar 23 18:50:59 2002 UTC (12 years ago) by pw
Branch: RELENG_18
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 , to next main 1.11 , to selected
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation
for release tagging 18d.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Dec 6 19:15:44 2001 UTC (12 years, 4 months ago) by pmai
Branch: MAIN
CVS Tags: LINKAGE_TABLE, PRE_LINKAGE_TABLE, UNICODE-BASE, amd64-merge-start, cold-pcl-base, dynamic-extent-base, lisp-executable-base, mod-arith-base, ppc_gencgc_snap_2005-05-14, 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, release-19b-base, release-19b-pre1, release-19b-pre2, 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, 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, snapshot-2005-08, snapshot-2005-09, sparc_gencgc, sparc_gencgc_merge
Branch point for: RELENG_18, UNICODE-BRANCH, cold-pcl, dynamic-extent, lisp-executable, mod-arith-branch, ppc_gencgc_branch, release-18e-branch, release-19a-branch, release-19b-branch, sparc_gencgc_branch
Diff to selected
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.

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