Commit Graph

46331 Commits

Author SHA1 Message Date
thorpej
da1f26d65f Add pool_cache_destruct_object(), used to force destruction of
an object and release back into the pool.
2001-05-04 19:41:25 +00:00
bouyer
bef8b534cc Now that we can do it, print "HPT366" or "HPT370" depending on PCI revision. 2001-05-04 18:38:36 +00:00
simonb
cc25d71c5e Fix current KERN_MAXID - it was one too many. 2001-05-04 15:50:13 +00:00
bouyer
7e9f9eaaa1 Better support for VIA chipsets: look at the product/rev ID of the ISA bridge
to guess the pciide capabilities, rather than trying to guess it by ourselve.
Add preliminary support for the 686b (Ultra/100) guessed from FreeBSD/linux
driver (datasheet not publically available,  I contacted via).
Let chip-specific map routine do the autoconf printf if ide_name is NULL
(they may have more details about the controller than we have in pciide_attach)
2001-05-04 15:25:05 +00:00
bouyer
956a71c1c5 Add pci bus number to pci_attach_args, as suggested by Jason on tech-kern
(needed for pciide)
2001-05-04 15:13:17 +00:00
simonb
6a511e05e2 Be consistent with limit constants:
- use "U" suffix for unsigned constants
 - use "L" suffix for long constants
 - use "UL" suffix for unsigned long constants
 - use hexadecimal instead of decimal

Fixes build problems with vi (now that warnings/errors are enabled) on
mips, powerpc and arm platforms.
2001-05-04 15:12:32 +00:00
ragge
f0870603cb Remove forgotten VAX_BTYP_690. From Michael Kukat. 2001-05-04 14:13:50 +00:00
jdolecek
5b3932d176 Implement polled command mode, and use it for writing system dump
and for initial autoconf probes; the latter eliminates need for
deferred configuration (and makes dmesg a bit nicer).

g/c EDF_IODONE flag - protect against interrupt by calling tsleep()
at splbio in worker thread

g/c unneeded stuff, improve some autoconf messages
2001-05-04 12:58:34 +00:00
bouyer
27155d9a6d Add an ATAPI front-end to the st driver. Completely untested for now,
but st at scsi should still work :)
2001-05-04 07:48:56 +00:00
jdolecek
97500f67b8 print the model numbers slighly different way 2001-05-04 07:22:07 +00:00
thorpej
5871a60118 The AMD-K5 Model 0 gets the PGE bit in the CPU features word wrong
using the APIC bit instead, according to the AMD Processor Recognition
App. Note.  Add a fixup routine to patch up cpu_feature in this case.

