Fixed bitrot (__dead went away; EOF is now wrong for the getopt failure
value).
Moved sleep command to the end of the main loop to avoid mismatch between
main loop and the report loop. There is an extra iteration that could be
used to calibrate the loop overhead, but was used to report wrong results.
Fixed usage message.
Use the name argument almost the same in all LKM types. Maintain
the current behavior for the external (e.g., modstat) name for DEV,
EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only
#name. This is a candidate for change and I vote just the name without
the "_mod".
Change the DISPATCH macro to MOD_DISPATCH for consistency with the
other macros.
Add an LKM_ANON #define to eliminate the magic -1 and associated
signed/unsigned warnings.
Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure.
Change source in tree to use the new interface.
Reviewed by: Bruce Evans
use:
- don't put [your name] on a a separate line. Most authors have shorter
names than "The Regents of the University of California".
- don't repeat [your name].
at runtime.
etc/make.conf:
Nuked HAVE_FPU option.
lib/msun/Makefile:
Always build the i387 objects. Copy the i387 source files at build
time so that the i387 objects have different names. This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.
lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.
lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.
sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization. The PIC case is
messy. The old i387 entry points are renamed. Renaming is easier
here because the names are given by macro expansions.
create a skeleton device driver.
one for a real device and the other for a pseudo device.
they each take one argument which is the name (prefix) for the driver.
they add the new file to the /sys tree and add appropriate config files
etc for a build.
hopefully others will build on this so that we get
1/ these drivers improved and the shell scripts
improved in how/where that hook the new code in.
2/ similar tools for providing skeletons for other
modules (I'm tempted to do a VFS filesystem skeleton :)
please take a look and fix anything that maybe should be added.
they compile and link fine,
but I think I wouldn't trust them, as faar as RUNNING yet :)
(well they really wouldn't do very much being skeletons..
we need to add PCI and EISA skeletons as well
followed by a SCSI driver skeleton.
- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.
Discussed with: bde
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Add all of the possible errno's to example.3.
Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.
Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.
Suggested by: wollman
since it seemed like a better place, and the makefiles for
/usr/share/examples didn't need to be fussed with.
The old stuff can be removed from the Attic.
feature in CVSup-14.0. You no longer need a 200-column window to look
at them.
Also did some general cleanups, and corrected some errors.
2.2 candidate. These should be brought directly into 2.2 if at all
possible, since they correspond with the CVSup release whose port is
going to go into 2.2.
shipped with freebsd can be changed without modifying the Makefiles directly.
Creates: BOOT_FORCE_COMCONSOLE
BOOT_PROBE_KEYBOARD
BOOT_PROBE_KEYBOARD_LOCK
BOOT_COMCONSOLE (port value for console)
port documentation (which can be things like postscript manuals
describing every single of the 65,536 options) from being installed
into ${PREFIX}/share/doc.
the verbose output for `make -s install' and gives nicer output for
`make install' and `make -n install'. This method should be used more.
Install meteor and startslip. In fact, install all subdirectories
except CVS. This method should be used more so that SUBDIR lists don't
have to be changed so often (special cases could be handled by short
exclusion lists).
MOD_MISC() and DISPATCH() macros.
Renamed new_syscall module as new_syscall_mod. It seems to be standard
to have module names ending with _mod, and this may be forced when
MOD_SYSCALL() and MOD_VFS() are updated to match MOD_MISC().
Cleaned up lkm examples a little.
the 'rm -rf' and cpio was bugging me because rdist used to get false hits
and also it installs the files with the wrong uid.
I've tried this by running a find .. -exec ${INSTALL} ...; instead...
these files a bit. The entries for the International secure collections
don't match Freefall's naming conventions, but hopefully MarkM will fix that
soon. Each file now has an extensive header describing what it is, how
to use it, and how you may want to customize it for a particular system.
o a couple of header files have been missing
o convert the LKM Makefile to use <bsd.kmod.mk>
o rename the module to ``misc_mod'' (as opposed to ``miscmod''), so
the module name can be made identical to the module's file name,
avoiding the clash with one of the component's .o file names
o modstat(1/8) has been moved meanwhile
the wrong branch :-(]
Eliminate incorrect double negative logic Bruce has been gripping
about for a year now. Change = no_way to = true.
Submitted by: bde (sort of, patch by me :-))
make.conf: Pulled in the following changes that had been commited
to share/examples/etc:
----------------------------
revision 1.6
date: 1994/09/20 22:30:33; author: adam; state: Exp; lines: +3 -3
BOOTWAIT example converted to milliseconds calibration
----------------------------
revision 1.4
date: 1994/09/19 21:35:28; author: wollman; state: Exp; lines: +7 -1
Document NO_SHARED_LIBCC_INT.
----------------------------
revision 1.3
date: 1994/09/19 21:28:11; author: wollman; state: Exp; lines: +12 -17
Install /etc from the same source as /usr/share/examples/etc (mostly).
----------------------------
revision 1.2
date: 1994/09/19 02:05:08; author: ache; state: Exp; lines: +1 -11
Remove STARTUP_LOCALE, obsoleted now
----------------------------
revision 1.1
date: 1994/09/08 19:08:59; author: jkh; state: Exp;
Add a sample make.conf. Also document the new X11BASE variable, and
expand some of the documentation for other entries.
Submitted by: jkh
----------------------------
manpath.config: Pulled down from Attic, and merged share/examples/etc
changes.
rc: Pulled in the following change from share/examples/etc:
----------------------------
revision 1.2
date: 1994/09/19 23:13:37; author: ache; state: Exp; lines: +1 -2
Remove warning about adjkerntz /var/run file
----------------------------
directories or links before we install the new things, but now we don't
delete /usr/share/examples itself, so other examples installed from
other places in the tree will not be touched.
have a choice between SHARED=copies and SHARED=symlinks. The default
is to copy.
I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)