Commit Graph

840 Commits

Author SHA1 Message Date
mycroft e44dc60fc6 Fix editing error in new config changes. 1997-03-22 00:17:59 +00:00
thorpej 12c0a8c5c8 Correct keyboard map references in the default case. From
Klaus Klein <kleink@layla.inka.de>, PR #3361.
1997-03-20 08:07:01 +00:00
mycroft c14b8539e0 Make active_user_pmap() DTRT while a process is exiting. 1997-03-18 16:39:30 +00:00
mycroft d19eaa3d4f Add an active_user_pmap() macro, and use it as appropriate. 1997-03-18 14:13:55 +00:00
mycroft 1068c83731 Check for curproc being null before dereferencing it in more cases. 1997-03-18 13:01:07 +00:00
gwr 08f7a407f9 Separate bcopy and copypage stuff from copy.s 1997-03-17 19:46:36 +00:00
thorpej 1d987a161b #include <net/if_media.h> 1997-03-17 03:17:34 +00:00
hpeyerl 52cbdd41c4 Lager is now config.new. ya ya, I've been busy. 1997-03-16 18:46:56 +00:00
thorpej 48556a75d2 Use <m68k/m68k/support.s> 1997-03-16 10:49:43 +00:00
thorpej e93bf2f15b Garbage-collect hpux_dumpu(). 1997-03-16 10:00:45 +00:00
thorpej 701652d81c In cpu_coredump(), don't bother dumping an HP-UX style u-area. What it
produced was useful once, but isn't worth the clutter now.
1997-03-16 09:59:40 +00:00
thorpej de5a4c2d10 Remove reference to Locore.c 1997-03-16 09:47:48 +00:00
thorpej 611fa5e05b Old lint helper, not used anymore, and really quite amazingly out of
date; this is 4.3 vintage.  Just nuke it.
1997-03-16 09:45:38 +00:00
thorpej 5a1149b25d Nuke MDP_HPUXTRACE. 1997-03-16 09:40:01 +00:00
thorpej c5b6d5ed07 Prototype hpux_setregs(). 1997-03-16 09:14:25 +00:00
thorpej c9e8e99421 Remove the COMPAT_HPUX stuff from setregs(); the HP-UX compatibility
code has its own implementation now.
1997-03-16 09:12:13 +00:00
thorpej 832cc66899 Implement hpux_setregs(). While I'm here, nuke the MDP_HPUXTRACE
code.  In practice, no one traces NetBSD programs with HP-UX debuggers,
and the evil required to make it work should not be discussed in the
presence of small children.
1997-03-16 09:10:31 +00:00
thorpej 27c7e59344 Define the HP-UX sigcontext structure here, and prototype hpux_sendsig(). 1997-03-16 03:45:33 +00:00
thorpej 5a14c36be7 Move all COMPAT_HPUX signal code into hpux_sendsig() and hpux_sys_sigreturn(). 1997-03-16 03:43:39 +00:00
thorpej f5c982a251 In cpu_coredump(), use `fputype' to decide if we dump FP regs. 1997-03-15 23:40:25 +00:00
thorpej 99cc2e1cec Garbage-collect use of FPCOPROC. 1997-03-15 23:34:32 +00:00
thorpej bbcda6f26b - /dev/mem: only allow access to physical RAM
- /dev/kmem: disallow access to devices

This is designed to protect device registers from being corrupted
accidentally by "innocent" mem/kmem grovellers.
1997-03-15 23:30:12 +00:00
thorpej 6fa9be2e93 Use `fputype' at run-time rather than FPCOPROC at compile-time. 1997-03-15 23:25:49 +00:00
thorpej 4fd90cefdb - Garbage-collect doadump(); it hasn't been used for some time.
- Supply an `fputype' global.  Since all hp300's have an FPU, default
  it to FPU_68881, setting it to FPU_68040 if we detect a 68040 CPU.
- Use `fputype' at run-time rathern than FPCOPROC at compile-time.
- Re-arrange locore slightly; move startup code to the beginning, right
  after the vector table.
