pk
fca3465b96
Do not skip over a break trap instruction, now that the DDB code can
...
do it properly.
1997-09-20 19:00:40 +00:00
mjacob
2896e07556
Allow SDOUTSTANDING to be defined elsewhere (e.g., config file).
1997-09-20 18:56:30 +00:00
pk
9b3d64edb9
Remove the `segmap' array from the header. Insert an offset and count
...
field to get to it instead.
Add field `kernbase' so libkvm can be independent of the kernel's link address.
1997-09-20 18:23:51 +00:00
pk
59ed02a11b
pmap_dumpsize() returns a number of disk blocks.
1997-09-20 18:18:33 +00:00
pk
1cd19dc013
Change crash dump layout a bit so the size of the `cpu_kcore' structure
...
does not depend on the value of KERNBASE.
Change pmap_dumpsize() to return disk block units, in stead of pages.
1997-09-20 18:14:01 +00:00
drochner
7de20a5b45
Call device_register() on i386 too.
1997-09-20 14:16:43 +00:00
drochner
1f1e574146
-implement a "device_register()" function to identify network interfaces
...
by bus type / address (for diskless boot)
-add some (experimental, commented out) code which could be used for
identification of boot disks - should help for BIOS remappings
1997-09-20 14:15:54 +00:00
drochner
6c6328cc8f
enable "device_register()" for the i386 too
1997-09-20 14:08:27 +00:00
drochner
610abce93b
Copy data passed by the boot loader into an array "bootinfo".
...
The former "cyloffset" argument is used as an (indirect) pointer to the
information structures. "cyloffset" has always been set to zero in the
past, so this should be save to do.
1997-09-20 14:01:26 +00:00
drochner
968f26b9d3
-define a buffer for information passed by the bootloader
...
-add a function ("lookup_bootinfo") to extract data
-use passed console information, if present, for console attachment
-arrange definitions for console and KGDB device a bit nicer
1997-09-20 12:51:13 +00:00
drochner
b8a47d06da
Define "machdep.booted_kernel" for sysctl.
1997-09-20 12:40:25 +00:00
drochner
c03122fcb1
In some future (ie, without COMPAT_OLDBOOT), we don't want to bother
...
with the disk type (IDE or SCSI) here - the BIOS doesn't do it either.
Set "#ifdef"s accordingly.
1997-09-20 12:36:05 +00:00
drochner
dc0b04e0ad
Note use of common menu functions and new framework for argument passing
...
to the kernel.
1997-09-20 12:28:21 +00:00
drochner
041680f614
don't forget to save the partition number for the kernel
1997-09-20 12:17:41 +00:00
drochner
9b4679d869
-Don't pass hardware address, it is not of much use for the kernel.
...
-define "addr" differently for ISA and PCI devices - for PCI, it is
(bus,device,function) now, in the format used by the PCI BIOS
1997-09-20 12:13:01 +00:00
leo
1e11bfa8b7
Move the definition of MSGBUFSIZE up to the machine-arch level if
...
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:12:24 +00:00
leo
2b138578d7
Correct for the extra member in 'struct kern_msgbuf' when calculating
...
the number of bytes we want to allocate.
1997-09-20 12:10:09 +00:00
drochner
1d47009a08
Use <machine/bootinfo.h> for definitions shared with the kernel.
1997-09-20 12:10:06 +00:00
leo
ef6f3f7e25
Move the definition of MSGBUFSIZE up to the machine-arch level if
...
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:08:24 +00:00
drochner
17b42ff68d
Data structures passed from the boot loader to the kernel.
1997-09-20 12:08:21 +00:00
leo
c5ba7a3102
Move the definition of MSGBUFSIZE up to the machine-arch level if
...
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:06:37 +00:00
mikel
2f014c40e6
remove obsolete comment about scsi files
...
don't include ppp_bsdcomp or ppp_deflate support unless ppp defined
alphabetize (mostly) file list
1997-09-20 02:20:52 +00:00
enami
64edd9d48a
Use TAB instead of SPACE to indent. Line up if possible.
1997-09-20 01:02:29 +00:00
enami
8a45521059
Convert RTC_OFFSET, DEVPAGER, SWAPPAGER and VNODEPAGER to be declared
...
by defopt.
1997-09-20 00:44:05 +00:00
cgd
e8733ec0da
mark scsipi_make_xs() as potentially unused, so that this can be
...
compiled with -Wunused without optimization/inlining enabled.
Also, make it a little bit closer to KNF.
1997-09-19 23:53:33 +00:00
mjacob
185cbcebd0
An oops- MSS3 referred to a device not yet integrated.
1997-09-19 22:03:59 +00:00
mjacob
4de790f125
Add in a clause ifdef'd for LIMITMEM- limit usage of memory to a certain
...
amount. Temporary until more drivers use busdma stuff.
Also correct to unsigned the printing out of memory sizes.
1997-09-19 22:00:34 +00:00
mjacob
206b183a48
Add a config file for large memory 8200s- this is temporary until a
...
more gracious self correcting (for large memory, e.g., > 1GB) startup happens.
1997-09-19 21:58:47 +00:00
jtk
4e51e62639
implement IBCS2_FIONBIO
...
(code by Christos Zoulas; tested by me)
1997-09-19 21:57:10 +00:00
leo
e0f973ee3b
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 19:14:20 +00:00
mjacob
0fb787aedb
Add missing reference.
1997-09-19 14:48:59 +00:00
mjacob
f3d890d1c9
missing cast.
1997-09-19 14:47:33 +00:00
mjacob
38ea6714c9
New microcode release (1.02) from qlogic for the 2100.
1997-09-19 14:15:54 +00:00
mjacob
4be590238f
Another couple NOMODESENSE drives.
1997-09-19 14:08:48 +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
mhitch
24cbd68d21
Enable the 800x600 Super72 display mode in the generic kernel.
1997-09-19 03:30:41 +00:00
mhitch
a07bb333b1
Add an 800x600 Super72 mode; started by Neil Clark and finished by me.
...
NOTE: due to hardware requirement of the AGA chipset, the framebuffer width
has to be a multiple of 64 bits. An 800x600 display will use a memory width
of 832 bits, which the current X server can't handle. To get a usable
display, the width needs to be 832 or 768.
1997-09-19 03:27:10 +00:00
enami
82625dc61e
Cosmetic Changes; make coding style closer to other part of this file.
...
(This version is identical with version 1.109 except whitespace changes.)
1997-09-19 01:17:37 +00:00
enami
a0c4d0c2e6
Add new ioctl OSCIOCREPROBE and OSCIOCIDENTIFY to support binary
...
compatibility with NetBSD 1.2.
1997-09-19 00:59:49 +00:00
thorpej
618f6b9541
Make IDE work again, from Ross Harvey <ross@teraflop.com>.
1997-09-19 00:59:38 +00:00
enami
acdc8c898c
Add new ioctl OSCIOCREPROBE and OSCIOCIDENTIFY to support binary
...
compatibility with NetBSD 1.2.
1997-09-19 00:58:44 +00:00
jeremy
f5c0dfebd6
Use ${CC} instead of cc and don't explicitly set AR and LD unless they are
...
unset.
1997-09-18 22:55:56 +00:00
pk
bb3e7cdb98
Fix viking/MXCC botch similar to pmap.c.
1997-09-18 20:44:43 +00:00
pk
ef73834bdc
Check for the `VIKING_PCR_TC' being set, just in case. If it isn't set,
...
delay the use of the `CPUFLG_CACHEPAGETABLES' flag.
1997-09-18 20:29:15 +00:00
pk
eac8e745a7
Add a function to stop sun4m counters and call it early during
...
auto-configuration.
1997-09-18 20:25:34 +00:00
pk
9d1afc6f01
Fix a botch in reservemon4m() causing the `Alternate cacheability' not being
...
set on viking MXCC machines while using transparent memory access mode. This
becomes apparent when booting on multi-processor viking machines.
While I'm here, arrange to tempt fate a little less by using `AC' mode
for the shortest possible periods of time.
Special thanks to Matt Ragan for running my test kernels.
1997-09-18 20:16:45 +00:00
mhitch
c95e55b9ec
Read the received data register before clearing the RBF interrupt. Clearing
...
RBF appears to also clear the OVRUN bit in the receive data, resulting in
the loss of of overflow status.
1997-09-18 03:53:12 +00:00
mhitch
0d05b5c280
Use the buffer length passed as a parameter to vmapbuf() and vunmapbuf()
...
instead of bp->b_bcount. The I/O operation may have changed bp->b_bcount,
and not all of the kernel virtual memory will be freed. This will result
in the VM system putting pages back on the free list which are still
mapped. This may cause a deadlock later trying to enter pages into
the kernel pmap. [See PR#4120 for more details.]
1997-09-18 03:38:31 +00:00
gwr
8b680f206c
Need to flush the I-cache before jumping into just-loaded code.
...
Without this, boot programs fail with some PROM versions...
1997-09-18 01:47:08 +00:00
mjacob
9ce899230a
After decommisioning a mapping, an IMB kinda needs to happen.
1997-09-18 01:08:56 +00:00