The NetBSD Project

CVS log for src/sys/arch/sparc64/sparc64/netbsd32_machdep_16.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / sparc64 / sparc64

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 6 20:42:56 2021 UTC (15 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.5: +5 -20 lines
Diff to previous 1.5 (colored)

COMPAT_NETBSD32 is all about running the 32-bit flavor of native
binaries on a 64-bit platform[*], as such:
- Make the logic about which "sendsig" flavor to call MI (as it is in the
  native 64-bit environment) and follow the same rules as the native 32-bit
  environment.
- Make COMPAT_NETBSD32 x COMPAT_16 work the same as it would in the
  native 32-bit environment by providing a netbsd32_sendsig_sigcontext_16_hook,
  rather than overriding the entire sendsig logic with a netbsd32_sendsig_hook.
- In netbsd32___sigaction_sigtramp(), make sure the compat_netbsd32_16
  module is loaded if the trampoline version specifies a sigcontext style
  handler, otherwise return EINVAL so that libc can try again with siginfo
  style.

[*] ...except for arm32, which uses it to mean "run 32-bit OABI binaries
from the 32-bit EABI environment".  Doing it this way was arguably a mistake,
but we are stuck with it for now, so support it by providing a machine-
dependent override for netbsd32_sendsig() that also disables the corresponding
logic in netbsd32___sigaction_sigtramp().

Fixes PR kern/56487.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 27 04:15:00 2021 UTC (15 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Use the signal trampoline version constants from <sys/signal.h>.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:54 2020 UTC (2 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3.4.2: +3 -3 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Merge changes from current as of 20200406

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 12 02:15:42 2019 UTC (3 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.

Note that we still have a per-hook localcount, since we need to count
individual references.

As discussed with riastradh@

Welcome to 9.99.22 !

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:48 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.3.4.1: +363 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.4.1, Fri Mar 1 11:06:55 2019 UTC (3 years, 11 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -363 lines
FILE REMOVED

file netbsd32_machdep_16.c was added on branch phil-wifi on 2019-06-10 22:06:48 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:55 2019 UTC (3 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:38 2019 UTC (4 years ago) by pgoyette
Branch: MAIN
Changes since 1.1: +363 -0 lines
Diff to previous 1.1 (colored)

Merge the [pgoyette-compat] branch

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Wed Jan 23 03:34:14 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.5: +4 -7 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit.  IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).

NFC intended, will verify with a bulk build and an atf test run.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Mon Jan 14 13:34:26 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.4: +4 -6 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)

Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Jan 1 05:38:34 2019 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.3: +3 -3 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Bring in some fixes from HEAD to address a couple of build breaks (in
i386 ipmi driver and sun2 rump tests).  Also fix a 'resolve conflict'
from previous commit in sparc64

With this, I am able to successfully build 66 out of 67 architectures
(the same architectures as handled by the releng build server.  The
only exception is evbarm64 which has a strange build failure during
the installcd step - the same failure occurs on HEAD.  It seems to be
something in the build itself, perhaps a difference between handling
of -O vs -M (MAKEOBJDIR vs MAKEOBJDIRPREFIX).

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:43 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.2: +3 -2 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Oct 2 22:00:15 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.1: +2 -5 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Remove conditional compilation based on COMPAT_SUNOS - just update the
sf_scp field regardless.  We've previously removed the comparison that
checks if a lwp's emul is emul_sunos, so now we can also remove the
include for "opt_sunos.h"

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 00:17:55 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +370 -0 lines
Diff to previous 1.1 (colored)

Split sparc64/netbsd32_machdep.c into pieces specific to versions _13
and _16

XXX Somehow this has broken compat_sunos - must investigate further

Revision 1.1, Sun Sep 30 00:17:55 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Branch point for: pgoyette-compat
FILE REMOVED

file netbsd32_machdep_16.c was initially added on branch pgoyette-compat.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>