Commit Graph

36160 Commits

Author SHA1 Message Date
thorpej
0916ab379b Sync w/ FreeBSD-current-980122:
- Rewrite fxp_start() for better clarity and efficiency.
- Remove unused #includes.
1998-01-22 08:31:33 +00:00
jtc
a1de770ebd Use rwlocks as appropriate. 1998-01-22 08:21:45 +00:00
jtc
499d79dfdc Add support for multiple reader-single writer locks which will be used
in stdio.  Although there is no POSIX.1 lock of this type, XPG 4.2 has
specified one that is suitable for our purposes and that we'll have to
implement anyway.
1998-01-22 08:20:05 +00:00
thorpej
ed13bba51f Fix two register mapping problems:
- Fall back on i/o space if mem space isn't available.
- Card reports mem space as prefetchable, but mapping the card into dense
  space fails in nasty ways on the Alpha.  Force mapping into sparse
  space by clearing the BUS_SPACE_MAP_CACHEABLE bit (XXX!).
1998-01-22 08:04:56 +00:00
jtc
a819ccdae1 import tzdata1998b 1998-01-22 07:20:01 +00:00
jtc
3e249d1c97 import tzdata1998a 1998-01-22 07:19:24 +00:00
jtc
c9f8519040 sync with tzcode1998b 1998-01-22 07:17:18 +00:00
cgd
193c1d2147 (1) make sure targets are built in a parallel-make-safe way
(2) make sure softfloat.po is compiled with the right profiling
    flag (-pg), and softfloat.so is compiled with the right
    PIC flags (${CPICFLAGS}).
1998-01-22 07:17:16 +00:00
cgd
ecb2fd7aad define INLINE to be "static inline" rather than "extern inline", so that
if this code is compiled without optimization the not-inlined functions
will be included (statically) in the object files, and now show up
as undefined references.
1998-01-22 07:14:17 +00:00
jtc
1c631d03ad sync with tzcode1998a 1998-01-22 07:06:56 +00:00
perry
e1be488957 merge with lite-2 1998-01-22 07:02:52 +00:00
jtc
b559f98b9b Use FLOCKFILE() and FUNLOCKFILE() macros from reentrant.h so that stdio
can be made thread-safe.
1998-01-22 06:35:01 +00:00
ross
80605d61a2 Commit outstanding mods prior to gwr's big gnu feedback pass. In this case,
fix a few macro bugs and remove some incorrectly applied character
restrictions.
1998-01-22 02:48:44 +00:00
cgd
ff65e57285 fix typo: s/max-address/mac-address/ 1998-01-22 01:47:43 +00:00
gwr
15d917d9fe MMALLOC_DIR and MMALLOC_CFLAGS are now substitited by configure. 1998-01-22 01:34:29 +00:00
thorpej
2ee3e0153d Generate dependencies on the exec format options EXEC_AOUT, EXEC_ECOFF,
EXEC_ELF32, EXEC_ELF64, and EXEC_SCRIPT.
1998-01-22 01:32:14 +00:00
gwr
7d3ce87895 Add support for the option: --with-mmalloc=somewhere
which defaults to using ../mmalloc if that exists, or
else it sets MMALLOC_CFLAGS = -DNO_MMALLOC
(so build without ../mmalloc "just works":)
1998-01-22 01:32:00 +00:00
thorpej
ea9ade0496 Generate dependencies on the INSECURE option. 1998-01-22 01:18:30 +00:00
thorpej
dd4cb910db Generate dependenices on the XSERVER option. 1998-01-22 01:16:23 +00:00
cgd
a014b499f1 add definitions for the mask registers. fix I/O size definitions. 1998-01-22 00:57:10 +00:00
fvdl
dba168ad94 Refuse to create entries in the dir cache for offset 0. This is a special
case anyway, and amd(8) erroneously returns some entries with cookie 0.
Fixes PR 4844
1998-01-22 00:53:59 +00:00
thorpej
122364206a Generate dependencies on the DUMMY_NOPS option. 1998-01-22 00:44:06 +00:00
thorpej
54a35a6019 Generate dependencies on the USER_LDT option. 1998-01-22 00:39:16 +00:00
cgd
f32681cab6 copy memchr.c, index.c, and rindex.c to libkern 1998-01-22 00:17:11 +00:00
mark
09be9c026e Only update the intrcnt array if IRQSTATS is defined. 1998-01-22 00:04:10 +00:00
thorpej
9ba18e2255 Generate dependencies on the MATH_EMULATE option. 1998-01-21 23:29:08 +00:00
mark
2b66ad2b89 Implement severl missing prototypes. 1998-01-21 22:55:19 +00:00
thorpej
dc1a41a889 Document MALLOCLOG and MALLOCLOGSIZE options. 1998-01-21 22:54:56 +00:00
mark
330df4c754 Added missing prototypes. 1998-01-21 22:51:38 +00:00
thorpej
9c3ef8899b Don't conditionally define the sgmap_log_entry structure, and turn off
SGMAP logging by default.
1998-01-21 22:36:10 +00:00
mark
b0e99b3251 Cleanup various debugging printf format strings. 1998-01-21 22:34:39 +00:00
thorpej
3d9cd8a05a Extent names are const. 1998-01-21 22:34:38 +00:00
mark
dfbf823cea Cleanup various debugging printf format strings. 1998-01-21 22:34:38 +00:00
thorpej
6428828e64 Const'ify the extent name. 1998-01-21 22:33:49 +00:00
mark
a108da3f00 Cleanup function prototyping in disasm_interface structure. 1998-01-21 22:33:10 +00:00
mark
ce1e283415 Axe some unused variables. 1998-01-21 22:28:12 +00:00
mark
74ff2dac9d Cleaned up various debugging printf format strings. 1998-01-21 22:25:37 +00:00
thorpej
66abe4217c Implement an activity log for malloc() and free(), useful for tracking
down "Data modified on freelist" and "muliple free" problems.

