Up to [cvs.NetBSD.org] / src / sys / arch / mips / mips
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Sat Nov 6 20:42:56 2021 UTC (14 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.6: +5 -19
lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Wed Oct 27 04:15:00 2021 UTC (15 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +4 -3
lines
Diff to previous 1.5 (colored)
Use the signal trampoline version constants from <sys/signal.h>.
Revision 1.3.4.4 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:00 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.3.4.3: +0 -1
lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.3.4.3 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:45 2020 UTC (2 years, 9 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)
Merge changes from current as of 20200406
Revision 1.5 / (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.4: +3 -3
lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Wed Nov 13 16:11:27 2019 UTC (3 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.3: +2 -3
lines
Diff to previous 1.3 (colored)
Clean-up unnecessary inclusions of opt_coredump.h
Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:30 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.3.4.1: +110 -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, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -110
lines
FILE REMOVED
file netbsd32_machdep_16.c was added on branch phil-wifi on 2019-06-10 22:06:30 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 1 11:06:55 2019 UTC (3 years, 10 months ago) by pgoyette
Branch: MAIN
CVS Tags: 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: +110 -0
lines
Diff to previous 1.1 (colored)
Merge the [pgoyette-compat] branch
Revision 1.1.2.10 / (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.9: +4 -7
lines
Diff to previous 1.1.2.9 (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.9 / (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.8: +4 -6
lines
Diff to previous 1.1.2.8 (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.8 / (download) - annotate - [select for diffs], Sat Sep 29 10:18:29 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.7: +4 -4
lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored)
Use proper names for netbsd32_machdep_md_16_{init,fini}() routines
Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sat Sep 29 10:11:34 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.6: +3 -2
lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored)
Add prototype for the default netbsd32_sendsig_siginfo()
Revision 1.1.2.6 / (download) - annotate - [select for diffs], Sat Sep 29 10:02:37 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.5: +3 -3
lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored)
Here there is no 32-bit specific sendsig_sigcontext() so just use the native one.
Revision 1.1.2.5 / (download) - annotate - [select for diffs], Sat Sep 29 09:44:53 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.4: +4 -87
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored)
Remove netbsd32_sendsig_sigcontext() - it belongs in netbsd32_machdep.c
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sat Sep 29 07:47:46 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.3: +4 -2
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)
Don't fall off the end of a non-void function. (It used to be void, but now returns an int to conform with requirements of the MP-safe module_hook stuff.)
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sat Sep 29 07:36:44 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.2: +9 -9
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
Remove unnecesasry #ifdef COMPAT_16 (this file won't get selected unless COMPAT_16 is defined). Rename some functions for consistency with other architectures' machdep code. Provide some prototypes/declarations. Use __func__ in a diagnostic message rather than hardcoding it in the message string.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Sep 29 06:55:33 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.1: +5 -2
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
#include the module hook stuff add prototype for netbsd32_sendsig_sigcontext
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Sep 29 06:31:02 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +192 -0
lines
Diff to previous 1.1 (colored)
Add glue for netbsd32 compat_13 and _16 modules
Revision 1.1, Sat Sep 29 06:31:02 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.