Commit Graph

373 Commits

Author SHA1 Message Date
mjacob
1a7afa3853 add commented out reference SCSIVERBOSE option 1997-08-20 18:38:13 +00:00
jtk
9388f271a9 use locator defines in "locators.h" to index cf_loc[] 1997-07-17 02:12:50 +00:00
oki
841be646de Use genassym.cf to make assym.h 1997-07-14 14:42:52 +00:00
perry
ad1710ce1e update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson 1997-07-12 16:18:36 +00:00
veego
1450ec3f1b Restore the define of NPTEPG. 1997-07-10 08:23:03 +00:00
kleink
96914606be From sun3:
Correct handling for Trap #2 in SunOS executables,
 now that we know it is supposed to flush the cache.
 (Was thought to be "some obscure FPU operation".)
1997-07-08 16:56:31 +00:00
is
f3efbb406a The recent buserr handler cleanup in the Amiga locore.s made the label
_buserr point to the 68020/030 buserr code _only_. This has broken access
error handling in the 060 support code.
This is repaired by jumping to _buserr60 from the 060SP, and by providing
a _buserr60 label identical to the _buserr in the unchanged m68k ports
using the 68060.
1997-06-26 22:28:42 +00:00
mrg
829a5a9063 move man pages into share/man. 1997-06-22 07:02:27 +00:00
mrg
1258c8d25b remove now obsolete "swap on..." lines. 1997-06-12 18:41:58 +00:00
mrg
552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:09:23 +00:00
kleink
f29570aa3a Do not #include the removed <machine/mtpr.h> any more. These definitions are
already living in <machine/cpu.h>.
1997-06-11 08:46:55 +00:00
kleink
a10178c21e GC this file. It has been unused for quite a while. 1997-06-11 08:42:31 +00:00
veego
af1627ce0b The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 20:20:06 +00:00
veego
e32543e434 s/x68k_btop/m68k_btop/ 1997-06-10 20:19:35 +00:00
veego
7cb125a0b0 s/x68k_round_page/m68k_round_page/ s/x68k_trunc_page/m68k_trunc_page/
s/x68k_btop/m68k_btop/ s/x68k_ptob/m68k_ptob/
1997-06-10 20:18:35 +00:00
veego
c8863019ed s/x68k_trunc_page/m68k_trunc_page/ s/x68k_btop/m68k_btop/
s/x68k_ptob/m68k_ptob/
1997-06-10 19:51:47 +00:00
veego
ba2763943f s/x68k_btop/m68k_btop/ 1997-06-10 19:50:23 +00:00
veego
f66de196f8 s/x68k_trunc_page/m68k_trunc_page/ 1997-06-10 19:49:32 +00:00
veego
931d90fcee Use the MI <m68k/param.h> include. 1997-06-10 07:54:35 +00:00
veego
a204fb7981 Initialize machine from MACHINE. 1997-06-08 23:54:19 +00:00
oki
ca83937d49 Use cdev_ipf_unit() instead of cdev_ch_unit() 1997-06-01 01:27:51 +00:00
veego
a078a4be55 Fix lossage from the latest vm_pmap changes. 1997-05-19 10:14:47 +00:00
gwr
a8af683eb9 Eliminate references to vmspace.vm_pmap 1997-05-13 18:00:49 +00:00
oki
6fd182057f cleanup use of whitespace 1997-05-08 16:39:35 +00:00
mycroft
84bca5d679 Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:28:47 +00:00
thorpej
48fa8154e7 Adjust for <m68k/m68k/trap_subr.s> 1997-04-25 01:49:05 +00:00
thorpej
f05b58b229 Use common m68k sigcode. 1997-04-13 02:37:15 +00:00
thorpej
ab1101ab9c regdump() takes a struct trapframe * 1997-04-09 21:08:47 +00:00
thorpej
f224558e27 Garbage-collect regdump() and friends. 1997-04-09 21:07:26 +00:00
thorpej
16f6a6f941 Use <m68k/m68k/proc_subr.s> 1997-04-09 21:04:49 +00:00
thorpej
90c43b0333 Remove redundant file directives 1997-04-09 21:03:20 +00:00
christos
eb6be97252 Add netatalk netisr 1997-04-03 17:49:08 +00:00
oki
ecae3f3421 Add bits[64] declaration 1997-04-02 17:10:41 +00:00
gwr
5485e1ff75 Need a common <m68k/pcb.h> for gdb. 1997-03-31 21:39:51 +00:00
thorpej
2268a2c7eb Don't allocate mclrefcnt[]; it's dead and gone. 1997-03-27 21:01:52 +00:00
gwr
37b247edde Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/ 1997-03-26 22:42:13 +00:00
gwr
71e43d14ab Move findroot/setroot stuff from configure() to cpu_rootconf(). 1997-03-26 22:38:40 +00:00
gwr
08f7a407f9 Separate bcopy and copypage stuff from copy.s 1997-03-17 19:46:36 +00:00
thorpej
b6f3695cd1 Use <m68k/m68k/support.s> 1997-03-16 11:04:52 +00:00
mycroft
f868dff8d3 Define the `cleankernel' target consistently with other ports. 1997-03-14 23:27:29 +00:00
oki
b339d19d50 fixed typo 1997-02-25 17:49:46 +00:00
fvdl
115b6d92fa Define ALIGNED_POINTER 1997-02-24 23:16:53 +00:00
mrg
b10b2c5426 comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. 1997-02-18 21:07:36 +00:00
oki
d3fdda40ff Use bitmask_snprintf (from i386) 1997-02-05 16:35:47 +00:00
oki
aabb7063c9 Added copyright notice 1997-02-04 11:45:03 +00:00
oki
53aceb9c4b hit any key to reboot when halted (like hp300) 1997-02-04 11:43:30 +00:00
oki
0e9085546c Added ipfilter device 1997-02-04 10:35:39 +00:00
perry
0b3a46d6b3 Nuke some GENERIC residue. 1997-02-04 04:31:55 +00:00
oki
e42b78c179 Remove #ifdef GENERIC ... #endif 1997-02-03 22:20:32 +00:00
oki
f2ef4f87ec Removed options GENERIC 1997-02-03 22:19:36 +00:00
oki
78c033ae63 Remove swapgeneric.c from target lint 1997-02-03 22:18:38 +00:00
oki
5bd33fc853 Oops, correct value in previous commit 1997-02-03 21:51:15 +00:00
oki
98f832a1b3 Remove #include <string.h> 1997-02-03 21:41:59 +00:00
oki
6bb753af5b - tv_kfont[] size fix.
- silly speed hack.
1997-02-03 21:40:45 +00:00
oki
ddfc714cbe Remove initialize mrh_list line, and fixed 1997-02-03 21:08:48 +00:00
oki
e79ab67da5 - RCSid police
- Correct header comment
- Sync with ALL
1997-02-03 20:20:45 +00:00
oki
b2f7c338bf Correct prototype 1997-02-03 17:01:57 +00:00
oki
9f4a52fe65 Added missing semicolon 1997-02-03 16:55:00 +00:00
thorpej
e17b9d9d39 Garbage-collect extra copy of mappedcopy. 1997-02-02 08:56:04 +00:00
thorpej
97be41b969 Use zeropage() in pmap_zero_page() 1997-02-02 08:54:20 +00:00
thorpej
e3a9cf46ee zeropage -> devzeropage, and make it static. 1997-02-02 08:50:51 +00:00
thorpej
f05c6918f6 Garbage-collect extra copypage() 1997-02-02 08:48:35 +00:00
thorpej
ac90be5e3b Oops! NFSCLIENT -> NFS 1997-01-31 06:03:38 +00:00
thorpej
739f23a219 This file is obsolete; this information is now generated by config(8). 1997-01-31 05:12:49 +00:00
thorpej
2525eee053 Use new machine-independent mountroothook code. 1997-01-31 02:15:54 +00:00
thorpej
e37a1f5794 Use new machine-independent setroot() and mountroothook code. 1997-01-31 02:15:09 +00:00
thorpej
be49bd8254 Update for new file system and root spec grammar. 1997-01-31 02:14:19 +00:00
oki
7195b16867 :: --> : 1997-01-30 16:03:55 +00:00
oki
8217cb3f83 Rename in_xxxx to tv_xxxx (Use new ite_tv.c) 1997-01-26 12:17:59 +00:00
oki
dfddf7ddbb - Use New ite_tv.c
- Remove unused ite_in.c and kernel_font.c line
1997-01-26 12:13:46 +00:00
oki
458bd2f101 Use new ite_tv scheme, this file no longer used. 1997-01-26 12:10:45 +00:00
oki
d1c397b214 rewriteten ITE lower routine for x68k Text-Vram frame buffer. 1997-01-26 12:04:54 +00:00
thorpej
b170998941 "md" is declared in sys/conf/files, now. 1997-01-21 09:50:17 +00:00
oki
402d9aaf2d Oops, fixed typo in previous commit, compile again. 1997-01-20 15:15:20 +00:00
oki
159749de63 Fixed compile error with last commit of iodevice.h 1997-01-19 06:37:47 +00:00
oki
b79bcac5fd Use ip->isw intead of itesw. Remove unused extern itesw[]. 1997-01-18 21:07:30 +00:00
oki
7b0e6b6b07 tvram[] should be u_char, instead of u_short. 1997-01-18 21:04:34 +00:00
oki
ffa088c0d2 silly little optimization. 1997-01-18 13:19:57 +00:00
oki
1e394e1181 Use struct fpframe instead of int[], suggested from Takeshi Nakayama. 1997-01-18 11:48:38 +00:00
oki
b20d46b8b2 Added FPU_XXXX macros. 1997-01-18 11:46:31 +00:00
oki
9fd4b64eb7 bxx --> jxx 1997-01-18 11:16:57 +00:00
perry
b89a3425b7 Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
oki
0e58d64c9e first commit of M68060 and FPU_EMULATE support.
M68060 support by YAMASAKI Yasushi, few arranged by me.
1997-01-13 14:04:42 +00:00
oki
a83d534e05 Add EXEC_AOUT and EXEC_SCRIPT. 1997-01-08 16:17:29 +00:00
oki
0f23801475 Fix typo. 1997-01-08 16:16:14 +00:00
oki
7dcae7a79d Add macros. 1997-01-08 10:29:27 +00:00
oki
e4b66b6973 Compile again. 1997-01-08 10:15:51 +00:00
oki
0c47c09505 Use FPU_XXXXX macro, x68k is now use this file. 1997-01-08 04:03:50 +00:00
oki
0e00922730 Add fpu_probe prototype. 1997-01-08 04:00:47 +00:00
oki
c68b49f85c Add fpu.c, delete unneeded fpe_emulate.c line. 1997-01-08 03:59:32 +00:00
oki
4c16b00300 #include "..." --> #include <...> 1996-12-31 00:35:21 +00:00
pk
d5b11782b5 rename: ramdisk => md 1996-12-28 23:27:00 +00:00
thorpej
d502e68402 Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
thorpej
ef5333043b Copyright assigned to The NetBSD Foundation. 1996-12-09 17:46:44 +00:00
oki
6281db6925 Use config_search() instead of config_scan(),
by Chris G Demetriou, tested by me.
1996-12-09 16:12:19 +00:00
oki
d27890041b CACHE4_OFF --> CACHE40_OFF, compile again. 1996-12-09 15:29:06 +00:00
cgd
96acdadef7 First step inn removing config_scan() and the hacks that gave devices
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:

Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
jonathan
4c1d96de78 * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

  Leave `mandatory' flags (like  -msoft-float which  on m68k enforces no
  FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
