Commit Graph

205 Commits

Author SHA1 Message Date
bde
10fb081e1d Never strip the kernel.
Recommend -Wimplicit in CWARNFLAGS next.  There are still a few hundred
potential arg mismatches because no function declaration is in scope.

Don't duplicate option `-I.'.

Remove null editing of the assembler source for all profiled objects.
The required magic has been done since prehistoric times by an
asm("mcount") declaration.

Simplify the clean rule.

Don't try to be clever about timestamps involving genassym.  genassym's
timestamp usually got ahead of assym.s's timestamp, so `make' almost
always had to run genassym and compare *assym.s to decide that nothing
needed to be done.  The cost is reassembling a few files whenever
genassym is rebuilt.  Assembling is almost as fast as comparing.

Always go through genassym.o to build genassym.  This would have avoided
numerous bugs involving mkdep -p.  Now it just stops genassym from
depending on the name of the temporary object file.

Use ${CFLAGS} for building genassym.  Mainly ${CWARNFLAGS} were missing.
1994-10-25 19:34:57 +00:00
sos
61b5dc899b Added sea0 - Seagate driver lines to config 1994-10-24 22:18:12 +00:00
wollman
96a439f22b LINT: vastly restructured so that it's actually useful for something
Makefile.i386: make definition of STRIP unconditional.
1994-10-21 01:10:54 +00:00
phk
67c8cc3f20 According to a quick reading of sources, one experiment and Bruce's word:
aha, ahb and bt all on "irq ?" now.
1994-10-20 00:53:30 +00:00
phk
ca4c47b8ec Bruce told me to: Make uha0 use irq ? 1994-10-20 00:19:37 +00:00
wollman
2802184c31 Conditionally define CC, CWARNOPTS, etc., so that `makeoptions' in
config files actually does something useful.
1994-10-18 19:45:46 +00:00
phk
1095057ba8 Bumped the version to 2.0.1-Development. 1994-10-18 01:50:21 +00:00
wollman
44cde5c87e Added kern_devconf.c as standard. 1994-10-16 03:49:43 +00:00
phk
d1749692ef Sanitized a little bit. All SCSI is now "controllers" and LINT is more
sorted now.
1994-10-15 08:09:42 +00:00
sos
30cf7d5f68 Added ibcs2_socksys file. 1994-10-13 20:19:11 +00:00
se
c027476f8f Name change: pci_intel.c -> pcisupport.c 1994-10-12 03:56:49 +00:00
csgr
20af18de70 First stage of getting imgact_gzip reentrant:
1) cut this up into /sys/sys/inflate.h, sys/kern/inflate.c
sys/kern/ingact_gzip.c
2) make a lot more things static
3) make a lot of globals const
4) make some args const
5) first stage of making globals into a struct (not used yet)

The vm_allocate() call which was introduced between revisions 1.4 and
1.5 of imagact_gzip.c broke things.  I have backed that out for the time
being.  (Davidg: help please)

WARNING: if you have gzip enabled in your kernel, you must now run
config again, as another source file has been added.  Otherwise your
kernel compile will fall over.

This is all still WIP.  More commits to come.

Suggestions from: phk.
1994-10-07 22:27:00 +00:00
ache
20bbd02fac USE_RTC_CENTURY added 1994-10-04 14:11:02 +00:00
rgrimes
8e4232db57 Put genassym: back how it was originally, the real bug was in mkdep. 1994-10-03 23:03:38 +00:00
phk
37190acca0 I added "pserudo-device gzip" as default. 1994-10-03 22:32:13 +00:00
phk
cc7748361f dependency for genassym was wrong, there is never made a genassym.o file.
made i depend on the src.
1994-10-03 18:51:35 +00:00
phk
730570e69d Changed the imgact_gzip to "optional gzip" per David Greenman's request. 1994-10-03 06:35:17 +00:00
phk
af728dc458 ***
WARNING:  THIS MATERIAL MIGHT GO AWAY!
This material needs the core-groups approval to stay here for the 2.0 release.
If the core-group does not concent to this commit, it will be backed out.
***

It is a non-gpl'ed "unzip" which will allow execution of a.out files which
have been sent through "gzip -9".  The idea being saved disk-space.

Just now this code has quality rating:  "working prototype".

To compress a file to be used with this, do it exactly this way:

gzip -9 -v < /bin/FOO > /tmp/FOO
remember to chmod /tmp/FOO as needed.

DON'T compress all of you binaries right away !  There are several things
which you should consider first:

1. Using compressed binaries, you use >MUCH< more VM, and thus swap-space.

2. It is slow.

3. It might crash your machine.

Apart from that, I welcome comments...
1994-10-03 05:17:01 +00:00
rgrimes
ef83447cb7 genassym: depends on Makefile and genassym.o, genassym.o dependicies are
picked up from .depend.
1994-10-02 22:58:40 +00:00
phk
7dd02d2607 In case CWARNFLAGS and COPTFLAGS are already defined (from /etc/make.conf
for instance), don't nuke them.
1994-10-02 21:50:51 +00:00
rgrimes
049ffbc086 genassym: depends on the source code too. 1994-10-01 21:43:24 +00:00
dg
509369c300 Added Cortex-I Frame Grabber by Paul S. LaFollette, Jr.
Submitted by:	Paul S. LaFollette, Jr.
1994-10-01 17:59:42 +00:00
phk
bc54190a50 #Driver for Advaced Power Management (also need options APM)
-device		apm0	isa?
+device		apm0	at isa?
1994-10-01 16:44:07 +00:00
dg
52c7a916b9 Added options APM and device apm0 for Advanced Power Management support. 1994-10-01 05:43:09 +00:00
dg
b329c83425 Laptop Advanced Power Management support by HOSOKAWA Tatsumi.
Submitted by:	HOSOKAWA Tatsumi
1994-10-01 02:56:21 +00:00
swallace
071d84b9b9 add new sound files to kernel config file list 1994-10-01 02:36:24 +00:00
csgr
656c1d99a7 Do strip -x of kernel
Obtained from:1.1.5.1
1994-09-29 14:02:40 +00:00
wollman
f04cd875db GENERIC*: remove commented-out options; the user should have to do
/some/ research to figure out how to turn them on.

LINT: better description of TCP_COMPAT_42: ``emulate 4.2BSD TCP bugs''.
1994-09-28 22:57:24 +00:00
wollman
bb4185a6aa LKMs are no longer options, so remove the `options LKM' from LINT. 1994-09-28 22:51:54 +00:00
wollman
0f24b2046a LKM support is no longer optional. 1994-09-28 22:45:04 +00:00
sef
e13a0afdfd Get rid of parentheses in version stuff. Use 2.0.0-Development instead. 1994-09-28 18:26:02 +00:00
se
cd2cee44a9 Added entries for PCI and NCR device drivers. 1994-09-28 17:00:14 +00:00
phk
f5a12741b5 Added
options                DIAGNOSTIC
 options                MSDOSFS_DEBUG