The log is activated by the MALLOCLOG option, and the size of the
event ring buffer is controlable via the MALLOGLOGSIZE option (default
is 100000 entries).

From Chris Demetriou, cleaned up a little by me per suggestions in the
e-mail from Chris that contained the code.
1998-01-21 22:24:32 +00:00
mark
52adaefc18 Include sys/systm.h for various prototypes. 1998-01-21 22:20:02 +00:00
cgd
4369378a6c add rules like those in libc to build strchr() and strrchr() (the latter
is being added to libkern by this commit).  remove strchr.c from
archs' Makefile.inc files to go along with this.  (If an arch has
a .S version, it should be copied down and added to the apropriate
Makefile.inc.)
1998-01-21 21:23:18 +00:00
cgd
61a021f836 sync with libc 1998-01-21 21:17:08 +00:00
cgd
0bc1621f94 add strrchr 1998-01-21 21:16:52 +00:00
cgd
9bdf198379 add appropriate #ifdefs (kernel includes) so that these files can
be copied to libkern and built without modification.
1998-01-21 21:13:09 +00:00
cgd
40894919ec sync with libc version. (just rcs id changes.) 1998-01-21 19:43:23 +00:00
lukem
61eb3f4761 * store st_dev of filesystem not quotafile. (inspired by an openbsd commitmsg)
* minor KNF, fix typos, use strchr() not index()
* check return value of malloc() and use strdup() where appropriate
1998-01-21 11:37:16 +00:00
lukem
33a9f67f94 enable el_parse for unknown commands (so editrc(5) commands can be used directly 1998-01-21 11:14:34 +00:00
lukem
63177b84ae in el_parse(), use a temporary buffer to store the program name when
comparing, preventing trashing of argv[0]. remove note in man page
warning of former behaviour.
1998-01-21 11:12:34 +00:00
christos
e3f5fb922f BSD4_4 is a standard symbol in <sys/param.h>; make sure that files
that need this defined, include <sys/param.h> and don't define it in
the Makefile. Add a comment to that effect.
1998-01-21 10:47:37 +00:00
lukem
78b73237b4 fix compile errors if FIONREAD is defined. noted by
David Holland <dholland@bordeaux.eecs.harvard.edu> in [bin/4012].
1998-01-21 10:12:22 +00:00
mikel
332409ce59 update to match new reality (/usr/lib/supfiles -> /etc/supfiles) 1998-01-21 09:10:40 +00:00