Commit Graph

27379 Commits

Author SHA1 Message Date
thorpej
d667b1f2d0 Add hooks for berkeley packet filter. 1997-04-16 22:11:15 +00:00
thorpej
9970f1bf3c Adjust for new machine_vec-based interrupt, from Wolfgang Solfrank. 1997-04-16 22:10:39 +00:00
thorpej
6708f357b5 RCS ID and #includes cleanup. 1997-04-16 22:09:41 +00:00
thorpej
fd3f618510 "Simulated" software-spl handling, for use on OpenFirmware systems.
These are for a generalized "machine vector" designed to hide
differences between various PowerPC systems.
From Wolfgang Solfrank <ws@tools.de>
1997-04-16 21:20:35 +00:00
thorpej
a6cf9568cc Special Magick note section interpreted by OpenFirmware to set various
parameters.  Shared by kernel and OpenFirmware boot program.
1997-04-16 21:19:00 +00:00
thorpej
ac9333ee5b Use genassym.sh to facilitate cross-compiling. 1997-04-16 21:16:25 +00:00
thorpej
273398acfa Machine-type tags used to communicate the type of system we're running
on to the kernel.  The boot program passes a boot args string plus
additional information like so:

	/pci/scsi@3/disk@0,0:1/netbsd -s<NUL><esym><tag>

The post-<NUL> values are:

	<esym>  end of the kernel symbol table (32-bits)

	<tag>   machine type tag (32-bits)
1997-04-16 21:12:29 +00:00
thorpej
ae9514e076 Definitions for IEEE floating point for NetBSD/powerpc. 1997-04-16 21:07:11 +00:00
thorpej
36a0d58408 Machine-dependent definitions for Elf on NetBSD/powerpc. 1997-04-16 21:06:11 +00:00
thorpej
d5e51dc9c2 Correct a bogus comment, pointed out by Chris Demetriou <cgd@netbsd.org> 1997-04-16 20:53:15 +00:00
thorpej
406317dd8f Fix a couple of things pointed out by Chris Demetriou <cgd@netbsd.org>:
- fix _DYNAMIC definition bogon
- add the ECOFF_COMPAT #ifdef's to make diffing with other ports that
  use this code base easier
1997-04-16 20:50:46 +00:00
thorpej
59d5b749b4 Define _G_NEED_STDARG_H - needed for NetBSD/powerpc's varargs/stdarg
implementation.
1997-04-16 20:42:46 +00:00
thorpej
ec64b8f26a Garbage-collect 1997-04-16 20:30:16 +00:00
thorpej
1bd80ab675 New OpenFirmware boot code for NetBSD/powerpc, based on Wolfgang's original
NetBSD/powerpc boot program.  Highligts:
- Rearrange a bit so that we can sanely add boot programs for
  non-OpenFirmware systems.
- Add support for loading compressed kernels (for booting from
  1.44M floppies).