1994-09-27 20:36:26 +00:00
wollman
4f2f437be2 Lots of kernel code requires vnodE_if.h, so provide code to generate it
if requested.  LKMs which need it should use:

SRCS+=	vnode_if.h
CLEANFILES+= vnode_if.h vnode_if.c

These rules were already present for VFS LKMs; now they are enabled all
the time.  (VFS LKMs do not need the fragment above; it is still done for them.)
1994-09-26 22:34:04 +00:00
jkh
998114bc72 Jim Babb's port of the AIC6360 code.
Submitted by:	babb
Obtained from:  NetBSD
1994-09-26 16:15:06 +00:00
dg
3da89b9a18 Removed unimplemented subr_rmap.c and unused references to it. 1994-09-25 22:31:11 +00:00
ache
74d0d72406 HARDFONTS option documented 1994-09-25 02:10:47 +00:00
phk
b8dad1b598 Fixed the problem where "make depend" was mandatory for building kernel.
moved vnode_if.o up before ${OBJS} in the SYSTEM_OBJS list.
1994-09-23 07:01:59 +00:00
dg
e540a800b4 Removed last vestige of MULTICAST option. 1994-09-23 06:22:58 +00:00
wollman
eed32da9d4 Add PPP. NB: this is VERY VERY VERY green code, added to make it easier
to test things out.  It compiles, but I don't know if it works (yet).
1994-09-23 00:14:11 +00:00
wollman
900d29807d More loadable VFS changes:
- Make a number of filesystems work again when they are statically compiled
  (blush)

- FIFOs are no longer optional; ``options FIFO'' removed from distributed
  config files.
1994-09-22 19:38:41 +00:00
wollman
cf1b53abb4 Make it easier to create filesystem LKMs by doing most of the
work in the Makefile.  Just define VFS_LKM and you're off!
1994-09-21 03:49:59 +00:00
jkh
ec670f109e Add entries for transputer driver.
Reviewed by:	jkh
Submitted by:	luigi
1994-09-21 01:30:15 +00:00
dg
d21f253436 Sorted. 1994-09-20 15:55:09 +00:00
dfr
ef1f7f5f60 Added MSDOSFS option. 1994-09-19 15:45:02 +00:00
dfr
7efbb964fd Added msdosfs.
Obtained from: NetBSD
1994-09-19 15:41:57 +00:00
wollman
9028bd50ff Redo Kernel NTP PLL support, kernel side.
This code is mostly taken from the 1.1 port (which was in turn taken from
Dave Mills's kern.tar.Z example).  A few significant differences:

1) ntp_gettime() is now a MIB variable rather than a system call.  A few
fiddles are done in libc to make it behave the same.

2) mono_time does not participate in the PLL adjustments.

3) A new interface has been defined (in <machine/clock.h>) for doing
possibly machine-dependent things around the time of the clock update.
This is used in Pentium kernels to disable interrupts, set `time', and
reset the CPU cycle counter as quickly as possible to avoid jitter in
microtime().  Measurements show an apparent resolution of a bit more than
8.14usec, which is reasonable given system-call overhead.
1994-09-18 20:40:01 +00:00
jkh
dd1f19bffa Add SYSV shm stuff back to LINT.
chflags noschg /kernel in Makefile.i386 so if our previous kernel
was installed by make install, the second won't fall over.
1994-09-16 10:23:46 +00:00
dfr
c01f9b6338 Added back the SYSV ipc files which somehow got removed. 1994-09-15 16:47:50 +00:00
dg
309f1c3e76 Made TCPDEBUG truely optional. Based on changes I made in FreeBSD 1.1.5.
Fixed somebody's idea of a joke - about the first half of the lines in
in_proto.c were spaced over by one space.
1994-09-15 10:36:56 +00:00