oki
0528423d96 renamed variable in ev_poll(), compile again. 1996-11-27 14:40:46 +00:00
oki
a91608384d edit include path, config again. 1996-11-27 14:37:18 +00:00
oki
e36077d7ba Implement poll(2). 1996-11-23 09:44:53 +00:00
cgd
8a3333b2a9 Fix an inconsistency that came in with Lite: setrq() was renamed to
setrunqueue(), but remrq() was never renamed.  Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
oki
eb605060cc Add options EXEC_SCRIPT and EXEC_AOUT. 1996-10-27 09:14:59 +00:00
oki
2c83ce47ad add options EXEC_SCRIPT and EXEC_AOUT
Sync with ALL, config again.
1996-10-27 09:07:50 +00:00
oki
dd2ea83317 add EXEC_SCRIPT and EXEC_AOUT 1996-10-27 08:52:04 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
christos
e37692f04d backout previous kprintf change 1996-10-13 03:29:05 +00:00
christos
848c9d8f02 printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:39:22 +00:00
cgd
e36e19cf1e repoint at shared aout_machdep.h, not exec.h 1996-10-08 13:07:26 +00:00
cgd
472889f8e4 moved to aout_machdep.h (via repository copy) 1996-10-08 12:57:37 +00:00
oki
82f8d6bb4b added ccd(blk)/ch/uk device 1996-09-16 20:08:56 +00:00
thorpej
a437d4f6cb Use <m68k/cpu.h>. 1996-09-11 00:23:47 +00:00
thorpej
7734e8980b Add COMPAT_M68K4K. 1996-09-10 22:48:05 +00:00
thorpej
9ff195106c Document COMPAT_M68K4K, but leave it disabled by default. 1996-09-10 22:45:17 +00:00
mycroft
b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
oki
9682743e21 delete unused prototype. 1996-09-08 18:46:12 +00:00
thorpej
de5110f41e Use <m68k/exec.h>. 1996-09-08 01:00:35 +00:00
mycroft
9e7223f23d Use cdev_scanner_init() rather than local cdev_ss_init(). 1996-09-08 00:11:51 +00:00
mycroft
e6dd44f034 Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft
2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft
fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft
086bf59214 Remove gratuitous insn. 1996-09-03 02:07:34 +00:00
mycroft
b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
mycroft
30a617c634 Wrap the default definition of S' in .ifndef'. 1996-08-31 21:40:47 +00:00
thorpej
0794023752 RCS id police. 1996-08-30 17:43:56 +00:00
cgd
71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mrg
b8e9f36083 add COMPAT_12. 1996-08-26 23:39:36 +00:00
oki
b4ffdaad58 Oops, added forgotten "-". closes port-x68k/2706. 1996-08-19 17:22:14 +00:00
mycroft
558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
oki
e575454bf6 fixed kernel couldn't boot from most machines. more generic for x68k. 1996-08-11 15:37:42 +00:00
oki
33f551acdb fixed major number of vnd and cd. (PR#2635) 1996-08-11 15:34:56 +00:00
oki
c85101f816 drive 2 (or 3) couldn't access with drive 0 (or 1). fixed this. 1996-08-11 15:32:49 +00:00
oki
95d984309f fixed use of uninitialized pointer. 1996-08-11 15:28:36 +00:00
mycroft
cf67f29afe * Add a HOSTED_C_C variable, which strips -p', -pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg
5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
oki
72dd2d1350 XXX grf has some routines call ite function directly.
XXX check whether grf has no associated ite.  fixed PR/2626.
1996-07-17 01:51:43 +00:00
oki
4e7614daa6 call Debugger() with options DDB, added #ifdef. 1996-07-16 16:29:16 +00:00
oki
de609f142b From Ignatios Souvatzis <is@NetBSD.ORG>:
properly distinguish between a bus error and an MMU fault
	on systems with 68030 MMU
1996-07-16 16:18:34 +00:00
oki
6b8ffeacd0 fixed format error 1996-07-08 16:36:28 +00:00
oki
f8e8e90f15 move wait for insert system floppy to mountroot_hook stuff 1996-07-08 16:32:12 +00:00
oki
ff21e075f0 added wait for insert system floppy 1996-06-17 07:28:58 +00:00
oki
8da30c1475 fd* is need to boot from floppy 1996-06-17 06:09:30 +00:00
oki
3b090d3e8f fixed to write disklabel correctly. 1996-06-16 09:07:59 +00:00
oki
3e629c7765 deleted invalid MANDIR line. 1996-06-15 20:15:54 +00:00
oki
5e55373e7a change BINDIR /usr/local/bin --> /usr/bin 1996-06-14 05:16:53 +00:00
oki
add137e8e1 fixed sometimes hang up bug at boot time. 1996-06-12 12:09:30 +00:00
cgd
352d972c94 locc() is unused. Remove it from the machine-independent kernel interface. 1996-06-10 15:33:33 +00:00
oki
ce510f6b02 add tty_attach(tp); 1996-06-05 17:12:52 +00:00
oki
76fc9e1d30 fixed compiler error at kvtop(). 1996-06-05 16:21:44 +00:00
oki
b042da1f56 fixed reboot problem on Xellent30. 1996-05-29 17:19:07 +00:00
oki
7c5b284636 added missing splx(s). pointed out by thorpej. 1996-05-29 17:03:41 +00:00
oki
532b0a8630 fdboot can boot from 512bytes/sector format floppy now. 1996-05-28 17:01:25 +00:00
oki
30ec7d2c44 Some cleanup.
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:32:18 +00:00
oki
82d5960cd6 Some cleanup.
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:31:55 +00:00
oki
6a0bb3e228 Add 'rd' ram-disk pseudo-device. 1996-05-20 14:56:20 +00:00
oki
8823c49fb4 fixed gcc -Wall warnings. 1996-05-20 14:53:07 +00:00
oki
a273dd586c include $S/arch/m68k/060sp/Makefile.inc, similar to amiga. 1996-05-19 12:29:20 +00:00
oki
30bc3379a6 'unlock' label is used for #ifndef DEBUG, my previous change
is bogus.
1996-05-19 12:20:54 +00:00
oki
36a323b483 Added 'unlock' label for #ifdef DEBUG, 1996-05-19 11:37:20 +00:00
oki
6cab72d789 Add a "_kernel_text" symbol, for libkvm. From Gordon Ross. 1996-05-17 12:22:22 +00:00
oki
a104ff9340 spl0 prototype. 1996-05-16 16:03:35 +00:00
oki
347edbdf91 fixed gcc -Wall warning. 1996-05-16 15:57:32 +00:00
oki
34a55c3e59 fixed gcc -Wall warning. 1996-05-15 16:12:48 +00:00
oki
afed73e5a8 fixed for gcc -Wall warning. 1996-05-12 20:49:57 +00:00
oki
611a9dc5c7 x68k mouse has no hardware flow control. 1996-05-12 20:46:33 +00:00
mycroft
540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
oki
4781b7d291 binary file. (PR#2383) 1996-05-09 16:11:56 +00:00
thorpej
42cbc82043 Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:35:07 +00:00
oki
70f5d6ae04 Initial revision 1996-05-05 12:17:14 +00:00
oki
320e7320ef NetBSD/x68k, by Masaru Oki. 1996-05-05 12:17:03 +00:00