Commit Graph

902 Commits

Author SHA1 Message Date
joerg
d88dcd0fdc Fix ISO C compliance: strtol of "0xX" should give the largest valid
numeric prefix, which is 0.
2017-07-06 21:08:44 +00:00
skrll
1c01928083 Comment alignment. No functional change. 2017-04-13 07:49:52 +00:00
njoly
656b88f2b5 Fix commas in NAME section. 2017-03-07 19:10:07 +00:00
joerg
6fbd2a0be4 Switch from __ABICALLS__ to __mips_abicalls like upstream GCC does in
the generic MIPS target logic.
2017-02-25 21:16:50 +00:00
abhinav
b9a7c39267 Add entry for prop_ingest in the NAME section. 2017-02-12 16:18:48 +00:00
abhinav
3ed54b8d62 Use .Fn to refer a function name instead of Nm.
Also, use Xr to refer problib(3) in the HISTORY section instead of Nm.

While parsing the man pages, any .Nm occurrence gets replaced by the
value specified in the NAME section. Referencing individual function
names with .Nm was causing makemandb(8) to replicate the complete
NAME section for every such occurrence. This was leading to an
ugly looking snippet in apropos(1)'s output when searched for
any of these man pages.
2017-02-12 16:00:53 +00:00
pgoyette
accf810fc9 Add the *_size() variants to the .Nm list so it will be found by
apropos(1).

While here, reorder the function lists to improve readability.
2017-02-05 00:47:33 +00:00
wiz
4cb81f1b9d Use just the right amount of commas. 2017-02-04 23:32:43 +00:00
christos
0d0d359801 call the proper size functions 2017-01-29 02:29:06 +00:00
christos
fc9eacac98 missing brace 2017-01-29 02:07:57 +00:00
pgoyette
7a4cf709e4 Update for the new *_size() functions recently added. Mention the
implicit size limit (128KB) for the functions which do not take an
explicit limit argument.
2017-01-29 01:38:02 +00:00
christos
d185461508 add sized versions of the copyin ioctls 2017-01-29 00:16:42 +00:00
wiz
7d1bc67258 Sort errors. 2017-01-15 22:14:22 +00:00
pgoyette
4545115c63 Document E2BIG error when copying a large object. 2017-01-15 21:42:09 +00:00
christos
0c925f5c13 bump to 128K (because of npf large rules) and return E2BIG. 2017-01-15 18:15:45 +00:00
christos
7b9289ca62 fix standalone 2017-01-14 04:54:42 +00:00
christos
2663d7ef18 fix standalone 2017-01-14 04:53:25 +00:00
christos
8787f9ad9e fix rump 2017-01-14 03:35:21 +00:00
christos
53daaf6b96 fix weak symbols. More work needs to be done for memcpy/strlen etc. 2017-01-14 03:00:13 +00:00
christos
7602642e76 No need to include namespace.h; no other assembly code does. 2017-01-13 13:14:54 +00:00
christos
9616dacfef mark parameter as unused. 2017-01-10 23:06:06 +00:00
riastradh
9fe68096f1 Set *endptr in all paths out of strtoul and family.
XXX pullup-6
XXX pullup-7
2016-11-05 21:11:30 +00:00
christos
a9abaa493d Add strchrnul 2016-10-12 20:01:40 +00:00
scole
b83ebeba7f PR port-ia64/51261
Imported from FreeBSD with a minor change or two
2016-08-05 15:06:02 +00:00
pgoyette
fc18a7c1c6 Fix the previous fix - there's only one _node suffix here! 2016-06-28 06:47:35 +00:00
pgoyette
2e711daeb9 Missed a couple of function-call renames in previous 2016-06-28 05:21:15 +00:00
pgoyette
e987c735b0 The local copy of rb_tree code has been unused for quite some time. So
we can just remove it, and adjust callers to use the "real" rbtree
function names.