- Add support for loading Elf kernels (Elf is the new standard format
  for NetBSD/powerpc).  (XXX Don't load symbols right now - the code
  to do it is there, but I don't particularly like how space for the
  symbol table is allocated; I will revisit this soon'ish).
1997-04-16 20:28:59 +00:00
thorpej
ff5a472ce7 NetBSD/powerpc doesn't use the "generic" c++rt0.o 1997-04-16 19:43:53 +00:00
thorpej
062ebf7414 C run-time startup routines, based on NetBSD/alpha's, with modifications
for NetBSD/powerpc by me.
1997-04-16 19:38:22 +00:00
christos
eaf28d8fab Correctly prototype the signal handler. 1997-04-16 17:45:05 +00:00
christos
108e13f159 Moved to arch 1997-04-16 16:59:44 +00:00
christos
2869186c80 moved to arch 1997-04-16 16:59:03 +00:00
christos
ac37de3d7e Moved to arch 1997-04-16 16:57:13 +00:00
christos
bdb0a5aeae moved to arch 1997-04-16 16:56:07 +00:00
christos
76a60a39c3 Moved to arch 1997-04-16 16:55:18 +00:00
christos
d3d1227320 Ld directory reorganization:
- separate out the common files used by rtld ldd ld
	- move machine dependent files into arch
	- move ld in its own directory
	- factor out .PATH and CFLAGS common to all Makefiles
1997-04-16 16:49:28 +00:00
christos
b4f53dbf7c mktemp() -> mkstemp() 1997-04-16 16:46:28 +00:00
jtc
c9b0c57620 Add POSIX.1b nanosleep(). 1997-04-16 14:41:28 +00:00
christos
c9ba10ae4a Annotate missing directories as [skipped: missing] (from Christoph Badura) 1997-04-16 14:09:16 +00:00
christos
b14c47df8b Tyop oplice. 1997-04-16 13:48:46 +00:00
christos
c0988e0e24 Don't include "os.h", include "common/os.h" like it does for the other
includes.
1997-04-16 13:30:57 +00:00
christos
193fd51548 Don't need to .PATH: .. or -I${.CURDIR}/common and -I${.CURDIR}; it will
actually break things in the future.
1997-04-16 13:29:57 +00:00
is
f4271c55fd Made pppoutput() public again on behalf of Martin Husemann (PR 3455).
Apparently, the BISDN package uses this function.
1997-04-16 12:54:42 +00:00
scottr
e938a61ba3 Organize cpu_reboot() like hp300; this allows us to behave less
surprisingly if the power off sequence doesn't work as expected,
and simplifies the code a little.  Fix the doboot() prototype
to quash a warning from gcc.
1997-04-16 07:16:49 +00:00
cgd
32cf5aa9cc fix startup with core file. make kernel core files work. 1997-04-16 03:20:08 +00:00
mrg
046720d7d4 disable decode: alias. 1997-04-16 01:36:15 +00:00
cgd
faccc00a5a widen proc pointer and wchan pointer fields from 10 to 18 characters, so
that pointers on 64-bit systems are printed properly.  This means that
there'll be a lot of extra space on 32-bit systems, but gdb's printf doesn't
support * for width or precision specifiers, so it can't really be done much
better.
1997-04-16 00:58:26 +00:00
scottr
ea528012b3 dcmreadbuf() should not return immediately if the tty hasn't been opened;
this fixes a kgdb goof.  Found by inspection.
1997-04-15 22:45:14 +00:00
christos
9a7df3e0e4 Skip missing subdirectories to enable builds in partial source trees.
Directories being skipped are mentioned as '===> dir [skipped]'
1997-04-15 21:32:40 +00:00
christos
a2a43b1836 Make the obj' target .PHONY', so that does not get affected by .PATH/VPATH
This is not hurting things right now, and it will help things when path
searching for target nodes is enabled for make.
1997-04-15 21:29:09 +00:00
christos
48729af76f We don't want iplread to change to enodev() when we don't have IPFILTER_LOG
defined.
1997-04-15 18:58:27 +00:00
perry
138bcc102f fix 3497 from Manuel Bouyer -- install source man pages with proper suffix. 1997-04-15 16:57:46 +00:00
lukem
b65e7b7f4d use <paths.h> instead of "pathnames.h" for _PATH_DEFTAPE
change refs to rmt* to rst*
1997-04-15 07:23:06 +00:00
cgd
7631ac43fd make sure that ld.elf_so's path is in the data segment 1997-04-15 07:15:46 +00:00
lukem
ceb1313a6a use _PATH_DEFTAPE from <paths.h> instead of "pathnames.h"
cleanup references/examples to use /dev/rst* instead of /dev/rmt*
minor .Nm usage cleanup in man page
1997-04-15 07:12:19 +00:00
scottr
ac4989250c Use opt_mrg_adb.h header (missed in previous commit) 1997-04-15 07:02:50 +00:00
lukem
daf554f0c4 use _PATH_DEFTAPE from <paths.h>
change doco references/examples from /dev/rmt* to /dev/rst*
1997-04-15 07:00:45 +00:00
lukem
31bf4d0efd use _PATH_DEFTAPE from <paths.h> instead of DEFTAPE from <sys/mtio.h> 1997-04-15 06:53:51 +00:00
lukem
e09679b183 don't define DEFTAPE here 1997-04-15 06:50:19 +00:00
scottr
00631be59a Use genassym.sh to facilitate cross-compiling. 1997-04-15 06:11:38 +00:00
mikel
bfba04e072 be a bit more careful about removing TAGQ from CIRCLEQ; from Ross
Harvey in PR bin/3489.
1997-04-15 05:39:46 +00:00
lukem
f184ab2569 add _PATH_DEFTAPE, defined to "/dev/rst0" 1997-04-15 05:29:56 +00:00
briggs
16865d719a Take a stab at making this more reliable. 1997-04-15 03:22:50 +00:00