Commit Graph

2422 Commits

Author SHA1 Message Date
Søren Schmidt
acb5f10f46 Oops didn't check that init_sysent.c was generated proberly. Fixed.
Reviewed by:
Submitted by:
1994-08-26 09:33:37 +00:00
Søren Schmidt
75c34c34d6 Changes to new sysent structure. TODO MOD_EXEC support.
Reviewed by:
Submitted by:
1994-08-26 08:42:07 +00:00
Jordan K. Hubbard
9f99fb8402 Add timex.h for xntpd. The system calls will have to wait for tomorrow,
when I'm less sleepy.
Submitted by:	jkh
1994-08-26 06:29:22 +00:00
Jordan K. Hubbard
747b04037f Remove duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-26 06:09:21 +00:00
Jordan K. Hubbard
8a82af45f1 xntp and tcpdump targets added.
Reviewed by:
Submitted by:
1994-08-26 05:55:13 +00:00
Jordan K. Hubbard
4871b210e9 Add -ll to link flags to link with the lex library.
Submitted by:	jkh
1994-08-26 05:44:06 +00:00
Jordan K. Hubbard
e0661b603f Whoops - forgot to add this guy.
Reviewed by:
Submitted by:	jkh
1994-08-26 05:32:15 +00:00
Jordan K. Hubbard
fef0aded64 Replace this with the 1.1.5.1 getty. David says that the 4.4 version is too
broken to live.
Submitted by:	jkh
1994-08-26 05:19:17 +00:00
Garrett Wollman
ee307ac8ce We really, really /don't/ want to have a shared lex library. Also,
current users should note that the old 1.1.5 lex can't process the
new scan.l, so you have to copy initscan.c to obj/scan.c before it will
build.
1994-08-25 23:11:07 +00:00
Jordan K. Hubbard
367eafb79a Add a pre-configure rule after all, since it's helpful to be able
to also run a rule before you apply patches and then go into the 3 stage
script configuration.  This bit Adam David in his dgd port.
Submitted by:	jkh
1994-08-25 22:59:56 +00:00
Garrett Wollman
d843c3038f Methinks p_sysent should be in the copy-on-fork rather than the
zero-on-fork section of the struct proc.  (At least, my system
won't boot unless it is.)
1994-08-25 22:59:35 +00:00
Jordan K. Hubbard
da22574df1 Also `make Makefiles' in USE_IMAKE case to catch subdirs.
Submitted by:	jkh
1994-08-25 21:02:45 +00:00
Garrett Wollman
293c5accf0 Add Charles Martin Hannum to copyright notice so he can stop whining and
find something useful to do other than taking credit for other people's
work.  Also make the 3C507 bits match the indentation style of the rest of
the code.
1994-08-25 20:16:59 +00:00
Paul Richards
c77e94e6df Stop cvs up -P from removing empty compile directories.
Reviewed by:
Submitted by:
1994-08-25 16:20:16 +00:00
Paul Richards
58b3334f82 Added libkern to list of libraries to build.
Deleted mdec target, the bootblocks should get built during
the normal build process now that the sys/Makefile works.

Submitted by:	Paul Richards
1994-08-25 14:45:46 +00:00
Jordan K. Hubbard
2581e485d5 Sigh. I am a hosebrain. I've been using gmake for so long, I've
started using some of its features reflexively.
Submitted by:	jkh
1994-08-25 13:56:08 +00:00
Paul Richards
8a2283e2ac Added ${MACHINE}/boot to build bootblocks.
Submitted by:	Paul Richards
1994-08-25 13:54:28 +00:00
Jordan K. Hubbard
23573be72a Add a new flag: USE_IMAKE
This will cause the configure pass to do an `xmkmf' if set.
Submitted by:	jkh
1994-08-25 13:53:02 +00:00
Paul Richards
f06e7c2ed8 Moved the csu directory to be first on the SUBDIR list. This is
because libmd builds a test program before installation and if
you've used CLOBBER there's no crt.0 to link with. This ensures
that in a make world the csu objects will get installed before
reaching the libmd directory.

Reviewed by:
Submitted by:
1994-08-25 13:39:18 +00:00
Paul Richards
0609e634fe Added ${.CURDIRb to vuilding of man pages so it works with obj
Submitted by:	Paul Richards
1994-08-25 13:33:35 +00:00
Paul Richards
c87afe6e9d Removed all refernces to *26 directories.
Reviewed by:
Submitted by:
1994-08-25 10:47:30 +00:00
Bruce Evans
3e0a35fee4 Updated to final 1.1.5 version (revision 1.56).
Merged changes from 2.0 version (revisions 1.46-1.50) by hand.

Finished conversion to clists: removed flush of tty output buffer
in comflush() (most writes were truncated to 256 bytes) and restored
bypass of ttyinput() in siopoll().

Finished conversion to 2.0 types - more void *'s, less caddr_t's,
less casts, no Dev_t's.

Only these things are seriously broken now compared with 1.1.5:
waiting for output complete is impossible so ttywait() can deadlock;
sioclose() isn't called enough so sioopen() sometimes returns EBUSY
unnecessarily; input flow control is not implemented.
1994-08-25 10:15:28 +00:00
Bruce Evans
5b96a5b90d Support speeds 57600 and 115200.
Privatize functions.
1994-08-25 10:01:00 +00:00
Bruce Evans
e4d49cce30 Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
1994-08-25 08:36:26 +00:00
Andreas Schulz
a5585c6fbd Reviewed by:
Submitted by:
Add the elink.c file to the necessary modules for the ie and ep driver.
1994-08-24 22:37:56 +00:00
Andreas Schulz
411c7a8786 Reviewed by:
Submitted by:
Add the 3com 3C507 card to the if_ie.c driver. The files elink.c and
elink.h are helding routines that are shared between the 3C507 and the
3C509/3C579. if_ie507.h are constant declarations unique to the 3C507.
The code is based on the NetBSD driver if_ie.c donated to NetBSD by
Rafal Boni and then modified by Charles Hannum.
1994-08-24 22:32:44 +00:00
Paul Richards
7cd7695691 Changed cc26 to cc
Reviewed by:
Submitted by:
1994-08-24 21:17:33 +00:00
Sean Eric Fagan
7267a81cea Fix a problem with passing quoted strings down to commands.
Reviewed by:	Sean Eric Fagan
1994-08-24 21:14:27 +00:00
Guido van Rooij
2355afcfc6 Also create a link "view" to nvi, in stead of nview solely.
Reviewed by:
Submitted by:	guido
1994-08-24 20:09:47 +00:00
Guido van Rooij
0c43d89a0d Make it make-able by adding a rule for paper.ps
Reviewed by:
Submitted by:	guido
1994-08-24 19:01:36 +00:00
Guido van Rooij
998d2443a0 Make it make-able by adding a rule for paper.ps.
Reviewed by:
Submitted by:	guido
1994-08-24 18:57:49 +00:00
Jordan K. Hubbard
c3181accea Some cosmetic changes.
Add pre-{build,extract,install,...} targets for Torsten, who apparently
needs them.  Can't do effective post-* targets without major work, sorry.

						Jordan
Reviewed by:
Submitted by:
1994-08-24 14:49:33 +00:00
Geoff Rehmet
90b7e68847 Add lex to makefile
Submitted by:	Geoff.
1994-08-24 13:29:01 +00:00
Geoff Rehmet
4738f75303 This commit was generated by cvs2svn to compensate for changes in r2258,
which included commits to RCS files with non-trunk default branches.
1994-08-24 13:10:34 +00:00
Geoff Rehmet
8387c24d79 Flex version 2.4.7 from LBL
Reviewed by:	Geoff.
1994-08-24 13:10:34 +00:00
Søren Schmidt
f3f0ca6051 Changes preparing for iBCS support
Reviewed by:
Submitted by:
1994-08-24 11:52:21 +00:00
Søren Schmidt
c9177dd5f0 Changes preparing for iBCS support
Reviewed by:
Submitted by:
1994-08-24 11:51:46 +00:00
Søren Schmidt
ca70a975e9 New file declaring the sysent structures
Reviewed by:
Submitted by:
1994-08-24 11:47:23 +00:00
Søren Schmidt
25ae122558 Changes preparing for iBCS2 support
Reviewed by:
Submitted by:
1994-08-24 11:45:19 +00:00
Søren Schmidt
c085674216 Added iBCS2 files
Reviewed by:
Submitted by:
1994-08-24 11:44:45 +00:00
David Greenman
0fd1a014fe Pay attention to *all* errors from copyinstr(). This patch fixes a bug
that causes a no-panic instant reboot when bogus argv/envvs are fed to
execve().
1994-08-24 10:53:53 +00:00
Jordan K. Hubbard
bd240d5233 From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails.  Here is a patch for what I believe is a simple oversight:

Submitted by:	jkh
1994-08-24 07:26:23 +00:00
David Greenman
e0c0215442 Initialized v_writecount. 1994-08-24 04:06:39 +00:00
Guido van Rooij
dc50661bfc Move fbtab file to share/examples/etc per Garrett's request.
Reviewed by:
Submitted by:
1994-08-23 20:25:28 +00:00
Guido van Rooij
6c27ceb40e Add -DBSD4.2 and -DBSDINETD so uucpd makes sense. Further correct a
warning at compil time.
This actually makes uucpd at tcp port 540 work, so slippers can  poll
over tcp.
Reviewed by:
Submitted by:	guido
1994-08-23 20:13:32 +00:00
Paul Richards
6f1537dd90 Fixed up everything so that the version of gcc that we install from the
FreeBSD system sources installs itself as the standard cc and c++. I've
fixed c++ to call cc instead of gcc and removed all the symlinks
that get created to g** version of the binaries. This means that
you can install a second version of gcc that does use the g prefix
alongside the "system" version of gcc. The only conflict is libgcc
but since we install it as libcc.so.26 and nothing else is likely
to that should be ok.

Reviewed by:
Submitted by:
1994-08-23 17:18:58 +00:00
David Greenman
329b62ac1c Corrected some comments regarding ptes/pdes. 1994-08-23 16:27:15 +00:00
Paul Richards
d184e84f7e Re-enabled inlining of inb.
Changed u_int_inb to just inb and deleted define.

The code generated is identical to that generated with the cast so
the problem was obviously fixed at some point after gcc 1.4

Reviewed by:
Submitted by:
1994-08-23 13:41:37 +00:00
Paul Richards
bffa0592e2 I've disabled this piece of code since it's what's
hosing syscons. Doesn anyone know anything about this
or can we just delete it now?

/*
 * This roundabout method of returning a u_char helps stop gcc-1.40 from
 * generating unnecessary movzbl's.
 */
#ifdef disable_for_gcc-2_6_0
#define inb(port)       ((u_char) u_int_inb(port))
#endif

static inline u_int
u_int_inb(u_int port)
{
        u_char  data;
        /*
         * We use %%dx and not %1 here because i/o is done at %dx and
not at
         * %edx, while gcc-2.2.2 generates inferior code (movw instead
of movl)
         * if we tell it to load (u_short) port.
         */
        __asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port));
        return data;
}

Reviewed by:
Submitted by:
1994-08-23 11:57:19 +00:00
Jordan K. Hubbard
ad9e0170dc Changes to adapt to 2.0.
Submitted by:	jkh
1994-08-23 11:17:55 +00:00