Commit Graph

46303 Commits

Author SHA1 Message Date
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
jdolecek
63a7c0b5ad Add IBM SCSI Adapter support to the list - this is the last thing
I'm aware Linux MCA supports and NetBSD not
2001-05-02 13:32:21 +00:00
minoura
3e3968872c Remove old obsolete audio driver. 2001-05-02 13:24:52 +00:00
jdolecek
63958eee01 One item off TODO list - we check for MCA bus presence via bios call 2001-05-02 13:20:31 +00:00
jdolecek
0d6051b7f7 Find out the presence of MCA bus via bioscall(9).
g/c some unneeded stuff, make comments more accurate.
2001-05-02 13:18:34 +00:00
jdolecek
8aa43b5a54 The system configuration block structure doesn't need to be public 2001-05-02 13:16:33 +00:00
minoura
a7fc9909b6 Add/enable vs. 2001-05-02 13:15:24 +00:00
jdolecek
4caa2e3629 regen: add support for getting %es value from the bios call 2001-05-02 13:13:48 +00:00
jdolecek
0b26347639 Add support for getting %es value from the bios call. 2001-05-02 13:12:45 +00:00
jdolecek
9b12c80149 Move the initialization of bioscall stuff from cpu_startup() to init386(),
so that bioscall(9) is callable from mca_busprobe().
Only print the "biostramp installed @ ..." message #ifdef DEBUG_BIOSCALL.
2001-05-02 13:08:06 +00:00
minoura
af80ef9d9a Add vs for x68k. 2001-05-02 13:01:19 +00:00
minoura
b2cec36854 X68k built-in voice synthesizer. 2001-05-02 13:00:19 +00:00
minoura
1a9388aa50 Software codec for Oki MSM6258 voice synthesizer.
Recording untested.
2001-05-02 12:53:31 +00:00
minoura
f4b1b4cef9 Do not use constants, but macros. 2001-05-02 12:50:24 +00:00
minoura
399af9e4a8 X68k built-in voice synthesizer supports 4bit ADPCM. 2001-05-02 12:49:41 +00:00
minoura
47d22455b3 Disable array chain mode by default, since it is unused by any of
the current devices.
Add more flexibility in the API.
2001-05-02 12:48:24 +00:00
bouyer
90b27e80b9 Redo attachement of scsi/atapibus, so that atapibus at umass works again 2001-05-02 11:24:01 +00:00
scw
40e04a2f6f Bump kernel version number due to `struct linesw' change. 2001-05-02 10:33:36 +00:00
scw
2963ff5c58 Add l_poll' to struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
bouyer
6baecd7e87 Don't forget to init chan_bustype. 2001-05-02 10:31:41 +00:00
bouyer
28d47d8db3 Use same type for first field of struct ata_atapi_attach and struct
scsipi_channel, so umass has better chances of working on big-endian systems.
2001-05-02 09:47:45 +00:00
matt
4bef52d8d5 Use loadfile with boot commands, not exec. 2001-05-02 06:56:54 +00:00
matt
4414a7f791 Keep around a version of boot with symbols. 2001-05-02 06:56:29 +00:00
thorpej
cfda5afaa5 Add some page coloring defaults. 2001-05-02 02:30:30 +00:00
thorpej
5291142217 Determine the size of the B-Cache earier, and initialize the
number of page colors accordingly.
2001-05-02 01:24:29 +00:00
thorpej
31fafb678f Support dynamic sizing of the page color bins. We also support
dynamically re-coloring pages; as machine-dependent code discovers
the size of the system's caches, it may call uvm_page_recolor() with
the new number of colors to use.  If the new mumber of colors is
smaller (or equal to) the current number of colors, then uvm_page_recolor()
is a no-op.

The system defaults to one bucket if machine-dependent code does not
initialize uvmexp.ncolors before uvm_page_init() is called.

Note that the number of color bins should be initialized to something
reasonable as early as possible -- for many early memory allocations,
we live with the consequences of the page choice for the lifetime of
the boot.
2001-05-02 01:22:19 +00:00
thorpej
05dac31b1e Initialize the VM page size before calling the platform init routine. 2001-05-02 01:05:16 +00:00
bjh21
4928854ae3 Arrange to inline hardsplx() into raisespl() and lowerspl(). This should
make them slightly faster, and makes it easier to see how much of the time
apparently spent in hardsplx() actually comes from deferred statclock
interrupts.
2001-05-01 22:19:09 +00:00
kleink
5652bfe409 Re-add accidently removed line continuation in previous; noted by
"Valeriy E. Ushakow" <uwe@ptc.spbu.ru>.
2001-05-01 20:37:44 +00:00