1997-03-15 23:23:55 +00:00
thorpej 2cea1ec9d7 - Make hpux_sys_getcontext() table-driven.
- Use `fputype' at run-time rather than FPCOPROC at compile-time.
1997-03-15 23:20:20 +00:00
thorpej 1023932f47 User text segment begins at 8k, now, to match the other m68k ports. 1997-03-15 22:02:24 +00:00
thorpej 26644d1232 Change MID_MACHINE to MID_M68K; we now use the same executable format as
the rest of the m68k ports.
1997-03-15 22:01:02 +00:00
thorpej 0e368d2e40 Don't set __LDPGSZ to 4096; we use 8192 like the rest of m68k-land, now. 1997-03-15 21:59:20 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
mycroft f7ad6fff40 Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up.  Also, don't depend genassym.c
(since it no longer exists), and remove dependencies for genassym.o (since it
no longer exists).
1997-03-14 23:14:39 +00:00
mycroft 3a99046fbb Update this to new config. 1997-03-14 04:21:13 +00:00
thorpej 711486fd1b Fix a typo (oops). 1997-03-13 17:14:45 +00:00
thorpej 8229701876 oops, don't need trap.h here anymore 1997-03-13 09:29:03 +00:00
thorpej 72ba35e689 Don't genassym the trap type values; just include <machine/trap.h> 1997-03-13 09:27:21 +00:00
thorpej deeac396e7 Use genassym.sh to facilitate cross compiling. 1997-03-13 09:24:21 +00:00
thorpej f6d3f6c93b Use the script version to facilitate cross compiling. 1997-03-13 09:22:19 +00:00
thorpej a92ec8002e Enable COMPAT_M68K4K. 1997-03-12 18:33:09 +00:00
thorpej 1777807068 Add 9660 file system, and set DDB_ONPANIC to 0. 1997-03-12 02:08:02 +00:00
thorpej dc1020fe40 Print the interrupt level in scsiattach(). 1997-03-10 08:37:31 +00:00
thorpej bb0d35b7e4 Bump version - we compute the kernel load address differently. 1997-03-10 08:02:23 +00:00
thorpej 4e541ff7ea Fix rounding of lowram value; ensure the kernel load address is on
an 8k boundary.
1997-03-10 08:00:47 +00:00
fvdl 115b6d92fa Define ALIGNED_POINTER 1997-02-24 23:16:53 +00:00
mrg 22245e60a5 comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. minor format 1997-02-18 21:09:56 +00:00
thorpej 82adcde8ca Fix edit-o that caused panic's when root was on HP-IB disk. 1997-02-05 20:56:29 +00:00
thorpej f79798f810 Bump version: Add support for booting gzip'd kernels 1997-02-04 19:42:29 +00:00
thorpej 76839db714 Add the ".gz" names of the kernels to the kernel names list. New
boot order is:

	netbsd -> netbsd.gz -> netbsd.bak -> netbsd.bak.gz ->
	  netbsd.old -> netbsd.old.gz -> onetbsd -> onetbsd.gz
1997-02-04 19:40:07 +00:00
thorpej 6a721b41eb Bump version: Add support for reading gzip'd miniroot images 1997-02-04 19:36:29 +00:00
thorpej 8ceaa2c3f5 - If copying the miniroot from an NFS server, don't attempt to
compute the number of iterations through the copy loop based
  on file size; the miniroot image may be compressed.  Instead,
  ignore short reads in the NFS case, and handle them like EOF.
- Fix typo in a printf format.
1997-02-04 19:34:09 +00:00
thorpej e876a86309 Add support for transparent handling of decompressing read, useful
for gzip'd kernels and miniroot images.
1997-02-04 19:28:50 +00:00
thorpej 5a9b27d5cf Set the heap limit to the last byte of the 3rd page from the
end of RAM, i.e.:

	[ heap limit page][msgbuf page][ROM scratch page]
                        |                              |
		    heap limit                     end of RAM
1997-02-04 19:14:57 +00:00