Commit Graph

289 Commits

Author SHA1 Message Date
oki
fc752db7e8 Use _ASM_LABEL. 1997-10-08 16:02:04 +00:00
is
37fce9c90f Oops, forgot to commit this when doing the recent 060SP Makefile change. 1997-10-07 19:26:11 +00:00
lukem
7d508b124f define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
1997-10-03 07:17:00 +00:00
christos
7f41ec0345 PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:50:53 +00:00
is
d5e867bb03 Build the 68060 support package in the kernel build dir.
XXX PCB_ONFAULT is still hardwired to 64 in netbsd060sp.S.
1997-09-28 20:49:56 +00:00
leo
d4713d24c2 Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
mycroft
a9155c5057 Set the status word as well, and remove a bogus comment. 1997-09-12 10:29:20 +00:00
mycroft
cba224ed23 FPCOPROC is no longer used here. 1997-09-12 09:29:13 +00:00
mycroft
5933da103c Add and use fputype. Optimize floating point save/restore routines a bit more
if only one CPU type is defined.  Eliminate FPCOPROC.
1997-09-12 09:23:18 +00:00
mycroft
8a8fa1ee59 Eliminate some uses of FPCOPROC. 1997-09-12 08:19:00 +00:00
mycroft
e9f392b0a9 Eliminate some uses of FPCOPROC. 1997-09-12 08:08:50 +00:00
mycroft
49f0bbb105 Nuke Locore.c. It's way too out of date to be useful at this point. 1997-09-12 07:59:20 +00:00
mycroft
982f24e698 Always initialize all registers in setregs(). 1997-09-12 07:00:30 +00:00
mycroft
16a8787248 Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)
1997-09-11 23:01:44 +00:00
bouyer
6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
mjacob
6ac7f6248f add a before tab to SCSIVERBOSE 1997-08-23 19:16:06 +00:00
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