mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
minoura
87c8a7e347
u?vm_page_physload args are in page.
1999-03-23 15:55:43 +00:00
minoura
86ecebe5e8
Move high-memory detect routine.
...
This seems to fix the problem that it hangs up on 040turbo without
high-memory.
1999-03-23 04:18:50 +00:00
minoura
c36508e32b
Use bus_dma(9) for DMA bouncing.
...
The code is dirty. It should be rewritten in the future.
1999-03-22 08:54:14 +00:00
minoura
4da31bd7f1
Use intio_debug flag variable.
1999-03-22 03:21:35 +00:00
minoura
c9e79552c8
Check unit.
...
This bug seems to be introduced on merging the bus.h patches.
1999-03-22 03:20:51 +00:00
minoura
7cc089a5dd
Correct rnd_attach_source args.
1999-03-18 16:15:53 +00:00
minoura
815f84a789
Shut up gcc -Wall
1999-03-18 12:31:58 +00:00
minoura
701942e794
G/C.
1999-03-18 12:27:59 +00:00
minoura
f0dda99d19
Remove extra ;. Extended memory could not be added correctly.
1999-03-18 12:27:07 +00:00
chs
ab7269f62a
if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
...
and print a message about it. this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
minoura
5410a9b53b
Crash dump support.
...
It was broken for long time because of somewhat unknown reasons.
1999-03-17 16:19:46 +00:00
minoura
d2721426bb
Move aout2hux manpage to share/man/man1/man1.x68k/.
1999-03-17 14:52:39 +00:00
minoura
64d2bc59bc
MACHINE_NONCONTIG -> EXTENDED_MEMORY.
...
G/c and comment changes.
1999-03-17 12:31:25 +00:00
minoura
6de1aeaee6
MACHINE_NONCONTIG -> EXTENDED_MEMORY.
1999-03-17 12:29:56 +00:00
minoura
a6cf3ee3f8
Sync hp300's.
...
- Remove pmapvacflush debugging code (1.63)
- pmap_collect (1.60)
- Use pool allocator (1.59)
- pmap_zero_page, pmap_copy_page improvements (1.58)
- Use PMAP_DPRINTF (1.56)
- pmap_changebit() changes (1.54)
- Remove deprecated PMAPSTATS (1.53)
- Other cosmetic changes
1999-03-17 12:28:58 +00:00
minoura
b34682dcab
Typo.
1999-03-16 17:04:35 +00:00
minoura
ba80d2c6d7
Merged minoura_x68k_bus_h branch.
1999-03-16 16:30:16 +00:00
minoura
e518820ca8
Pullin m68k/ieee.h.
1999-03-15 11:55:53 +00:00
itohy
a2bbc02716
Fix parameter type mismatch.
1999-03-02 18:18:38 +00:00
explorer
3ebb419571
Update to slightly altered rnd_attach_source() api
1999-02-28 17:08:05 +00:00
scottr
d32ed292af
defopt BUFCACHE and BUFPAGES.
1999-02-27 06:39:34 +00:00
is
f71d843a65
synchronize types, and s/curproc/p/ in one forgotten place
1999-02-26 22:37:57 +00:00
is
bce0bda05c
x68k specific part of fix for PR 6152
1999-02-26 16:07:07 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
minoura
cc5f9932f8
Issue SCSI reset on initialize.
...
Clean unused mha_reset.
1999-02-07 15:18:58 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft
b3a56d0097
Catch up with a change to the stint interface.
1999-02-03 20:22:28 +00:00
itohy
2667a4b26f
Fix typo.
1999-02-02 10:00:18 +00:00
itohy
fbfe12046d
Trivial asm-level optimizations.
1999-02-02 09:16:52 +00:00
mycroft
3e6e3322d8
Format consistency.
1999-01-24 12:56:51 +00:00
mycroft
082204fa3d
Standardize format.
1999-01-22 14:12:07 +00:00
thorpej
2fb041ce0a
No need for <sys/mtio.h>
1999-01-19 18:18:41 +00:00
itohy
fe5278bffc
MACHINE_NEW_NONCONTIG is no longer optional
...
remove non-MNN code
1999-01-18 07:39:51 +00:00
thorpej
8922647c58
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
1999-01-15 23:37:05 +00:00
thorpej
c84a74b16b
Don't define "mc68020". Nothing uses it.
1999-01-15 23:21:25 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
itohy
cd16d23d21
Make it compile again.
...
Use err(3) functions.
KNF
1999-01-13 10:23:40 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
itohy
33df770bf5
Avoid `void *' arithmetic.
1999-01-09 19:55:58 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
minoura
7b7ab5a123
UVM is now default for GENERIC.
1999-01-03 14:48:15 +00:00
itohy
172852517b
Switch x68k port to UVM by default.
...
Mach VM and even old contig and non-contig codes are still alive.
1998-12-23 23:01:44 +00:00
minoura
72bcdb203b
Synced with GENERIC.
1998-12-16 14:10:38 +00:00
itohy
36416d8500
Added options COMPAT_LINUX and EXEC_ELF32 as comments
...
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy
c05dadc113
Added COMPAT_LINUX support.
1998-12-15 19:36:36 +00:00
itohy
643e0d4cc2
Added intr.h
1998-12-14 19:04:58 +00:00
itohy
b40f2a1c88
Make egcs happy.
1998-12-14 15:22:04 +00:00
minoura
6aa085a693
Splitted out the interrupt handling code to a separate file.
...
Disallow getting down the interrupt level by splXX.
1998-12-13 15:04:01 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
minoura
e01f39790b
BUFCACHE option.
1998-11-29 16:20:13 +00:00
minoura
933646a42b
Re-enabled SMALL.
...
This kernel can run on small memory machines.
1998-11-29 16:17:01 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
itohy
6fca929d87
Moved the manual to share.
...
Added -L for libc.
Use `&&' instead of `;' for cd and print-objdir in order to avoid
infinite fork() if chdir failed.
1998-11-20 10:59:22 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
itohy
d8f63f8a88
Get pmap_extract() return value with paddr_t, not vaddr_t.
...
Some other minor changes stolen from hp300. :)
1998-11-18 10:05:35 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
thorpej
cabecee13c
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:43:49 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
itohy
2a9addf6dc
Remove unwanted reference to "_trap1" if !defined(COMPAT_13).
1998-10-18 04:42:17 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
thorpej
b38544d99e
Oops, back out a buglet I didn't intend to commit in the last change.
1998-10-07 18:29:26 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
c01f29bdf1
Sigh, we are going to have to burn a vector for Just Sigreturn again,
...
for now, until we have a more generic {get,set}context(). Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
thorpej
d15a64c38b
Adapt to signal changes.
1998-10-01 02:53:53 +00:00
thorpej
8b220e1148
Define SYS_compat_13_sigreturn13.
1998-10-01 00:29:51 +00:00
thorpej
bcf14a99e2
Garbage collect trap #1 and trap #2 handlers; they're moved to
...
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
1e62485c23
If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
...
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej
a11e6632a8
Pull in opt_compat_netbsd.h
1998-09-30 23:01:28 +00:00
thorpej
35d282c8d5
Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
...
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
38084c6615
Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
...
which require special handling, e.g. sigreturn on m68k.
This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
mycroft
7b15b3b56d
Minor change.
1998-09-13 12:01:41 +00:00
minoura
6b6b9e2706
Make device probe/attach sessions to be executed at splhigh.
...
mha driver used interrupt driven I/O.
1998-09-09 16:42:51 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
minoura
cfa2e4dfa3
Activated options *_PAGER.
...
That was a careless mistake.
1998-09-08 15:43:27 +00:00
minoura
074790dfb9
Make it usable.
1998-09-07 14:24:08 +00:00
minoura
334656f748
Cleanup _doboot, fixing the 040 reboot bug.
1998-09-07 14:14:34 +00:00
minoura
99517aa6c3
Reorganized the config files based on NetBSD/sparc ones.
...
Removed unmaintained files.
1998-09-07 14:11:08 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
minoura
2eacfa5148
Deleted unused options EIOMAPSIZE and ITEKANJI.
...
Removed unmaintained configs.
1998-09-03 14:29:33 +00:00
minoura
2b34aa908f
Eliminated meaningless ITEKANJI.
1998-09-03 14:22:06 +00:00
minoura
8749f59fe4
Unimplemented EIOMAPSIZE defaults to 0.
1998-09-03 14:13:18 +00:00
itohy
3e5ec30a8f
Use subdirs.
1998-09-01 20:18:37 +00:00
itohy
b5f246a8ca
Changed algorightm to figure out boot device.
...
Use type of SCSI interface, target SCSI ID and LUN,
passed from the boot loader.
1998-09-01 20:08:21 +00:00
itohy
f9175d6bc7
NetBSD/x68k boot loader. The xxboot now can boot NetBSD from
...
1. >1GB SCSI disks,
2. any of the top 7 partitions on disks, and
3. any SCSI interface.
1998-09-01 20:02:32 +00:00
itohy
ecc30b1784
New boot program.
...
Load and execute NetBSD/x68k kernel from Human68k.
1998-09-01 19:55:32 +00:00
itohy
8f7b16dd71
X680x0 IOCS library.
1998-09-01 19:53:54 +00:00
itohy
f67f070984
Human68k DOS library.
1998-09-01 19:53:25 +00:00
itohy
16964edb07
The files are moved to stand/xxboot/gunzip/.
1998-09-01 19:52:48 +00:00
itohy
bfd67e9c16
Files used in common.
1998-09-01 19:51:56 +00:00
itohy
19f52a192c
New utility program.
...
Convert a.out to Human68k ".x" format executable.
1998-09-01 19:51:07 +00:00
itohy
330356bc46
The files are moved to stand/xxboot/.
1998-09-01 19:49:33 +00:00
itohy
b8e89a2507
Removed unused files.
1998-09-01 19:48:00 +00:00
itohy
1bf1486a77
Added an include file on port dependent boot information.
1998-09-01 19:47:38 +00:00
itohy
62f989f832
Removed unused files.
1998-09-01 19:44:14 +00:00
minoura
e97803df25
Typo.
1998-09-01 15:05:21 +00:00
minoura
7f4ad4748e
Eliminated vm_offset_t and vm_size_t.
1998-08-22 14:38:36 +00:00
mycroft
d07b3639a4
Assign my copyrights to TNF.
1998-08-15 17:47:15 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
cdf829a998
Assign copyrights to TNF.
1998-08-15 04:22:45 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
minoura
a6b5ab0c92
Moved parioctl.h to the system header directory.
1998-08-07 16:16:36 +00:00
minoura
4c4cdda003
Switched to MI zs driver.
1998-08-07 11:19:13 +00:00
minoura
d082dd3db4
Moved grfioctl.h and iteioctl.h to the public include directory.
1998-08-06 14:08:53 +00:00
minoura
4df8f47ebc
Switched to MI zs driver.
1998-08-05 16:08:33 +00:00
minoura
e8551dcab3
Fixed stray pointer access reported by Yasufumi Itoh.
1998-08-05 15:57:43 +00:00
minoura
89f91f85fa
Fixed typo.
1998-08-05 14:40:20 +00:00
minoura
b72d8d17f9
__BROKEN_INDIRECT_CONFIG fixes.
1998-08-04 16:51:51 +00:00
minoura
ea7f1dbe36
Some files were not deleted with make clean.
...
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +00:00
minoura
aced90770c
Message fixes.
1998-08-04 16:10:45 +00:00
minoura
233cd5d60b
RB_POWERDOWN is now supported.
...
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
thorpej
3ff8e6493a
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:34:52 +00:00
veego
1b46ebe1d9
Add elf_machdep.h to the INCS list.
1998-07-12 17:53:29 +00:00
thorpej
639cc899cf
Basic elf_machdep.h for m68k; doesn't include relocations, yet.
1998-07-12 01:17:58 +00:00
thorpej
d47ea67c1f
Define one page free list, and put all pages on it.
1998-07-08 04:43:18 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
msaitoh
94b9143ddd
add RCSID
1998-06-30 12:22:36 +00:00
msaitoh
c0eed6da3d
sync with -current after a long silence
1998-06-30 11:59:09 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
37b378d836
defopt COMPAT_HPUX
1998-06-25 23:56:39 +00:00
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