summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add the alpha MD files for gcc to product ELF for FreeBSD/Alpha.jb1998-01-1114-0/+8479
| | | | | | | | | | | | | | | See freebsd.h and freebsd-elf.h for the silly comment that cgd@netbsd.org wanted me to add about his claim that uncommented source files that have been publicly available for ftp for nearly a year; that are configuration patches to a GPL'ed program; are owned by his previous employer who refuses to release them. Well... I did as he said. As if that makes a difference! At this point we've got cpp, gcc, g++ ported to FreeBSD/Alpha so all the code that uses __FreeBSD__ is correctly pre-processed. Yay. I'll commit the bootstrap makefile next to let others play, then on to libc.
* More i386 -> ${MACHINE} changes to make this Makefile machinejb1998-01-111-15/+15
| | | | | independent. It makes it look like you can get aout on alpha, but that's just your imagination. The makefile above gives you no choice.
* Replace i386 references with ${MACHINE} to make this makefile almostjb1998-01-111-7/+11
| | | | | | machine independent, with the only dependency being the binary format to build. We only expect to build ELF on alpha although we'll need ECOFF compatibility with Digital Unix.
* Remove includes of if_var.h and in_var.hbrian1998-01-111-5/+1
|
* Since the alpha has to use NetBSD's kernel for the time being, it alsojb1998-01-111-0/+607
| | | | needs the NetBSD syscall definitions.
* Move _JBLEN definition to <machine/setjmp.h> like on NetBSD. Removejb1998-01-111-25/+4
| | | | | | | | | | | | definitions for architectures that we don't have libc MD source for. Change 'int' to 'long' in sigjmp_buf and jmp_buf structures so that they are suitable for the register size on both i386 and alpha. Although FreeBSD defines these structures differently to NetBSD, the element size is now the same. If Bruce doesn't like this [8-)], we'll need to add a typedef to each <machine/setjmp.h> and use that in <setjmp.h>.
* CSU source for Alpha obtained from NetBSD. The makefile will requirejb1998-01-114-0/+419
| | | | more work when we get a half-way usable libc (which is next).
* Allow 6 byte interface names (for >tun99)brian1998-01-111-2/+2
|
* Add ppp, at long last, back to GENERIC. We have enough room in thejkh1998-01-112-6/+4
| | | | | kernel for it and I'm tired of reading the "This system lacks kernel support for PPP..." line in people's tech support messages.
* Fix softclock calling so we don't loose timeouts (I broke this ~10h ago)phk1998-01-114-12/+16
|
* Add a machine dependent header for the i386 jmp_buf size instead of pilingjb1998-01-102-0/+70
| | | | machine dependent definitions into src/include/setjmp.h.
* Add a machine dependent header to size the jmpbuf instead of pilingjb1998-01-101-0/+35
| | | | machine dependencies in src/include/setjmp.h.
* We can now build libm on Alpha. There is very little MD alpha code.jb1998-01-101-3/+0
|
* Avoid building x86 specific libraries on Alpha.jb1998-01-101-2/+8
|
* PAL codes needed for asm.hjb1998-01-101-0/+93
|
* This is the only alpha math source that NetBSD has.jb1998-01-102-0/+90
|
* Header files which are linked from /usr/include to /usr/include/machine.jb1998-01-106-1/+881
| | | | | NetBSD's endian.h needs sys/types.h for the typedefs that are used to get htonl() correct when a long is 64 bits.
* Pause according to the redial setting when dialing manually.brian1998-01-101-1/+6
| | | | Pointed out by: Berend de Boer <berend@compuserve.com>
* A partial frontal lobotomy for find if using the NetBSD libc whichjb1998-01-103-1/+12
| | | | | | | | | doesn't know about getvfsbyname() and the vfsconf structure. This disables the -fstype option if compiled with a pre-processor that defines __NetBSD__. With the FreeBSD built pre-processor, find can only be built with the FreeBSD libc. So when running with a NetBSD kernel, FreeBSD's libc will have to return ENOSYS for things that NetBSD doesn't support. That's life in a hybrid world.
* Pass an actual empty environment to execle() as per POSIX rather thanalex1998-01-101-10/+28
| | | | | | | | | | | rely on undocumented behavior. The following fixes were obtained from OpenBSD: o -Wall fixes to tlist array initialization and assignment used as truth value. o Use a restricted environment. o Improved error message when shutdown fails to exec reboot or halt.
* Put back __libalias_version so ppp(8) build again.steve1998-01-102-0/+6
|
* Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblitywosch1998-01-103-11/+11
| | | | with BSD/OS.
* Sync with ipfw interface change: fw_pts is now part of a union (aalex1998-01-102-10/+10
| | | | necessary evil due to the 108 byte setsockopt() limit).
* Minor brace gymnastics so that /etc/wall_cmos_clock is reallysteve1998-01-101-3/+4
| | | | | | | created. PR: 5473 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
* include <net/if.h> and restore this to sanity.jkh1998-01-102-0/+2
|
* Whoops. softclock is called from doreti_swi as well. Abandon call fromphk1998-01-103-14/+8
| | | | | | | | hardclock(). Forgot this: Pointed hat sent by: bd
* Whoops. softclock is called from doreti_swi as well. Abandon call fromphk1998-01-101-2/+2
| | | | hardclock().
* Sync with sys/i386/isa/syscons.c revision 1.244.kato1998-01-101-4/+28
|
* Effect the divorce of kern_clock.c and kern_timeout.c (which wasphk1998-01-105-1679/+27
| | | | repository copied from kern_clock.c)
* These are a few of the alpha machine dependent header files - the firstjb1998-01-1011-0/+1419
| | | | | | referenced by the build of user-space libraries. These files were obtained from NetBSD (with ansi.h being modified to reflect the FreeBSD off_t and pid_t implementation).
* Bruce says that ${.CURDIR}/csu/${MACHINE} will prevent finding ajb1998-01-101-2/+6
| | | | | | | | stale obj directory and we wouldn't want to do that! I trust he knows what he's talking about. 8-) Also avoid building libm at all until the NetBSD asm code is imported. I wrongly commented this out last time. Oops.
* Added PnP I/O port address of NEC PC-98.kato1998-01-101-2/+7
| | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Fixed change prerequisites for <net/if_arp.h>:bde1998-01-101-4/+4
| | | | | | | | - don't declare `struct arpcom' except in the kernel, so that there is no dependency on <net/if.h> except in the kernel. This may break something else. - spell ETHER_ADDR_LEN as 6 again, so that there is no dependency on <net/ethernet.h> even in the kernel.
* Make the ".set" directive copy the aux field when the expressionjdp1998-01-101-1/+2
| | | | | | | | reduces to a relocatable symbol plus an offset. This preserves the symbol type information (function vs. object). It is important for SVR4-style weak symbols, e.g., "#pragma weak foo=bar". Without this change, the linker complains that the jmpslot entry is not a function.
* Compare return code from ipfw against 0 for success instead of == 1alex1998-01-107-28/+28
| | | | | | for error. Pointed out by: Matthew Thyer <thyerm@camtech.net.au>
* Implement Reset{Req,Ack} properly, as per rfc 1962.brian1998-01-109-42/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (I completely mis-read the rfc last time 'round!) This means: o Better CCP/WARN Reset diagnostics. o After we've sent a REQ and before we've received an ACK, we drop incoming compressed data and send another REQ. o Before sending an ACK, re-sequence all pending PRI_NORMAL data in the modem queue so that pending packets won't get to the peer *after* the ResetAck. o Send ACKs with the `identifier' from the REQ frame. o After we've received a correct ACK, duplicate ACKs are ok (and will reset our history). o Incorrect ACKs (not matching the last REQ) are moaned about and dropped. Also, o Calculate the correct FCS after compressing a packet. DEFLATE *may* produce an mbuf with more than a single link in the chain, but HdlcOutput didn't know how to calculate the FCS :-( o Make `struct fsm'::reqid a u_char, not an int. This fix will prevent us from sending id `255' 2,000,000,000 times before wrapping to `0' for another 2,000,000,000 sends :-/ o Bump the version number a little. The end result: DEFLATE now works over an unreliable link layer. I can txfr a 1.5Mb kernel over a (rather bad) null-modem cable at an average of 21679 bytes per second using rcp. Repeat after me: Don't test compression using a loopback ppp/tcp setup as we never lose packets and therefore never have to reset!
* Use manpath(1) to determine the value of ${MANPATH} instead ofsteve1998-01-091-8/+9
| | | | | | | using one of two hard-coded values. PR: 5365 Submitted by: Ruslan Shevchenko <rssh@cam.grad.kiev.ua>
* Allow this to compile with NetBSD tools.jb1998-01-091-1/+1
|
* Teach libalias to work with IPFW firewalls (controlled by a flag).eivind1998-01-0918-186/+950
| | | | | Obtained from: Yes development tree (+ 10 lines of patches from Charles Mott, original libalias author)
* NetBSD has sys_errlist in errno.h, not stdio.h like FreeBSD.jb1998-01-091-0/+1
|
* Don't build libc, libc_r or libm on Alpha yet. We'll do the otherjb1998-01-091-3/+7
| | | | libraries first and use NetBSD's libc/libm for now.
* Fix an anomaly in the option descriptions.steve1998-01-091-1/+2
| | | | | PR: 5469 Submitted by: NOKUBI Hirotaka <h-nokubi@yyy.or.jp>
* Fix generation of Comtrol RocketPort devices.steve1998-01-092-4/+6
| | | | | PR: 5468 Submitted by: Steve Gericke <steveg@comtrol.com>
* MF22: Additional paranoia in cleanup.jkh1998-01-091-2/+2
|
* Revert to previous behaviour, only generate NLST for explicit "nlist"msmith1998-01-091-3/+3
| | | | | command. Submitted by: wollman
* Revert the changes yet again, after some email from Bruce. Sorry.sef1998-01-095-13/+13
|
* - Produce the accent letter if the user hits the accent key twice.yokota1998-01-093-12/+84
| | | | | | | | (accent_key + space does still print the accent letter too, as in the previous commit.) Requested by a couple of users. - Clear the accent flag when the next_screen key is pressed. - Added some comment lines regarding accent key processing.
* Sync with sys/i386/conf/files.i386 revision 1.184.kato1998-01-092-4/+4
|
* Add __NetBSD__ in a couple of places to allow this program tojb1998-01-091-3/+5
| | | | | compile under NetBSD, but behave like FreeBSD. For the time being, look for NetBSD's cpp in /usr/bin.
* Make a couple of the stat flags dependent on the sys/stat.h header filejb1998-01-095-5/+45
| | | | | | | | | | | that this source is compiled against. This source is referenced by install which is needed as a build tool and must be able to compile against NetBSD headers and libraries if we have a hope of supporting another architecture. With this change, that's two working programs down and 3945 (?) to go. The other one was make, but that didn't need any changes to work under FreeBSD/Alpha. 8-)
OpenPOWER on IntegriCloud