mark
649a90497e
No need to check for CPU_ARM7500 being defined as this option implies
...
CPU_ARM7 which has to be checked anyway.
1997-02-03 03:12:09 +00:00
mark
77a2b28277
Add disktab entry for mdroot and miniroot.
1997-02-03 02:51:51 +00:00
scottr
df2df037ca
copypage() is now declared in m68k/cpu.h
1997-02-02 21:33:30 +00:00
thorpej
7b30910b48
KMEMSTATS is a header option; pull in "opt_kmemstats.h".
1997-02-02 21:22:16 +00:00
thorpej
796764eb23
KMEMSTATS is a header option; pull in "opt_kmemstats.h" iff _KERNEL.
1997-02-02 21:20:58 +00:00
thorpej
72096190e8
Make KMEMSTATS a "header option".
1997-02-02 21:16:25 +00:00
thorpej
e14a0d029f
Add support for generating "option headers". These allow options to
...
be included in object dependencies. config(8) is told to generate
a header for a particular option with the new "defopt" keyword, used
in the files.* system description files. Options that are placed in
header files are not given -D... cpp flags.
This approach allows options to be turned into headers incrementally,
rather than all at once, and allows for non-header options, as well.
1997-02-02 21:12:30 +00:00
christos
8a0d2c8cb0
Fix PR1882+PR3171, swap display core-dumps from Paul Boven.
1997-02-02 19:20:55 +00:00
mhitch
93ce3347e7
Where did that 0 come from? Fix typo in cpu type definitions.
1997-02-02 18:37:16 +00:00
scottr
ea6b85a8db
copypage() is now declared in m68k/cpu.h
1997-02-02 18:19:55 +00:00
thorpej
876ea64acb
Add "options LKM", suggested by Klaus Klein <kleink@layla.inka.de>.
1997-02-02 17:29:42 +00:00
thorpej
2a0c6f4a0a
Use splkbd().
1997-02-02 09:40:31 +00:00
thorpej
47e3ffe813
Definition of splhil() is in param.h now.
1997-02-02 09:39:21 +00:00
thorpej
14a4465f0b
- Implement _splraise(), like _spl(), but only modifies the SR if the
...
new ipl is higher than the ipl currently set in SR. (Thanks to
scottr@netbsd.org for implementing it while I was busy with other stuff!)
- Define spl{bio,net,tty,imp} in terms of _splraise().
- Move definition of splhil() here, and define splkbd() as an alias for it.
1997-02-02 09:34:26 +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
8501929f45
Use copypage() and zeropage() in the right places.
1997-02-02 08:41:10 +00:00
thorpej
adcdf4cc59
zeropage -> devzeropage, and make it static.
1997-02-02 08:39:55 +00:00
thorpej
8d00d8cb60
Remove an un-true comment.
1997-02-02 08:38:51 +00:00
thorpej
95e30218f2
Declare and set cputype and mmutype.
1997-02-02 08:36:39 +00:00
thorpej
109700d828
Use copypage() and zeropage() in the right places.
1997-02-02 08:35:27 +00:00
thorpej
2bde56ef38
zeropage -> devzeropage, and make it static.
1997-02-02 08:34:16 +00:00
thorpej
3af641fa98
Remove an untrue comment.
1997-02-02 08:33:11 +00:00
thorpej
68950edae8
Garbage-collect extra copy of mappedcopy.
1997-02-02 08:30:54 +00:00
thorpej
243f0119cb
Purely cosmetic whitespace frobbing.
1997-02-02 08:30:08 +00:00
thorpej
94c399f00e
Use zeropage() in pmap_zero_page().
1997-02-02 08:28:58 +00:00
thorpej
3f17e697bf
zeropage -> devzeropage, and make it static
1997-02-02 08:27:15 +00:00
thorpej
2d04a07129
Garbage-collect extra copypage().
1997-02-02 08:25:23 +00:00
thorpej
07ded04c6f
Use zeropage() in pmap_zero_page()
1997-02-02 08:20:38 +00:00
thorpej
6bab515bce
zeropage -> devzeropage, and make it static.
1997-02-02 08:18:58 +00:00
thorpej
2282bab9ea
Garbage-collect extra copypage()
1997-02-02 08:17:46 +00:00
thorpej
65494a33cb
Garbage-collect extra copy of mappedcopy.
1997-02-02 08:03:06 +00:00
thorpej
2f2eed4a30
Use zeropage() in pmap_zero_page().
1997-02-02 08:01:32 +00:00
thorpej
c51511c5b5
zeropage -> devzeropage, and make it static.
1997-02-02 07:59:41 +00:00
thorpej
4b525c0004
Clean up the mappedcopy initialization code.
1997-02-02 07:58:49 +00:00
thorpej
00111f0a5d
- Eliminate some unnecessary cpu/mmu checks, based on what CPUs
...
the kernel was compiled for.
- Add some comments about possible further optimization.
- Garbage-collect extra copypage()
1997-02-02 07:55:52 +00:00
thorpej
2bf5021447
- Use <errno.h>, not "extern int errno."
...
- Define FPU constants.
1997-02-02 07:53:16 +00:00
thorpej
f10c97e7e7
zeropage -> devzeropage, and make it static.
1997-02-02 07:29:35 +00:00
thorpej
2a1f46c2d5
Gerbage-collect extra copypage()
1997-02-02 07:27:48 +00:00
thorpej
f5c8779ed3
zeropage -> devzeropage, and make it static.
1997-02-02 07:17:14 +00:00
thorpej
e38eb392aa
- Set cputype and mmutype (XXX we set 68040 in the 68060 case)
...
- garbage-collect extra copypage()
1997-02-02 07:15:05 +00:00
thorpej
c4756a90f1
Define CPU, MMU, and FPU constants.
1997-02-02 07:05:52 +00:00
thorpej
de70c1051d
prototype mappedcopy{in,out}(), {copy,zero}page().
1997-02-02 06:56:57 +00:00
thorpej
9568fcee35
Build mappedcopy.c conditional on "options MAPPEDCOPY"
1997-02-02 06:55:15 +00:00
thorpej
e9eba07a8f
Add the Utah mappedcopyin/mappedcopyout functions to a common m68k
...
area. These functions are designed to improve performance of large
copyin/copyout operations by mapping the user page in to the kernel
address space and using bcopy(), rather then copying across protection
boundaries.
XXX This doesn't work yet -- the way it's called doesn't obey C calling
XXX conventions. That will be fixed soon.
1997-02-02 06:54:10 +00:00
thorpej
7dae9fb29b
Add two optimized functions used by pmap.c:
...
- copypage() -- a single page-aligned NBPG-byte copy.
- zeropage() -- a single page-aligned NBPG-byte zero.
These functions don't play around with alignment, etc. Their use
causes a measureable performance improvement in pmap_copy_page()
and pmap_copy_page().
A few m68k ports already had copypage() in their locore.s. It has
been moved here so it can be shared.
1997-02-02 06:50:06 +00:00
thorpej
834bef67f2
If the user has halted the system, allow them to press a key to reboot.
1997-02-02 05:33:30 +00:00
thorpej
6dc3c24a7c
Add missing \n in printf format for "cannot mount root" error message.
...
Pointed out by cgd@netbsd.org
1997-02-02 02:55:06 +00:00