mrg
7d9acb9bb6
add a commented out PMAP_NEW.
1998-02-13 04:12:33 +00:00
thorpej
cb9500aac0
Fix for defopt'd UVM and PMAP_NEW.
1998-02-11 03:05:35 +00:00
thorpej
e9017a5ab3
Use kernel_map in bus_dmamem_{map,free}().
1998-02-11 03:03:52 +00:00
thorpej
30aa56fc66
Use M_DMAMAP where appropriate.
1998-02-11 01:37:51 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
scottb
2ee5fa7f17
iBCS2 code cleanup
...
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@planix.com>
1998-02-09 02:30:42 +00:00
thorpej
1305ecbe62
Allow callers of uvm_km_suballoc() to specify where the base of the
...
submap _must_ begin, by adding a "fixed" boolean argument.
1998-02-08 06:15:53 +00:00
thorpej
9eb328b495
RCS ID police.
1998-02-06 22:26:13 +00:00
thorpej
2d1cb11d5b
Allow userland access to pd_entry_t and pt_entry_t, like the old pte.h
...
used to do. Also, RCS ID police.
1998-02-06 21:58:05 +00:00
cgd
82bb6682da
re-indent the EX_FAST change (try to keep a given argument on one line,
...
so that it's more apparent what the code is going).
1998-02-06 19:51:54 +00:00
mrg
30a584067f
remove paging options from kernel files.
1998-02-06 11:20:27 +00:00
thorpej
c0c3c30be3
When allocating bus space in bus_space_alloc(), use EX_FAST to find
...
the first fit in the map. The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems). Suggested by Chris Demetriou.
1998-02-06 10:06:51 +00:00
thorpej
374b6294f9
Back out previous change. Until the default VM system is UVM, these
...
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:19:23 +00:00
thorpej
10a076eee1
Kernel for zhadum.netbsd.org, soon-to-be CVS server.
1998-02-06 08:08:56 +00:00
thorpej
424e1858c4
Use __BROKEN_INDIRECT_CONFIG where appropriate.
1998-02-06 08:00:52 +00:00
thorpej
b16f0280e3
Add pceb at pci and {eisa,isa} at pceb attachments.
1998-02-06 07:53:26 +00:00
thorpej
9c9a25df29
Don't attach an EISA bus if it's already been configured.
1998-02-06 07:52:13 +00:00
thorpej
cacadb7fbe
Erg, typi.
1998-02-06 07:51:46 +00:00
thorpej
fce12f0081
Notify other machine-dependent code that the EISA bus has been configured
...
in the attach hook.
1998-02-06 07:51:11 +00:00
thorpej
e56b1d0b2d
Add an autoconfig node for PCI-EISA bridges. Configures EISA and ISA
...
bridges via callback.
1998-02-06 07:50:07 +00:00
mrg
6bcccb887c
oops, forgot to add these new files
1998-02-06 07:41:33 +00:00
mrg
29e93b8bea
add the i386 MD portions for UVM.
1998-02-06 07:21:42 +00:00
thorpej
939995c0dc
On the 486 and higher, actually make the bus mem space mapping noncacheable
...
if mapped with BUS_SPACE_CACHEABLE unset.
1998-02-06 05:35:16 +00:00
drochner
ac884fce95
Allow DELAY() to be called anytime:
...
-don't enable interrupts at the end of gettick(), restore the previous
state instead
-start timer/counter 0 from delay() if necessary
-comment out "findcpuspeed()", it would clobber the timer again, and it
is unused anyway
1998-02-05 19:59:54 +00:00
drochner
3f38ea4063
provide pushfl/popfl to C code
1998-02-05 19:53:52 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1
Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
...
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej
a7c5c1ef3c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
b7b27cb6e4
Back out a change that wasn't supposed to be in here.
1998-02-03 19:16:04 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
tron
56ba21e271
Add option "#options IPFILTER_LOG", fixes port-i386/4858.
1998-01-29 01:53:03 +00:00
bouyer
2edc21452a
The name of cyrix's CPU family 6 model 0 is 6x86MX. Also set this name
...
for the default name.
1998-01-28 17:08:05 +00:00
thorpej
5d3fc3e8bc
Implement bus_dmamap_load_mbuf().
1998-01-27 03:31:54 +00:00
mycroft
1f21545d93
Correct an oversight in the startup changes that caused the wrong exception
...
to be reported in one case.
1998-01-24 15:50:42 +00:00
mycroft
8661bee5de
Minor change.
1998-01-24 14:22:44 +00:00
mycroft
d664bf39b8
Add some comments about what the control words do.
1998-01-24 14:00:36 +00:00
mycroft
a963fe5864
Store the initial NPX control word appropriate for the emulation in the saved
...
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1
Need foo_exec.h.
1998-01-24 12:45:16 +00:00
drochner
ae1a2006c5
-take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
...
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00
mycroft
8bd9717302
Add local versions of setregs(), so I can tweak some registers later.
1998-01-24 12:42:22 +00:00
mycroft
4b8a102fbb
Fix process_{read,write}_fpregs().
1998-01-24 12:11:15 +00:00
mycroft
d15d246d32
Add wdc* at isapnp?.
1998-01-23 20:42:34 +00:00
mycroft
c1d56d473f
Add wdc* at pcmcia.
1998-01-23 01:16:03 +00:00
mycroft
22c1670658
Some rearrangement of the startup code:
...
* Move some of the memory bootstrapping and the DDB startup earlier.
* Always put the IDT and the initial GDT and LDT in a separate page.
* Various minor changes.
1998-01-23 00:44:02 +00:00
mycroft
c654cd6a87
Fix a bogon that flared up when XSERVER was defopted.
1998-01-22 20:55:48 +00:00
drochner
9219f22775
strchr.c disappeared from libkern, use index.c instead
...
(we can't control the libkern build as we want, but it works...)
1998-01-22 15:48:02 +00:00
thorpej
dd4cb910db
Generate dependenices on the XSERVER option.
1998-01-22 01:16:23 +00:00
thorpej
122364206a
Generate dependencies on the DUMMY_NOPS option.
1998-01-22 00:44:06 +00:00
thorpej
54a35a6019
Generate dependencies on the USER_LDT option.
1998-01-22 00:39:16 +00:00
thorpej
9ba18e2255
Generate dependencies on the MATH_EMULATE option.
1998-01-21 23:29:08 +00:00
drochner
66e093ada9
remove unused and misleading KERNSIZE definition
1998-01-20 13:11:25 +00:00
drochner
ae5f11c8d7
fix typo in DEBUG code
1998-01-20 12:48:05 +00:00
drochner
32d94859ea
adapt to changed <dev/ic/i8042reg.h>
1998-01-18 14:45:10 +00:00
thorpej
cf591e644b
Generate dependencies on the VM86 option.
1998-01-15 22:25:52 +00:00
thorpej
032c433933
Just commit to using MACHINE_NEW_NONCONTIG.
1998-01-15 22:20:15 +00:00
thorpej
1484fa567d
Generate dependencies on the CPU type options (I386_CPU, I486_CPU, ...)
1998-01-15 19:47:36 +00:00
thorpej
2cfef7a0ec
Oops, something snuck in there that shouldn't have...
1998-01-15 07:40:06 +00:00
thorpej
525b092c2e
Get include file paths correct.
1998-01-15 06:15:08 +00:00
thorpej
1f93872e5c
Kludge around i/o port overlap w/ the "wdc" driver.
1998-01-15 06:11:55 +00:00
cgd
d6e5187749
add 'sd* at atapibus? drive ?' to all kernel configs already containing
...
an analogous line for 'cd'.
1998-01-15 02:26:26 +00:00
cgd
ad141a69a7
Shuffle wd/wdc driver files around (via repository copies). wdc
...
now lives in dev/ic, wd now lives in dev/ata. there's now a 'ata'
interface attribute defined in conf/files, but wdc can't go there
yet because some ports still use private versions based on the old
ISA version.
1998-01-14 23:36:30 +00:00
drochner
09354842c5
from Dave Burgess per PR4620:
...
-base address 0x308 is supported by more Wangtek QIC tapes than 0x300
-Ultrastor ISA SCSI adapters can't be set to base address 0x334
(changed to 0x340)
1998-01-14 15:27:43 +00:00
mrg
057795048f
this is the i386 MD portion of the MACHINE_NEW_NONCONTIG code, as
...
written by chuck cranor. thanks to mycroft for helping me find the
one little line of code i accidentally deleted while merging it.
this is not enabled by default. `options MACHINE_NEW_NONCONTIG'
will use this code. eventually, this should go into <machine/vmparam.h>
insteaed of MACHINE_NONCONTIG.
1998-01-13 12:52:16 +00:00
thorpej
36760d9d94
Update for changes to config.
1998-01-12 18:59:04 +00:00
perry
aceff90d16
add yet another PCI brige -- from pr 4780 from Nathan J. Williams
1998-01-10 01:15:14 +00:00
fvdl
83ef3d4928
Switch off CPU-PCI write posting for the Saturn chipset; it is known
...
to cause problems with PCI busmasters.
1998-01-09 22:34:58 +00:00
perry
6f57e5c573
multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
1998-01-09 22:23:44 +00:00
mycroft
59ea23516a
Increase delays to the required 7us.
1998-01-09 21:28:32 +00:00
drochner
6757ab1b65
Remove conditional setting of "nfs_boot_rfc951" (introduced in previous
...
change). It's not needed anymore.
1998-01-09 16:01:27 +00:00
drochner
5b055c9032
enable diskless boot with BOOTP and BOOTPARAM configuration
1998-01-09 15:18:50 +00:00
mrg
aa39c43bc9
call vm_set_page_size().
1998-01-09 04:37:56 +00:00
thorpej
3e7eb6c80a
Garbage-collect pm_pdchanged; it's not used by anything.
1998-01-06 07:16:06 +00:00
jtk
fe87ac4104
fix for changes in bioscall structure and include files
1998-01-06 00:35:42 +00:00
perry
5646f55116
make script insert RCS ids into generated files
1998-01-05 21:28:21 +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
mycroft
61475326e0
Add delays for lame keyboard controllers, as in the keyboard driver. Do a
...
better job of flushing input in various cases.
1997-12-18 16:49:10 +00:00
mikel
718221a852
fix format string in FD_DEBUG printf(); from Eric Haszlakiewicz in PR 4692
1997-12-16 07:35:45 +00:00
drochner
fbe83dc02d
Install "pcvt_ioctl.h" by normal "make includes".
1997-12-10 14:14:21 +00:00
tv
a7d1d15c39
KMEMSTATS is documented in options(4) as being a possible severe
...
performance hit, and on an 80386 processor, it most certainly is. Pull it
from the GENERIC (and DISKLESS "generic") kernels--configure it in
yourself if you actually need it.
1997-12-09 13:32:32 +00:00
thorpej
b27ebeeac1
Work-around the situation where the buffer cache is larger than
...
16M, thus eating up all candidate bounce pages, which are not allocated
until autoconfiguration runs, by deferring allocation of the buffer
cache pages until after autoconfiguration has run.
XXX This is safe because the i386 port doesn't read any disklabels
XXX during autoconfiguration.
1997-12-08 05:07:29 +00:00
fvdl
be205fedc0
Define constants for the start and end VA of user page tables.
1997-12-07 21:30:11 +00:00
fvdl
4357e617d2
When getting a pagefault for a PT page, wire it. Normally we fault them in
...
ourselves, but this can still happen on a 386 in copyout & friends.
Fixes pmap_changebit panics seen on 386s. Thanks to Juergen Hannken-Illjes
for providing detailed info on bug occurances.
1997-12-07 21:28:56 +00:00
thorpej
d25c266af2
Use malloc()/free() for the temporary buffer, not geteblk()/brelse().
1997-12-07 16:06:21 +00:00
thorpej
6e39ad36a6
In pccngetc(), don't treat cn_tab->cn_dev as a valid device number until
...
it's initialized.
1997-12-07 06:20:44 +00:00
bouyer
d45f82208d
Add a cpu_setup() function to "struct cpu_nocpuid_nameclass" and
...
"struct cpu_cpuid_family", so that we can have a cpu_setup function per
known cpu type. For now use it only for cyrix 6x86 to enable suspend-on-halt
and implement cyrix's workaround to the "coma bug".
1997-11-27 11:53:45 +00:00
fvdl
b3de97c5c1
Revert I486_PCI_MEM_ENABLED change; it caused too many problems.
1997-11-27 10:10:50 +00:00
fvdl
4ee07a6d65
Revert I486_PCI_MEM_ENABLED change, it caused too many problems.
1997-11-27 09:58:26 +00:00
kleink
e85ad99e57
Add COMPAT_13.
1997-11-25 20:29:24 +00:00
thorpej
2524b071e8
Add commented-out "I486_PCI_MEM_ENABLED" option, and describe it.
1997-11-24 00:21:48 +00:00
thorpej
b6e3c093d8
defopt I486_PCI_MEM_ENABLED
1997-11-24 00:21:01 +00:00
thorpej
46c5ad921d
Add a workaround for buggy i486 PCI chipsets that have trouble with
...
memory-mapped device access (manifested by an apparent wedging of the
PCI bus):
- If cpu_class == CPUCLASS_486, disable memory-mapped PCI device access,
leaving only i/o-mapped access enabled.
- Provide a patchable kernel variable (i486_pci_mem_enabled) and a kernel
option (I486_PCI_MEM_ENABLED) to re-enable it.
1997-11-24 00:20:32 +00:00
thorpej
978a8b60db
Add SCSIVERBOSE
1997-11-23 23:40:45 +00:00
kleink
66c2794142
Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
...
cleanup
1997-11-23 20:20:53 +00:00
mikel
37d9430628
add ID for (brain-damaged) GUS PnP, and add comments describing what
...
hardware each ID describes.
1997-11-20 06:23:52 +00:00
mycroft
0afda495f5
Do the Pentium bug fix differently. Put the IDT in a read-only page and check
...
for a write fault on the illegal instruction descriptor. Don't ask why this
works unless you have a strong stomach.
1997-11-19 11:11:22 +00:00
augustss
ee5628ee52
Add another PnP id.
1997-11-18 11:31:07 +00:00
thorpej
f56e6f631f
Add an i/o address for iy0 (from GENERIC)
1997-11-17 03:42:52 +00:00
thorpej
9246032610
Put lc0 at i/o 0x320.
1997-11-17 03:39:42 +00:00
lukem
6c986561ee
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00