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
carrel
31ff345489
My config files. To quote from thorpej: "for kicks".
1997-02-02 00:23:23 +00:00
thorpej
312e813007
Oops, need PFIL_HOOKS.
1997-02-02 00:11:33 +00:00
thorpej
f28303c413
- Garbage-collect a kludge necessary when we were using old config.
...
- Synch the "clean" rule with the i386 port's.
- Add a commented-out rule for generating assym.h w/ the new genassym.sh.
Some slight changes need to be made to genassym.h to make it work with
m68k, so we can't use it just yet.
1997-02-01 23:55:10 +00:00
scottr
37fbc156dc
Now that we can compile without warnings, enable -Werror
1997-02-01 21:55:23 +00:00
mrg
96c21c1fcf
no need to delcare mcount here; fixes warnings(errors) when compiling a kernel with profiling.
1997-02-01 20:56:40 +00:00
matthias
a6befcbede
* clean, depend :: -> : change
...
* use genassym.sh to create assym.h
1997-02-01 09:23:02 +00:00
mhitch
e65c38353c
Use the disk offset to the boot block (first block in the partition) to
...
pass the block number of the boot partition to the kernel. The kernel
will use the block number to determine which disk device the kernel was
booted from and set the boot device based on that instead of the old
"generic" method.
1997-02-01 01:46:26 +00:00
mhitch
3af372d68a
If the bootloader passes the boot partition offset, try to determine which
...
disk device was the boot device and use that for setroot().
1997-01-31 23:26:10 +00:00
mhitch
965c7a43fe
Get the boot partition offset from the boot loader. Also pass it when
...
doing a reload. The partition offset will be used to determine which
disk device was the boot device.
1997-01-31 23:18:56 +00:00
carrel
05c0e704dc
Make "options HP340" actually work without having "option HP360".
1997-01-31 23:01:21 +00:00
mhitch
d8489a6f7e
"options GENERIC" is obsolete, don't need the prototype for setconf() anymore.
1997-01-31 22:59:19 +00:00
mhitch
78d0024855
"options GENERIC" is obsolute.
1997-01-31 22:55:42 +00:00
gwr
186a6ad683
Add include <machine/mon.h> so this compiles, etc.
1997-01-31 22:33:47 +00:00
carrel
32f2102a58
Patch from thorpej to mark non-console grf's and ite's alive.
1997-01-31 21:16:50 +00:00
thorpej
2c94d6307c
Fix typo introduced in new setroot code. (There's only just a little
...
irony in that, eh?)
From Klaus Klein <kleink@layla.inka.de>, PR #3173 .
1997-01-31 20:20:53 +00:00
thorpej
2ca27c5550
Garbage-collect "argdev".
1997-01-31 19:10:27 +00:00
cgd
95963edf4f
add KMEMSTATS to ALPHA, clean up ports diagnostic/debug options
1997-01-31 18:00:33 +00:00
veego
87ba0ff405
:: -> : (pr #3154 with a minor change)
1997-01-31 10:16:07 +00:00
thorpej
bb1cdc5027
Yet Another NFSCLIENT -> NFS. (I must be getting tired.)
1997-01-31 06:13:42 +00:00
thorpej
04da46b022
Gah, missed another NFSCLIENT -> NFS.
1997-01-31 06:12:57 +00:00
thorpej
6ce149b26e
Oops, missed an NFSCLIENT -> NFS. (grep is your friend)
1997-01-31 06:12:07 +00:00
thorpej
739819c9ba
Adopt for new file system and root spec grammar.
1997-01-31 06:05:14 +00:00
thorpej
ac90be5e3b
Oops! NFSCLIENT -> NFS
1997-01-31 06:03:38 +00:00
thorpej
87e3085155
Adopt for new file system and root spec grammar.
1997-01-31 06:02:19 +00:00
thorpej
d8096d0e4e
Oops! NFSCLIENT -> NFS
1997-01-31 05:57:05 +00:00
thorpej
41809f9413
Adopt for new file system and root spec grammar.
1997-01-31 05:56:10 +00:00
thorpej
41a9e723e3
Adopt for new file system and root spec grammar.
1997-01-31 05:46:09 +00:00
thorpej
7edaeb36ce
Oops, remove straggler NFSCLIENT.
1997-01-31 05:20:06 +00:00
thorpej
739f23a219
This file is obsolete; this information is now generated by config(8).
1997-01-31 05:12:49 +00:00
cgd
d3f790f3d0
add 'major' declaration for wd
1997-01-31 02:49:57 +00:00
cgd
3603b076e1
add major and minor numbers for 'wd', slight clean
1997-01-31 02:49:35 +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
thorpej
9b683dc125
Use new machine-independent setroot().
1997-01-31 02:13:40 +00:00
thorpej
003dad8fdd
Pass a struct device ** down to the functions that find the boot device.
1997-01-31 02:12:31 +00:00
thorpej
fc9c10afb7
Update prototypes to match new calling convention of functions that
...
find the boot device.
1997-01-31 02:11:51 +00:00
thorpej
2b43c7eab7
Adopt for new file system and root spec grammar.
1997-01-31 02:10:33 +00:00
thorpej
bb87691950
Use new machine-independent setroot().
1997-01-31 02:08:50 +00:00
thorpej
95380a8478
Adopt for new file system and root spec grammar.
1997-01-31 02:08:19 +00:00
thorpej
801f7e1a0e
Use new machine-independent setroot() and mountroothook code.
1997-01-31 02:07:29 +00:00
thorpej
f159c829df
Adopt for new file system and root spec grammar.
1997-01-31 02:06:41 +00:00
thorpej
304c785022
Find the root device in a much more sane way. Also, remove all of the
...
code that determines the root file system type. This is now done in
machine-independent code, much differently.
1997-01-31 02:05:54 +00:00
thorpej
773c77b683
Use the new machine-independent setroot().
1997-01-31 02:04:43 +00:00
thorpej
1a0f586e08
Declare booted_device and booted_partition as "extern".
1997-01-31 02:04:14 +00:00
thorpej
bd1a87986a
Adopt for new file system and root spec grammar.
1997-01-31 02:03:38 +00:00
thorpej
65e736fcae
Use new machine-independent setroot().
1997-01-31 02:02:56 +00:00
thorpej
08dafb1339
Add a sick little hack to glue old-config-pmax-scsi-stuff into the
...
alldevs list. This is required for the new machine-independent setroot().
1997-01-31 02:00:56 +00:00
thorpej
1b341f7e70
Update for new file system and root spec grammar.
1997-01-31 01:59:09 +00:00
thorpej
e4d6c27735
Use new machine-independent setroot().
1997-01-31 01:58:44 +00:00
thorpej
16aa3354f7
Adopt for new file system and root spec grammar.
1997-01-31 01:58:17 +00:00
thorpej
0735d8d32e
Use new machine-independent setroot().
1997-01-31 01:57:51 +00:00
thorpej
fcb565dde2
Adopt for new file system and root spec grammar.
1997-01-31 01:57:08 +00:00
thorpej
70653a472d
bootdv -> booted_device
1997-01-31 01:56:03 +00:00
thorpej
573e68b745
Use new machine-independent setroot().
1997-01-31 01:55:40 +00:00
thorpej
0e3acd811d
bootdv -> booted_device
1997-01-31 01:53:06 +00:00
thorpej
3fd4de4cd9
Adopt for new file system and root spec grammar.
1997-01-31 01:52:38 +00:00
thorpej
5f46d3130a
Use new machine-independent setroot().
1997-01-31 01:51:17 +00:00
thorpej
8eae9eaaec
Adopt for new file system and root spec grammar.
1997-01-31 01:50:46 +00:00
thorpej
8763a04e25
Use the new machine-independent setroot().
1997-01-31 01:49:41 +00:00
thorpej
8496115a38
Adopt for new file system and root spec grammar.
1997-01-31 01:48:24 +00:00
thorpej
3e47546598
Use new machine-independent setroot()
1997-01-31 01:47:25 +00:00
thorpej
24c607fc32
NFSCLIENT -> NFS
1997-01-31 01:46:49 +00:00
thorpej
1c705f35fd
Use new machine-independent setroot().
1997-01-31 01:46:23 +00:00
thorpej
e752da4888
Adopt for new file system and root spec grammar.
1997-01-31 01:45:40 +00:00
thorpej
f1065bcb07
Garbage-collect unused bootdev global.
1997-01-31 01:44:13 +00:00
thorpej
16d4fd0ac8
Use the new machine-independent setroot().
1997-01-31 01:43:37 +00:00
thorpej
aea810c379
Adopt for new file system and root spec grammar.
1997-01-31 01:42:34 +00:00
thorpej
4e686aa6ae
Don't locally declare root_device; it's not used in the MI kernel.
1997-01-31 01:41:37 +00:00
thorpej
d5257c641b
Use the new machine-independent setroot()
1997-01-31 01:40:40 +00:00
gwr
d9267b93fd
Forgot to initialize cs->cs_rr0_dcd and fiends in attach.
1997-01-31 00:07:06 +00:00
scottr
fc20c2eb8f
Add missing major number decls, from Klaus Klein (closes PR 3165).
1997-01-30 22:11:19 +00:00
scottr
13802e3a85
Add DIOVERBOSE per Jason; clean up formatting for some options.
1997-01-30 18:33:52 +00:00
thorpej
5885fe6b78
This file is now obsolete.
1997-01-30 17:29:23 +00:00
oki
7195b16867
:: --> :
1997-01-30 16:03:55 +00:00
thorpej
570522c72c
Clean up #includes.
1997-01-30 10:32:51 +00:00
thorpej
5906c26c8b
Commit this to the right place, this time.
...
The boot blocks do a primitive form of autoconfiguration. Duplicate some
of the old config strcutures for the benefit of the boot blocks; they
don't need something as flexible as the kernel does.
1997-01-30 10:31:44 +00:00
thorpej
40d51256bb
These files are no longer needed.
1997-01-30 10:00:39 +00:00
thorpej
5e781164af
Update for new-style config.
1997-01-30 09:58:57 +00:00
thorpej
add93ce69e
Garbage-collect some uneeded stuff now that we're new config only.
1997-01-30 09:55:45 +00:00
matthias
1370131ffd
Add scripts and documentation for a new method to create assym.h files.
...
With the kern/genassym.sh script HOSTED_CC is no longer used to create
assym.h files. This should make crosscompilation easier.
1997-01-30 09:37:20 +00:00
thorpej
d26d94a7a5
Regen to clear up RCS id snafu.
1997-01-30 09:20:42 +00:00
thorpej
cb63bb9de5
Garbage-collect all old-style autoconfiguration support; it is no
...
longer supported. The hp300 port uses new config now.
1997-01-30 09:18:33 +00:00
thorpej
9bb27910a9
Convert to new-style autoconfiguration; old-style config is no longer
...
supported.
1997-01-30 09:14:10 +00:00
thorpej
f19d55d659
- Garbage-collect the old-style configuration glue.
...
- Make sure we don't get interrupts in dcmselftest().
1997-01-30 09:11:24 +00:00
thorpej
f5bb637c10
- Convert these drivers to new-style autoconfiguration. Old-style
...
config is no longer supported.
- Use a much more obvious SCSI job queueing scheme.
1997-01-30 09:08:55 +00:00
thorpej
365324ec10
- Convert these drivers to new-style autoconfiguration. Old-style
...
configuration is no longer supported.
- Use a much more obvious HP-IB job queueing scheme.
1997-01-30 09:06:51 +00:00