The NetBSD Project

CVS log for src/sys/compat/freebsd/freebsd_syscall.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / freebsd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:06 2023 UTC (6 months, 1 week ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Arrange to update cached LWP credentials in userret() rather than during
syscall/trap entry, eliminating a test+branch on every syscall/trap.

This wasn't possible in the 3.99.x timeframe when l->l_cred came about
because there wasn't a reliable/timely way to force an ONPROC LWP running on
a remote CPU into the kernel (which is just about the only new thing in
this scheme).

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:58 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +10 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 6 17:42:28 2019 UTC (5 years ago) by kre
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, 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, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, isaki-audio2-base, isaki-audio2, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)


Revert previous (1.5) and return to the one before that (1.4), and
just allow things to be broken if this is used on a system where
register_t is int (32 bits) and long is 64 bits.    Badly broken...

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 6 17:27:58 2019 UTC (5 years ago) by kre
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)


Revert previous.   Instead change ufetch_long() to ufetch_int() in
both calls (and also remove the cast on the earlier).

These replaced fuword, to fetch a register_t (ie: int).

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 6 16:22:09 2019 UTC (5 years ago) by kre
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)


If using a cast for &code to make it a u_long * is acceptable a
few lines earlier, it should work here too.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 6 03:06:28 2019 UTC (5 years ago) by thorpej
Branch: MAIN
Changes since 1.2: +10 -4 lines
Diff to previous 1.2 (colored)

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:53 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.2.4.1: +150 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

update from HEAD

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:58 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.2.1: +150 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.2.4.1, Tue Aug 8 08:04:06 2017 UTC (6 years, 8 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.2: +0 -150 lines
FILE REMOVED

file freebsd_syscall.c was added on branch tls-maxphys on 2017-12-03 11:36:53 +0000

Revision 1.2.2.1, Tue Aug 8 08:04:06 2017 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +0 -150 lines
FILE REMOVED

file freebsd_syscall.c was added on branch nick-nhusb on 2017-08-28 17:51:58 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 8 08:04:06 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, nick-nhusb-base-20170825
Branch point for: tls-maxphys, phil-wifi, nick-nhusb
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 1 14:43:54 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN

Move arch/i386/i386/freebsd_* into compat/freebsd/. COMPAT_FREEBSD is
i386-specific.

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>