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


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 5 19:41:06 2023 UTC (17 months, 2 weeks ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:58 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +10 -4 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Apr 6 17:42:28 2019 UTC (5 years, 11 months ago) by kre
Branches: 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-4-RELEASE, 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-1-RELEASE, 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines

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 - view: text, markup, annotated - select for diffs
Sat Apr 6 17:27:58 2019 UTC (5 years, 11 months ago) by kre
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5 lines

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 - view: text, markup, annotated - select for diffs
Sat Apr 6 16:22:09 2019 UTC (5 years, 11 months ago) by kre
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines

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 - view: text, markup, annotated - select for diffs
Sat Apr 6 03:06:28 2019 UTC (5 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:53 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +150 -0 lines
update from HEAD

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:58 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +150 -0 lines
Sync with HEAD

Revision 1.2.4.1
Tue Aug 8 08:04:06 2017 UTC (7 years, 7 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -150 lines
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 (7 years, 7 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -150 lines
file freebsd_syscall.c was added on branch nick-nhusb on 2017-08-28 17:51:58 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 8 08:04:06 2017 UTC (7 years, 7 months ago) by maxv
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 1 14:43:54 2017 UTC (7 years, 7 months ago) by maxv
Branches: MAIN
Move arch/i386/i386/freebsd_* into compat/freebsd/. COMPAT_FREEBSD is
i386-specific.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>