XXX Need a way to kick the pmap to enable pmap_pg_g -- look at how the
MP branch deals with this.
2001-05-04 03:19:33 +00:00
bjh21
8afb876f73 Make the common <arm/profile.h> work on arm26 and arm32, choosing whether
to munge R15 or not at runtime.  Also make it work with both ELF and a.out.
2001-05-04 00:11:15 +00:00
reinoud
b3798660cd Small typo... 2001-05-03 23:07:08 +00:00
reinoud
da9012cd1d Some small improvements on the setting of keyboard LEDS's and a small
cleanup
2001-05-03 23:05:48 +00:00
fredette
53b83715c9 Now only define MACHINE_ARCH, _MACHINE_ARCH, and
MID_MACHINE if they haven't already been defined.
2001-05-03 20:59:55 +00:00
fredette
2b9b967cc2 Add a CPU_68010 macro. 2001-05-03 20:55:11 +00:00
fredette
166d9e1ede Add an EXTBL macro. 2001-05-03 20:53:44 +00:00
thorpej
fcbf0b9d21 Add systype for "Titan" systems (systype 38). 2001-05-03 20:52:19 +00:00
ross
e3f2f91bfb Split pci and eisa/isa attachment calls, plus misc cleanup. 2001-05-03 20:34:54 +00:00
scw
4d440b4035 G/C a printf which has moved to the MI code. 2001-05-03 19:03:53 +00:00
fvdl
487447a9bf Bump values of the number of up- and downlaod descriptors such that
saturating a 100Mbit link will not lead to running out of them.
2001-05-03 17:59:24 +00:00
scw
c038390035 Recognise `osiop' as a boot device. 2001-05-03 17:58:45 +00:00
hpeyerl
dcd7e604ed Make weasel watchdog timer work reliably with help from <thorpej@zembu.com>
Remaining issues to deal with:
	- recognize when watchdog timer is deactivated on the Weasel.
	- deactivate weasel watchdog timer if we pop into ddb.
2001-05-03 17:55:47 +00:00
scw
6d231d4107 Attach osiop' at pcctwo instead of ncrsc'. 2001-05-03 17:54:30 +00:00
thorpej
61ac6af20b - Fix a couple of botches in the AMD L2 cache info fetching.
- Start with 2 initial color bins, and recolor once we've determined
  the number of color bins based on the formula:
	(largest_cache_size / associativity) / PAGE_SIZE
2001-05-03 16:55:32 +00:00
thorpej
7049d99bc5 Oops, forgot to fill in function pointer in previous. 2001-05-03 16:04:26 +00:00
fvdl
bf714cf896 Drop vnode lock before removing the sillyrename file, to avoid a
lock-o-death.
2001-05-03 15:53:04 +00:00
fredette
a0456abb5e Added some kernel configurations. 2001-05-03 15:39:48 +00:00
kleink
dadbb7e784 There is no extended-precision format on sh3. 2001-05-03 13:19:52 +00:00
soren
945b972563 PPC machine type tags haven't been used for a while. 2001-05-03 13:11:24 +00:00
jdolecek
c58375dd6a Well, 16us is certainly more than 500 nanoseconds, but 1us is too, right?
This change improves elmc performance to ~350KB/s on my 386DX,
which is better than even WD8003.
2001-05-03 11:17:36 +00:00
matt
eae1312a70 Use NULL instead of an explicit cast. 2001-05-03 05:30:35 +00:00
matt
893ab0ad39 export dec_boot.h 2001-05-03 05:26:08 +00:00
matt
1d9ed205f2 change to let make obj work right with MAKEOBJDIRPREFIX and read-only source 2001-05-03 05:23:29 +00:00
jmc
f29b37329e Change to DPRINTF/DPRINTFN for debug output. 2001-05-03 04:42:11 +00:00
jmc
3aa56ffc5a Retabify to correct style. Also, change to using DPRINTF interface for debug output. 2001-05-03 04:41:34 +00:00
jmc
4e54f2d907 Style police. Got the tab'ing correct 2001-05-03 04:37:43 +00:00
fredette
11e470d830 Now define MBIO_SIZE and MBMEM_SIZE in header files,
so they can eventually be used by the bootblocks.
2001-05-03 03:13:03 +00:00
minoura
58b62ea0cf Correct playing mu-law and linear. 2001-05-03 02:09:11 +00:00
thorpej
5c15afd718 Rearrange the cache info fetching code some more, and add support
for fetching cache info for AMD processors.
2001-05-03 00:35:37 +00:00
thorpej
c9d1eae045 Size the number of initial color bins based on the size and
associativity of the L1 cache.

Note, doesn't really do anything for virtually-indexed caches,
but it doesn't hurt them, either.
2001-05-02 21:23:03 +00:00
thorpej
f89ed957f1 - Keep cache/tlb info in the cpu_info structure.
- Add "associativity" to the cache_info structure.
- Add a (*cpu_cacheinfo)() function pointer, like we have a
  (*cpu_setup)() function pointer.  Cache info in the `cpuid'
  is vendor-specific.
2001-05-02 21:07:01 +00:00
bjh21
262c7835b0 In an ELF kernel, don't try to find an a.out symbol table. 2001-05-02 19:10:29 +00:00
ragge
5d8483d12a KA690 is not a Mariah. From Michael Kukat. 2001-05-02 17:35:12 +00:00
matt
2cc76644a2 Use the symtab info given by loadfile in the booter instead of assuming
we know where it is.  This is a requirement for ELF.
2001-05-02 16:05:07 +00:00
matt
504811fa55 Include ELF symbol in DDB is we are an ELF kernel. 2001-05-02 15:59:38 +00:00
matt
62b9bd04b1 Pass the numbers of syms down as well. 2001-05-02 15:33:14 +00:00
jdolecek
7cb5602067 Nuke biosboot_ps2 2001-05-02 13:43:10 +00:00
jdolecek
7e111aa959 Add function which uses bios call to get system configuration; this can
be used for presence of MCA bus, if ever needed to be done in bootblocks.
Not used at the moment, but may be in future.
2001-05-02 13:41:07 +00:00
minoura
ff3917c60f Oops, it contained some debug code. 2001-05-02 13:34:33 +00:00