thorpej
8aee7782f5
defopt COMPAT_SUNOS
1998-06-25 23:40:33 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
tv
00ede2160e
Change ddb_init() for a.out to provision for kernels which are not booted by
...
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
thorpej
9ef6fa7387
Build pmap_boostrap.o without profiling; we can't call mcount before the
...
mmu is enabled!
1998-05-31 23:28:07 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
is
7a0f63f982
Back out the defopt for M680?0. As pointed out to me, this breaks ports which
...
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00
is
6a6812fd92
Move M680[2346]0 to opt_m68kcpu.h.
...
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
1998-05-23 20:51:06 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
kleink
aa36ad1f55
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:01:41 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
bouyer
9f50fca1fd
Add commented out "options FFS_EI"
1998-03-18 16:34:41 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
scottr
f49dd3ef30
Avoid declaring the "astpending" and "want_resched" globals in cpu.h,
...
as this breaks C++ code that happens to indirectly include this header.
Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports,
which have already implemented a similar solution.
1998-02-13 07:41:45 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
is
b3fa451227
Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
...
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
ross
3a83745247
In some hp300-derived pmaps, in pmap_page_protect(), don't walk off the
...
end of the list of physical->virtual entires into NULL space if the last
entry is (mysteriously) wired in the pmap. Add a DEBUG printf on alpha.
1998-01-31 01:32:55 +00:00
mycroft
15ae963bea
When dumping, print out the device number as major,minor.
1998-01-24 16:46:23 +00:00
thorpej
f32f947061
Update for changes to config.
1998-01-12 20:52:29 +00:00
perry
6f57e5c573
multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
1998-01-09 22:23:44 +00:00
thorpej
6ac24f05df
Garbage-collect VM_PMAP.
1998-01-06 08:46:11 +00:00
thorpej
2317f9064e
Garbage-collect pm_stchanged.
1998-01-06 08:40:50 +00:00
thorpej
07f835de1f
Garbage-collect PMAP_ACTIVATE() call here; it's no longer necessary.
1998-01-06 07:49:36 +00:00
thorpej
61567b54de
Garbage-collect pm_stchanged; it's not used by anything.
1998-01-06 07:02:58 +00:00
thorpej
d11b109f2b
Garbage-collect use of the PCB's copy of the user segment table pointer.
1998-01-06 06:51:40 +00:00
perry
2ec6474b31
RCSID Police.
1998-01-06 04:44:59 +00:00
thorpej
a8f80ad4fd
Fix a bogosity apparently inherited from when the Utah 4.3BSD code base
...
was converted to use Mach VM for Net2/4.4BSD. The user segment table
pointer was originally stored in the PCB. When Mach VM came along,
however, it was also stored in the pmap, and loaded into the PCB in
pmap_activate(). pmap_activate() would then note that the PCB's USTP
was now in sync with the pmap's USTP, and the low-level context switch
code would use the value from the PCB.
However, pmap_activate() would also load the hardware MMU context if
the pmap was the current pmap (or, in the case where pmaps can be shared,
such as in NetBSD, if the proc was the current proc). The low-level
context switch code would then reload the hardware _again_ using the
USTP from the PCB.
However, the optimization of not calling pmap_activate() if "stchanged"
was false ended up causing some processes to use stale USTP values from
the PCB when the low-level context switch code reloaded the hardware!
This was noticed by using a real vfork(2) (which worked for some time
before failing, surprisingly!)
Since I'm hard pressed to find any real optimization here (since the
hardware was always reloaded once, sometimes twice!), the code now always
calls pmap_activate(), which uses the correct USTP value (the one in the
pmap). The PCB's USTP is now ignored, and should eventually be g/c'd.
Another optimization can actually be performed, and I have added a comment
describing what it is, but have not yet implemented it.
Also note that most of the loadustp() functions where actually incomplete.
This has been corrected. These functions should probably be split up into
MMU-specific operations, and called indirectly, rather than doing constant
run-time decision making based on values that will never change during the
course of a boot's lifetime.
1998-01-05 23:16:21 +00:00
perry
b46484bb8a
RCSID Police.
1998-01-05 20:51:25 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
thorpej
b9f1b716f3
Now that all ports have pmap_activate(), and it has an identical interface,
...
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej
dd966fca05
Change an argument name to PMAP_ACTIVATE() to more accurately describe the
...
semantics of the argument.
1998-01-01 20:05:23 +00:00
thorpej
287b63b321
- Make pmap_activate() and pmap_deactivate() take a struct proc *.
...
- Define active_user_pmap() and use it in the appropriate places (from hp300
port).
1998-01-01 19:52:50 +00:00
oki
ac86463ce3
Make compile without options MACHINE_NONCONTIG.
1997-12-24 17:48:10 +00:00
oki
49779c8c5a
Add MDP_STACKADJ.
1997-12-24 17:46:08 +00:00
kleink
bb7bb0093d
Add COMPAT_13.
1997-12-01 16:33:39 +00:00
fair
315f8de9c2
add pseudo-device rnd, commented out
1997-11-20 08:11:14 +00:00
lukem
e8cb388f65
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:58:31 +00:00
thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
lukem
2793a8e02a
use CPPFLAGS instead of CFLAGS
1997-10-26 22:09:43 +00:00
is
a16fd7d74e
Make these compile after m68k/m68k.h 1.4->1.5.
1997-10-26 21:41:34 +00:00
oki
a6dfd800c9
Test device is configured in interrput handler.
1997-10-19 20:45:11 +00:00
oki
3e2d17592a
add support for MK-HA2 Mach-2 SCSI host adaptor.
1997-10-19 20:41:02 +00:00
oki
968a155917
Add options M68060, mha driver.
1997-10-19 16:04:57 +00:00
oki
742eb9d713
new bootfloppy kernel configuration file.
1997-10-19 16:03:11 +00:00
oki
ad0f2e276a
pretty message.
1997-10-19 15:32:57 +00:00
oki
9e3da87164
Use common m68k/sig_machdep.c.
1997-10-19 15:17:24 +00:00
oki
624322fb6a
Make this compile new bootblock code.
1997-10-19 11:03:38 +00:00
oki
3f9967ed1d
New bootblock code (compressed kernel support).
...
mostly written by ITOH Yasufumi.
1997-10-19 11:00:51 +00:00
oki
bbe9571856
Make this compile again.
1997-10-19 10:59:55 +00:00
oki
cfe6621afa
Support of MK-HA1 Mach-2 SCSI adaptor.
1997-10-19 09:29:25 +00:00
oki
73c0b0f2a6
for ramdisk kernel
1997-10-19 08:16:40 +00:00
oki
ea023e3b94
Use rnd.h and #if NRND > 0.
1997-10-17 20:28:06 +00:00
oki
e8b2ab848c
Make this compile again.
1997-10-17 20:24:35 +00:00
oki
3846baf664
Fixed gcc warnings.
1997-10-16 16:24:47 +00:00
oki
3f6dddc5cd
Remove use of register.
1997-10-16 15:43:54 +00:00
thorpej
0154e69e5a
Pulldown from marc-pcmcia branch: minimal changes to change x68k port's
...
"com" (now "xcom") driver to avoid name collision with the more
heaviliy-used "com" driver.
1997-10-15 23:39:18 +00:00
lukem
28558b28eb
rcsid fascism
1997-10-13 14:22:22 +00:00
explorer
80513cb5ae
o Make usage of /dev/random dependant on
...
pseudo-device rnd # /dev/random and in-kernel generator
in config files.
o Add declaration to all architectures.
o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
oki
16bcf097c2
call arpintr() if NARP > 0.
1997-10-12 18:49:25 +00:00
oki
075543ca76
Replace trap1 and trap2 to native 4.3 process.
1997-10-12 18:25:36 +00:00
oki
e2f8a8b9cd
Oops, dk_establish still need.
...
Backout previous commit, added prototype.
1997-10-12 18:23:18 +00:00
oki
787edcfff0
Fix compiler warnings.
1997-10-12 18:20:21 +00:00
oki
f78ab6d1cc
Added 'arp' to Neptune-X ethernet interface.
...
Removed local if_se entry (no longer works.)
1997-10-12 18:16:43 +00:00
oki
570278ec01
Added prototypes.
1997-10-12 18:06:21 +00:00
oki
f5733259c7
Added FPU_68060
1997-10-12 18:02:32 +00:00
oki
fd9fae64cc
Added prototype.
1997-10-12 14:44:12 +00:00
oki
34c4ab5da2
Prune unused function.
1997-10-12 12:15:15 +00:00
oki
9418615252
Added prototypes.
1997-10-12 12:13:48 +00:00
oki
1db0621f0e
Add prototype.
1997-10-12 06:41:45 +00:00
oki
9ce308d6d6
Added header file for prototype.
1997-10-11 11:15:00 +00:00
oki
e23506ac2e
Added header file.
1997-10-11 11:13:54 +00:00
mycroft
a7aef46287
Use m68k/Makefile.inc.
1997-10-11 09:11:17 +00:00
mycroft
5c8d588138
Nuke NOOBJ.
1997-10-11 08:44:42 +00:00
mycroft
acf0e569a5
Update all the tags goo, and use bsd.subdir.mk.
1997-10-11 08:42:02 +00:00
scottr
017e6c7f10
Address PR 4120 by synchronizing v{,un}mapbuf() with the i386 vm_machdep.c,
...
v 1.27, pulling in changes made there by Charles Hannum. Also, incorporate
a few tweaks made by Gordon W. Ross in the sun3 version of this change.
1997-10-11 06:38:45 +00:00
oki
8e80f913ed
Use CLEANFILES= instead of target clean.
1997-10-11 01:19:15 +00:00
oki
aca42300b3
Use CLEANFILES= instead of target clean.
1997-10-11 00:26:51 +00:00
oki
051b06a759
Add prototypes.
1997-10-10 21:45:18 +00:00
oki
a9685de195
Fdopen --> fdopen
1997-10-10 21:42:38 +00:00
oki
affaadc59f
Prune unused function.
1997-10-10 21:40:50 +00:00
oki
a6f8cf735d
WARNify, add prototype, remove use of register.
1997-10-10 17:48:06 +00:00
oki
35c6ab7eaf
Add prototype, remove use of register.
1997-10-10 17:46:09 +00:00
oki
5a60f8df47
Remove use of register.
1997-10-10 17:43:09 +00:00
oki
9dfe683ff7
Add missing prototypes.
1997-10-10 12:55:26 +00:00
oki
87e21e080a
Add missing prototype.
1997-10-10 12:54:02 +00:00
is
9f6d6708f4
Help crosscompiling, by as -> $(AS). Define AS?= as in the calling
...
Makefile.$(ARCH)es. Will hopefully fix the (remaining) part or pr4010.
1997-10-09 20:40:18 +00:00
oki
15d57c4473
Oops, fixed error in previous commit.
1997-10-09 13:26:18 +00:00
oki
deff7d5471
Added prototype.
1997-10-09 13:19:26 +00:00
oki
a6a631ac6c
Added missing prototype.
1997-10-09 13:00:49 +00:00
oki
a947a7eff9
Remove __BDEVSW_DUMP_OLD_TYPE.
1997-10-09 12:59:23 +00:00
oki
2ce1763013
Prototype spl0().
1997-10-09 12:58:31 +00:00
jtc
da7890c526
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 08:31:58 +00:00
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
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