Commit Graph

147 Commits

Author SHA1 Message Date
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