Addresses PR lib/44090
2016-06-28 05:18:11 +00:00
wiz
b17d0f9679 Punctuation nits.
(adding space makes sure they are not marked up)
2016-05-31 09:31:13 +00:00
pgoyette
66c6aeeb7a Add prop_array_add_cstring{,_no_copy} utility functions as suggested in
PR lib/46723 using the patch provided.  (Header file updates are mine.)
2016-05-31 09:29:25 +00:00
nakayama
28272b5830 Use sparc64 code always on 32-bit sparc64 kernels since %psr read/write
instructions used in sparc's atomic_cas.S don't exist in SPARC-V9.
2016-05-29 05:10:34 +00:00
christos
52ae8af955 fix infinite recursion through thr_getspecific 2016-02-28 02:56:39 +00:00
joerg
2988768446 Include the C11 atomic builtin alias. 2016-02-27 19:20:01 +00:00
joerg
b1b09da029 When using clang, do not use the sparc64 code as it doesn't provide the
full set of symbols and clang in -m32 defaults to sparcv8, not
sparcv8plus.
2016-02-27 19:19:33 +00:00
joerg
d88c8eaaf4 Include C11 load/store helpers. 2016-02-27 19:18:29 +00:00
dholland
7fd2abea9a whitespace 2016-02-08 05:27:24 +00:00
christos
98e9d5f901 Put back the rump-disabling of mcount for librump. Otherwise the world
breaks because the mcount assembly code is written to call __mcount via
the PLT.
2016-01-11 01:57:12 +00:00
ryo
c2acaf5fa5 __mcount_lock is moved to MI from MD.
because it is needed for all MULTIPROCESSOR arch, but it is exists only in i386 and amd64.

ok christos@, on tech-kern@
2016-01-10 09:04:32 +00:00
skrll
ed17c7296b Use gcc 4.4 and later operation for nand, i.e.
*ptr = ~(tmp & value) instead of *ptr = ~tmp & value

There was also another bug in sync_fetch_and_nand_8 which I've also fixed.

PR port-arm32/50513: Incorrect logic for atomic_nand_xx.S
2015-12-11 12:41:10 +00:00
christos
01e84cc634 comment out 0{b,B} handling. 2015-11-13 16:02:07 +00:00
christos
fd6ed0e3f6 Fix capitalization 2015-11-12 17:31:43 +00:00
christos
557b696a7a Recognize 0[bB] as binary (base 2) 2015-11-12 17:23:51 +00:00
nakayama
2c01e1e121 Fix 64-bit atomic operations on 32-bit kernel and userland, and add
support for missing __sync_*_8 builtins.
2015-10-18 02:28:07 +00:00
phx
028fd4a71a Fixed typo: propertly -> property. 2015-08-20 15:55:09 +00:00
mlelstv
2bb05299a6 fix comment 2015-07-10 20:16:01 +00:00
isaki
3940a87a45 Improve the code in __sync_bool_compare_and_swap_{1,2,4}.
- bccs is smaller and faster than bcc(.w) in this case.
- it can be used movql in this case (assembler optimise it though).
2015-07-04 07:11:45 +00:00
isaki
55d302de22 atomic_cas_{8,16}:
- Correct the wrong offset in stack.
__sync_bool_compare_and_swap_{1,2,4}:
 - Correct the wrong offset in stack.
 - D3 must be preserved in subroutines.
PR/49995.
2015-07-04 06:56:29 +00:00
matt
1ce375c3b8 Always use sync if mips3 or later or not using O32 ABI. (A little redundant
since not using O32 means you are using mips3 or later.)
2015-06-23 20:56:17 +00:00
matt
bb7982ddd7 #include "assym.h"
Don't include "assym.h" with _RUMPKERNEL defined.
2015-06-22 06:06:02 +00:00
matt
e4cf7e4e27 Back out last change; fixed in the correct place. 2015-06-07 15:06:24 +00:00
matt
91746eb77c Use ${COPT} so it properly emits the right features doing MKCOMPAT 2015-06-07 15:05:34 +00:00