Commit Graph

46878 Commits

Author SHA1 Message Date
toshii
c939f00e98 Abandon disabled_mask and spl_mask, and use only current_spl_level to
manage interrupt masking.

This change is necessary for straightforward implementation of coming IPL
support for cascaded intrs, and it should not impair performance.
2001-05-14 16:19:30 +00:00
fredette
1ef476f4a4 As a side-effect of the ELF conversion, the msgbuf
can now be 8K large.  Removed more 68881 code that
is only useful if you have the real silicon, which
the 68010 never will.
2001-05-14 15:36:42 +00:00
fredette
9ec520c479 Now, instead of swapping in and out the PROM's segment zero,
swap in and out the mappings for virtual pages zero through three,
which are what the PROM really uses.  This is tied to the
move to ELF and the low memory usage changes.
2001-05-14 15:12:39 +00:00
fredette
b49df54c83 One bonus of moving to ELF is that the boot loader on the sun2
now loads the kernel into physical memory at the linked address.
So we link the kernel a little lower virtually, but the bootloader
actually will load it higher in physical memory than before.
This allows us to quadruple the size of the msgbuf to 8K, and
we also shuffle around tmp_vpages and the temporary stack.
2001-05-14 15:07:23 +00:00
fredette
d36a2c2284 Made changes to support ELF. Highlights include:
To find the kernel symbol table, instead of expecting
the old a.out struct exec from locore.s, use the
ELF headers found after the kernel text.
2001-05-14 15:00:28 +00:00
fredette
f7c1abe426 Many changes to support ELF. Highlights include:
Added % to all register names.  The boot loader now
loads us exactly where we're linked, so no PIC or
remapping funny business.  Removed more 68881 code
that is only needed with the real silicon, which
a 68010 will never have.
2001-05-14 14:44:11 +00:00
ragge
74d7e1ecfa Write support for TU58 tapes written. 2001-05-14 14:43:45 +00:00
jdolecek
6c225c676c Compact the BIOS CFG printout 2001-05-14 14:14:09 +00:00
itojun
498fdebcd7 drop multi destination mode (IFF_LINK0). 2001-05-14 13:35:20 +00:00
leo
b38e85279e Allow attachment of a pc-keyboard at console attach time. 2001-05-14 13:18:47 +00:00
leo
6f308f43e8 Add wscons related includes. 2001-05-14 13:10:45 +00:00
leo
b522de8af5 Adapt for the Milan. 2001-05-14 11:58:30 +00:00
leo
4eec72908c Regen. 2001-05-14 10:41:03 +00:00
leo
f284e82b99 Add (ws)console stuff. 2001-05-14 10:35:30 +00:00
jdolecek
85c02ac331 epintr(): eliminate write-only variable 'addrandom' 2001-05-14 09:28:49 +00:00
scw
94225b1490 port-mac68l/12931 by Dave Huang:
Add an itepoll() function. This one slipped through my recent sweep
of line-disciplines...
2001-05-14 09:27:06 +00:00
jdolecek
6ff7de5716 remove unneeded #includes, fix typo 2001-05-14 08:01:23 +00:00
jdolecek
1f7c685ce3 remove //-commented debugging stuff 2001-05-14 07:35:33 +00:00
jdolecek
497bb809df do not use the synchronous read mode for MCA 3c529 2001-05-14 07:03:50 +00:00
jmc
61ca5f641b Remove ackcb. It's a duplicate of existing functionality. 2001-05-14 06:51:36 +00:00
jmc
98139fa8b9 Make sure and zero out the malloc'd abufs before using them. 2001-05-14 05:46:41 +00:00
ichiro
7f2de75450 Corega FEther PCC-TXD works fine. 2001-05-14 01:44:42 +00:00
ichiro
9a107674e5 regen 2001-05-14 01:43:42 +00:00
ichiro
70f4199532 add product Corega FEther PCC-TXD 2001-05-14 01:41:16 +00:00
ragge
73b901c711 Add checksum calculation, busy-wait loops for receive packets and use
correct interrupt levels (spl7). Reading tapes now work reliable.
2001-05-13 21:19:44 +00:00
manu
d473f5bd8a Improved the accuracy of gettimeofday/settimeofday: Linux stores a srtuct
timezone in the kernel. We now keep track of it for emulated processes.
Tested for powerpc and i386. Untested on m68k, but it should be ok
Alpha has a particular implementation (osf1_sys_gettimeofday), and it has
therefore not been touched.
2001-05-13 20:54:42 +00:00
jdolecek
2cd8833615 Change the comment about sucky performance to recommendation to remove
DIAGNOSTIC/DEBUG from the kernel. This helped to boost the performance
on my test machine from ~5KB/s to like 800KB/s for ftp test, and
to like 700KB/s for netio test. I wouldn't have imagined the options
are THAT costly ....
2001-05-13 20:43:04 +00:00
kleink
95fa77ab80 Make this work for PIC (as opposed to pic) without taking chances of fitting
__ffstab into a GOT13 relocation; from Eduardo Horvath.
2001-05-13 20:03:45 +00:00
tshiozak
b1c2276feb Correct a simple bug in the recent commit (pmap.c:1.19) by thopej.
I guess he indents to prepare a temporary variable for saving the next
pointer of a list element, but he seems to forget to substitute the
pointer for the variable.  This often causes my dreamcast panic.
2001-05-13 19:41:17 +00:00
scw
7e86548d5c doh, make the last fix compile for '147. 2001-05-13 18:35:19 +00:00
sommerfeld
b4c4ecb455 Make this build again ifdef DIAGNOSTIC (oops) 2001-05-13 17:17:34 +00:00
sommerfeld
5b2241ad77 Remove pool reentrancy testing overhead unless DIAGNOSTIC is defined.
Previously, we passed __FILE__ and __LINE__ on all pool_get/pool_set calls.

This change results in a measured 1.2% performance improvement in
ping-flood packets-per-second as reported by ping(8).
2001-05-13 17:06:58 +00:00
chs
b98b7c2224 turn on printf format-string checking and -Werror. fix all warnings. 2001-05-13 16:55:37 +00:00
matt
ed4e69766c Add VAX640 2001-05-13 15:37:28 +00:00
ragge
9654c235a7 Note TS11 (ts). 2001-05-13 15:34:25 +00:00
ragge
59b29023fd Update the TS11 driver to useable state.
Thanks to Michael Kukat for providing a machine to test this driver.
2001-05-13 15:32:40 +00:00
ragge
f66126b9f0 Moved from sys/arch/vax/uba/. 2001-05-13 15:30:10 +00:00
ragge
68d0ed5c0c Add bus type. 2001-05-13 15:24:18 +00:00
ragge
637bffc245 Add bus type to softc. 2001-05-13 15:23:37 +00:00
bjh21
330163a77f Include opt_cputypes.h, since we use CPU_*. 2001-05-13 14:41:56 +00:00
bjh21
ba2ed3776e Refer to the Risc PC IOMD by its real name (which appears to be IOMD20). 2001-05-13 14:30:00 +00:00
bjh21
b9ded015f4 strstr() is no longer used in the kernel. G/C it. 2001-05-13 14:17:36 +00:00
bjh21
e2b24925d1 Use get_bootconf_option() to find boot options, rather than home-grown
strstr()-based hacks.
2001-05-13 13:53:08 +00:00
bjh21
0ea71ec5ea Make use of a.out or ELF symbols dependent on the compile-time definition of
__ELF__.
2001-05-13 13:51:08 +00:00
bjh21
e8fd2642a9 Don't include parse_cpu_options() unless we're going to use it. This fixes
a warning on arm26.
2001-05-13 13:50:01 +00:00
bjh21
1d9afb6c6d Initialise boot_args and boot_file, for get_bootconf_option(). 2001-05-13 13:48:11 +00:00
bjh21
73bc600e40 Use _LOCORE to recognize assembler in the kernel, not ASSEMBLER (which doesn't
get set).
2001-05-13 13:47:23 +00:00
bjh21
2af5062ab7 Add <machine/bootconfig.h> on arm26, and add an <arm/bootconfig.h> for it to
include (since all the contents are MI).
2001-05-13 13:46:23 +00:00
bjh21
61044be691 Move get_bootconf_option() into a new file, sys/arch/arm/arm/bootconfig.c,
since it's in no way machine-dependent.  It's not really ARM-specific either,
but I don't think it's useful enough to be made part of the MI kernel.
2001-05-13 13:44:33 +00:00
jmc
3790f44eac Add a retries counter to abuf 2001-05-13 05:02:08 +00:00
jmc
880b3e6a6f Add locators support 2001-05-13 05:01:42 +00:00
jmc
32b1bba730 Add locator support for fwbus's 2001-05-13 04:54:47 +00:00
jmc
a3263e073a Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:24:51 +00:00
jmc
95cc3bf342 Turn off PCMCIACISDEBUG by default. This should get set with options in a config file 2001-05-13 04:24:28 +00:00
jmc
6cf92c7dba Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:23:46 +00:00
ross
04ff12867f Make the /u part of show reg/u work. 2001-05-13 01:40:58 +00:00
ross
818513678d The current API for MD support doesn't directly support the documented /u
option to show reg /u.  Fix this by adding a modif[ier] field to struct
db_variable.
2001-05-13 01:38:53 +00:00
gmcgarry
bb80cac4a1 pull in lib/libkern/libkern.h to resolve inline tolower() 2001-05-13 00:01:45 +00:00
gmcgarry
b2f43b0b94 size -> ${SIZE} 2001-05-12 23:55:07 +00:00
kleink
9e162d4ea5 Delint my previous change. 2001-05-12 22:42:07 +00:00
chs
b4de661569 switch next68k to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return pointer values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-05-12 22:35:29 +00:00
chs
1aeca5a83b define VECTOR() and friends in non-_KERNEL environments too. 2001-05-12 22:27:05 +00:00
chs
c70198d510 undo the parts of the last revision which broke QUEUEDEBUG builds. 2001-05-12 20:18:23 +00:00
christos
00adbfd8d6 - Handle realloc failure without leaking memory
(reported by: grendel@heorot.stanford.edu (Ted U)
- Don't cast malloc/realloc/calloc return values because they hide LP64 bugs.
- Don't destroy the whole array when realloc fails
- Use calloc in all cases (malloc was used inconsistently).
- Avoid duplicating code.

Reviewed by: ross
2001-05-12 19:21:57 +00:00
christos
6f62797262 Don't leak memory in case of a realloc failure.
Reported by: grendel@heorot.stanford.edu (Ted U)
2001-05-12 19:18:57 +00:00
takemura
e427bbc2de Add '#if defined(_KERNEL) && !defined(_LKM)' to avoid including
opt_spec_platform.h when you compile standalone program (bootloader).
2001-05-12 10:17:20 +00:00
takemura
b8cf6af7cb Fix description about frame buffer type. 2001-05-12 10:08:59 +00:00
kleink
ba6a8bf61e Update to reflect that unlike in m68k a.out environments, where the .align
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.
2001-05-12 00:55:34 +00:00
tsutsui
9247a0bbcc - Declare pccnattach() in <machine/pccons.h>
- Make cpu_reboot() reset machines properly without pccons
2001-05-11 21:15:11 +00:00
kleink
045d2b0272 Make this build again. 2001-05-11 19:19:44 +00:00
itojun
f4d5905544 there's no need to #if NFAITH here. IN6P_FAITH can be set even on
NFAITH == 0 kernel, it is safer to always check the condition.
sync with kame.
2001-05-11 18:38:03 +00:00
kleink
58a818769b * Fix remaining 32-bit vs. native pointer problems in data structures;
reviewed by Eduardo.
* Define the size of uc_pad, so ucontext32_t will have the correct size.
2001-05-11 17:37:14 +00:00
kleink
1d8e184b6b svr4_32_mcontext.gwin is a pointer 32 bits wide. 2001-05-11 16:49:22 +00:00
tsutsui
67b73792f6 Clean up redundant declarations. 2001-05-11 16:36:42 +00:00
scw
e2177c7f71 Ensure the caches are flushed before changing the `cacheble' state
of a page.
2001-05-11 13:05:06 +00:00
scw
6ca2fd54c1 Take the offset and length into account inside bus_dmamap_sync().
(Inspired from the Atari version).

This fixes a problem seen with the new MI osiop driver.
2001-05-11 13:01:44 +00:00
jmc
bfd7dcb931 Add first pass generic ack callback code (to eventually replace mbuf specific code).
Change ab_node's to ab_req.
Fix a bug where setting BIBValid on OHCI 1.0 chips (this is a reserved bit
on 1.0)
2001-05-11 06:10:44 +00:00
jmc
29499573cd Change ab_node's to ab_req.
Use read/write instead of input/output.
Fix a bug in attach where the abuf wasn't getting zero'd out.
2001-05-11 06:09:01 +00:00
jmc
5bf1559a64 Rename input/output to read/write to match ieee1394var.h 2001-05-11 06:07:40 +00:00
jmc
2d235c864f Add some notes 2001-05-11 06:07:02 +00:00
jmc
b4974f0526 Add first pass of generalized hooks for packet completion (i.e. ack) codes. This will eventually replace the mbuf code when it moves back to if_fw.c where it belongs. 2001-05-11 06:06:03 +00:00
jmc
6dc32302f3 Add mask for getting the ACK bits out of the status area of a DMA context descriptor 2001-05-11 06:04:49 +00:00
jmc
b7d6b60f87 Change abuf to include both requestor and responder softc's (for dealing with requests from other nodes later).
Add a callback so the ACK bits can be looked at if wanted.
Change the input/output pointers to proper proto's and rename to read/write.
2001-05-11 06:03:55 +00:00
jmc
32a67a12cd Remove extraneous prototype 2001-05-11 06:00:17 +00:00
lukem
6685080692 add missing parenthesis in macros, detected by lint and debugged by todd. 2001-05-11 05:13:57 +00:00
thorpej
a3fad63f23 Rafal's Indigo2 kernel configuration. 2001-05-11 05:05:42 +00:00
thorpej
5c3fa40aa3 Autoconfiguration glue changes for Indigo2/Indy support. 2001-05-11 05:04:34 +00:00
thorpej
c68eb33351 Delete __NO_SOFT_SERIAL_INTERRUPT. 2001-05-11 05:02:30 +00:00
thorpej
c36aca4169 Support for configuring an SCC console. From Rafal K. Boni. 2001-05-11 04:56:56 +00:00
thorpej
935ed514af Support for the IP22 (Indigo2, Indy, Challenge S). From Rafal K. Boni. 2001-05-11 04:56:09 +00:00
thorpej
07d7386b8f Move IP32 (O2) support into its own file.
From Rafal K. Boni.
2001-05-11 04:55:42 +00:00
thorpej
acc9f8ef65 Adjustments for dynamic system configuration. From Rafal K. Boni. 2001-05-11 04:53:25 +00:00
matt
063e046c8f Add MI cprofb (used on shark and netwinder) 2001-05-11 04:47:56 +00:00
thorpej
7583466c6f Expose atoi(). From Rafal K. Boni. 2001-05-11 04:47:55 +00:00
matt
0f8a2c610f Add MI cprofb (used on shark and netwinder) 2001-05-11 04:47:55 +00:00
thorpej
148ab319ac Use hit-flush ops in bus_dmamap_sync(). From Rafal K. Boni. 2001-05-11 04:46:22 +00:00
thorpej
fc4bcdcdf2 We now have generic soft interrupts. 2001-05-11 04:42:41 +00:00
thorpej
a8a801d6f3 Dynamic system configuration support, derived from pmax port.
From Rafal K. Boni.
2001-05-11 04:42:13 +00:00
thorpej
c9ca9bb770 SGI machine types and subtypes. From Rafal K. Boni. 2001-05-11 04:38:22 +00:00
thorpej
6b313f2c5f Basic EISA support for the Indigo2. From Rafal K. Boni. 2001-05-11 04:36:15 +00:00
thorpej
13f69bc540 Generic software interrupt implementation, derived from mipsco
implementation.

From Rafal K. Boni.
2001-05-11 04:32:05 +00:00
thorpej
87f3aebd5e New data structures for the new SCC driver.
From Rafal K. Boni.
2001-05-11 04:26:17 +00:00
thorpej
f24f6c113d Support for the SCC serial ports on Indigo2/Indy.
From Rafal K. Boni.
2001-05-11 04:24:44 +00:00
thorpej
3b92374a20 Support for the Indigo2/Indy IMC (this is that to which all other
devices are attached).
2001-05-11 04:22:55 +00:00
thorpej
e6e4372ada New clock functions, based on the newsmips versions. These
actually do something, by calling into the hardware clock
routines set up during autoconfiguration.

From Rafal K. Boni.
2001-05-11 03:42:59 +00:00
thorpej
ce9753d9e9 Autoconfiguration glue for HPC devices.
From Rafal K. Boni.
2001-05-11 03:23:38 +00:00
thorpej
5885656e58 Support for the Seeq 8003 Ethernet attached to the HPC ASIC,
found on Indigo2 and Indy.

From Rafal K. Boni.
2001-05-11 03:22:21 +00:00
thorpej
5d02689ede IOC1/2 memory map.
From Rafal K. Boni.
2001-05-11 03:18:57 +00:00
thorpej
726924bc4c Support for the Dallas 1286 clock found on the Indigo2 and Indy. 2001-05-11 03:16:59 +00:00
thorpej
c4173c40c1 Support for the HPC I/O peripheral ASIC. There is where SCSI, Ethernet,
etc. live on the Indigo2 and Indy.

From Rafal K. Boni.
2001-05-11 03:11:20 +00:00
thorpej
149ebabf26 Get the major number of the CRIME properly.
From Rafal K. Boni.
2001-05-11 02:25:21 +00:00
thorpej
240de9a426 Definitions for the Dallas Semiconductor DS1286/DS1386 Real Time Clock.
From Rafal K. Boni.
2001-05-11 02:07:09 +00:00
thorpej
4efd12ca44 Set SR to PSL_LOWIPL rather than MIPS_INT_MASK | MIPS_SR_INT_IE,
as the former accounts for some mips3-related options.

From Rafal K. Boni.
2001-05-11 02:03:01 +00:00
thorpej
0976e733f4 Correct args to SYSCALL_DEBUG related function calls.
From Rafal K. Boni.
2001-05-11 01:42:32 +00:00
thorpej
18e25d5feb Add a flag to suppress SCC reset at attach time.
From Rafal K. Boni.
2001-05-11 01:40:48 +00:00
petrov
591e596a12 john heasley patch <heas@shrubbery.net>, PR port-sparc/12885
added PROM name translations for hme and fas
2001-05-10 23:11:53 +00:00
fvdl
ba2882488a Despite what the hardware docs say, the global reset command is not
done when the command-in-progress bit has been cleared. The 1ms
time that is mentioned also seems wrong; 20,000us is not enough
on at least one machine. So, do a delay(100000) in ex_reset.
Fortunately, this function is only called when the card is
attached or when hardware failure is suspected.

While here, only mask one 1 bit in the 'reset hack' case.
2001-05-10 22:57:44 +00:00
tron
74cc245bbe Fix typo: Pnp -> PnP 2001-05-10 22:12:38 +00:00
fredette
ee50c275ca Put longjmp's return value in the proper %d0. 2001-05-10 16:50:22 +00:00
pk
8001e23cd0 * reserve NBPG et.al. for kernel usage only.
* remove obsoleted comment on `physmap'.
2001-05-10 11:01:08 +00:00
pk
6016064c18 SHMLBA:
kernel use: change to PAGE_SIZE
	userland: call libc's internal __sysconf(_SC_PAGESIZE)
2001-05-10 10:50:51 +00:00
ad
8aad07ad6a Add missing printf(). 2001-05-10 09:41:19 +00:00
thorpej
2f58df9a8f Rearrange the code that adds pages of objects to the pool; require
that the caller allocate the pool_item_header when it allocates the
pool page, so we can avoid a locking pitfall (sleeping with a simple
lock held).

Also revive pool_prime(), as there are some letigimate uses of it,
but in doing so, eliminate some of the bogosities of the old version
(i.e. don't do an implicit "setlowat", just prime the pool, and incr
the minpages for each additional page we add, and compute the number
of pages to prime in a way that callers would expect).
2001-05-10 04:51:41 +00:00
thorpej
6ec67f871a Use POOL_NEEDS_CATCHUP() in one more place. 2001-05-10 02:19:32 +00:00
augustss
f63784bfbe Improved fix of PR12796, from Frederick Bruckman <fb@enteract.com> 2001-05-10 01:54:30 +00:00
itojun
63181d71c1 correct ecn consideration on tunnel encap/decap. sync with kame. 2001-05-10 01:37:42 +00:00
thorpej
db26619a5e Encapsulate the test for a pool needing a pool_catchup() in a macro. 2001-05-10 01:37:40 +00:00
itojun
2c2ff2e32d one more indentation fix 2001-05-10 01:30:55 +00:00
itojun
b87cb9344b whitespace/indentation cleanup 2001-05-10 01:23:51 +00:00
lukem
88d538c21e fix comment; cdev_notdef() is a funny pc console :) 2001-05-10 01:23:23 +00:00
itojun
dc452a48f6 no longer need to carry local version of inet_ntoa, we have it in libkern. 2001-05-10 01:04:08 +00:00
thorpej
627edfcb50 Remove pool_create() and pool_prime(). Nothing except pool_create()
used pool_prime(), and no one uses pool_create() anymore.

This makes it easier to fix a locking pitfall.
2001-05-09 23:46:02 +00:00
thorpej
626cb1c3ce Use pool_init() rather then pool_create(). 2001-05-09 23:38:20 +00:00
thorpej
e2a791df22 Use pool_init() rather than pool_create(). 2001-05-09 23:20:59 +00:00
matt
c2214aaf3c Remove includes that only include <arm/*.h>. These are now picked up
automatically when making kernels. (to be submitted).  Next rev will
eliminate those includes that include <arm/arm32/*.h>
2001-05-09 22:30:43 +00:00
augustss
5c9ba155e3 Apply patch in PR lib/12796 from Frederick Bruckman <fb@enteract.com> 2001-05-09 21:49:58 +00:00
kleink
dd4df24b01 Make the set of machine state restored by setmcontext() identical to that of
sigreturn().
2001-05-09 20:31:00 +00:00
kleink
e0b29e0491 Sync with native emul: rename sc_tstate to sc_psr. 2001-05-09 20:21:50 +00:00
kleink
f0d6ebbd33 Make restoring the PSR ICC bits really work in __sigreturn14(). 2001-05-09 20:13:38 +00:00
fvdl
0cc3c4a023 Suppress another case of a potentially noisy error message which
isn't fatal.
2001-05-09 20:02:32 +00:00
kleink
aec2bbb42f Sync sc_psr comments with reality. 2001-05-09 19:50:49 +00:00
kleink
7dbfdb5508 In the 32-bit ABI case:
* rename sigcontext.sc_tstate to sc_psr, since this is how it is known to
  the 32-bit API, and also used for;
* don't try to squeeze the tstate into it, just emulate the ICC bits.

Per discussion with Eduardo.
2001-05-09 19:46:22 +00:00
augustss
59f85c4e3e Ansify a function I forgot last time. 2001-05-09 19:33:07 +00:00
fvdl
defa9bf05f Avoid potential cases of sleeping while holding a spinlock. Pay attention
to SWF_FAKE when finding a swap device. GC swapdrum_add; it was only
a few lines long and called once, so just inline the code there.
2001-05-09 19:21:02 +00:00
thorpej
6300e455b4 Make sure `bhlc' is initialzed before we consult it to determine
the number of functions on the card.
2001-05-09 18:16:39 +00:00
matt
9c197c4609 Change references to <arm32/isa/timerreg.h> to <dev/ic/i8253reg.h>
Remove timerreg.h
2001-05-09 17:34:40 +00:00
tsutsui
73c5107dc5 Tidy up some debug messages. 2001-05-09 16:44:44 +00:00
tsutsui
330ab2b636 Print a clock frequency of the chip. 2001-05-09 16:24:43 +00:00
matt
bd9a11ee56 Populate ofw subtree. 2001-05-09 16:08:43 +00:00
matt
16db09f9f6 Add isa_machdep.c for dnard 2001-05-09 15:58:50 +00:00
matt
77666e6c72 Populate dnard/dnard. 2001-05-09 15:58:07 +00:00
matt
0cd5b27a79 Populate dnard/include 2001-05-09 15:40:54 +00:00
matt
a0b5b1f2ba Cleanup and make accurate to current dnard status. 2001-05-09 15:20:49 +00:00
matt
a9dceff4e1 add cpu ofbus attachment. (dnard has no mainbus). 2001-05-09 15:19:00 +00:00
matt
86fff9f3e8 Use the common arm32/pcb.h. Rearrange db_machdep.h to get definitions
before declaring functions.
2001-05-09 15:17:45 +00:00
matt
879ab84d00 Modify this for dnard (remove monitor stuff). 2001-05-09 15:16:24 +00:00
augustss
94b7017e7f Point out where the documentation is wrong. 2001-05-09 12:08:44 +00:00
augustss
f82cb49523 Add FireWire OHCI controller on Cardbus. 2001-05-09 12:07:40 +00:00
augustss
7ac3b0b5a9 Ansify. 2001-05-09 12:07:01 +00:00
augustss
c37a0f8fb8 Fix grammaer in error message. 2001-05-09 12:06:25 +00:00
shin
6fbde674dd don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>. 2001-05-09 11:57:05 +00:00
fredette
66c27dfc2e Removed, cleaning up (no-)FPU support. 2001-05-08 21:39:24 +00:00
kleink
cddc4b4264 While we're here, do SVR4_SPARC_ASI as well. 2001-05-08 20:57:17 +00:00
kleink
3d3703c7bd On v9, greg[0] isn't a TSTATE-in-PSR hack but just CCR. 2001-05-08 20:46:49 +00:00
kleink
bd0787e771 One step closer to making ICC/CCR manipulation work. 2001-05-08 19:30:05 +00:00
uch
fae3e8e7c1 KNF. 2001-05-08 18:51:22 +00:00
uch
5dd9fe4aa5 set allocatable PCMCIA I/O space size. 2001-05-08 18:08:02 +00:00
uch
ecdf760718 fix locking problem of event queue access. 2001-05-08 17:23:09 +00:00
ichiro
09858f6fc8 change promisc mode in case of SIOCSIFFLAGS of wi_ioctl.
Fix indentation.
2001-05-08 16:42:49 +00:00
uch
dbb7276f40 fix RCS Id. 2001-05-08 14:46:06 +00:00
ichiro
1480c8fae2 delay(10) is too much enough for command waiting routine. 2001-05-08 13:42:04 +00:00
fredette
64432ee924 cpu_Debugger() is always available on the sun2. 2001-05-08 13:07:35 +00:00
matthias
0edc338e99 third argument of pcpoll is a struct proc now. 2001-05-08 11:29:39 +00:00
itojun
a262f7cc76 remove #ifdef for freebsd 2001-05-08 11:06:21 +00:00
itojun
1bec764d78 correct faith prefix determination. use sys/netinet/if_faith.c:faithprefix()
to determine.  sync with kame.
(without this change, non-faith socket may mistakenly accept for-faith traffic)
2001-05-08 10:15:13 +00:00
itojun
02077e028f pull encapsulated packet for vif* via ip_encap framework. 2001-05-08 10:07:15 +00:00
matt
c8f1f39d19 Disable the secondary ide port in the pcibus_attach_hook. 2001-05-08 06:55:17 +00:00
is
09a3dd5f0c defopt LEV6_DEFER. 2001-05-08 06:09:29 +00:00
nisimura
7ec840fbe5 Add comment to tell what cpu_fork() does around at its bottom.
What's wrong; the initial SR value in pcb0 gets overwritten before
the first kthread_create1() is called.  For a normal process which
has user mode it doesn't matter because proc_trampoline() makes
the process to have spl0 during exception return path to user mode,
however, kthreads stay in kernel mode mistakenly left in splhigh
condition.  The trouble is visible as severe clock drifts when
system activity is high.
2001-05-08 06:02:14 +00:00
ross
d6a25f9b02 Add DEBUGLIST mechanism. Example config line:
makeoptions DEBUGLIST="uvm* trap ufs*"
This turns on -g for only those files matching a DEBUGLIST pattern word.
2001-05-08 05:47:35 +00:00
nisimura
580e36f497 Make sure to have spl0 condition whenever a new thread of control
is created.  System kthreads are mistakenly left splhigh state.

pcb0 has an initial SR value for spl0 condition which are expected to
be propagated to all of children
2001-05-08 05:36:01 +00:00
thorpej
0b8c6fcc77 Fix a silly mistake I made when reworking the uvm inactive list
some time ago.  The mistake was to check that the page was not
referenced since the last active scan before moving it to inactive.
Now we just clear reference and move it to inacive (which is where
the second clock hand sweep occurs).
2001-05-07 22:01:28 +00:00
fredette
bdf32dea4f Turned all lea/jsr combinations back into jbsrs,
as they were originally.
2001-05-07 21:48:24 +00:00
jdolecek
27a5a43c04 In the check_header() function, bump the number of allowed section headers
to 512. Apparently, there are ELF binaries with more than 128 section
headers - an example is one of Linux Word Perfect 8 utilities.

This fixes kern/12455 by Mark Davies.
2001-05-07 17:09:13 +00:00
uch
93069cf02a recompile. 2001-05-07 11:15:28 +00:00
uch
a4cf833c49 add Fujitsu PenCentra 130 entry. 2001-05-07 11:12:10 +00:00
lukem
a4845ebfa1 delint to c89; use #define instead of static const int for an array size 2001-05-07 10:15:46 +00:00
manu
7e6929fe90 Changed EMUL_BSD_ASYNCIO_PIPE to EMUL_NO_BSD_ASYNCIO_PIPE, so that
the native emulation (NetBSD) does not have a flag.
2001-05-07 09:55:12 +00:00
minoura
0bb85c4922 Encoding ulinear and mulaw are both software emulated.
From Isaki-san.
2001-05-07 09:42:30 +00:00
lukem
5b2ac78763 regen from vnode_if.sh rev 1.29 2001-05-07 08:48:07 +00:00
lukem
e1adc31453 delint: vop_default_desc was declared const but not defined const. 2001-05-07 08:46:02 +00:00
lukem
a9bf1b0410 delint 2001-05-07 08:15:41 +00:00
enami
8e5a4722c5 Make this file *just* compiles again when __HAVE_MINIMAL_EMUL is defined. 2001-05-07 02:51:53 +00:00
enami
362af21bc7 Fix broken indentation introduced by previous commit. 2001-05-07 02:28:55 +00:00
is
9c48209178 Be more verbose in the warnings. 2001-05-06 20:49:43 +00:00
ad
3db21b039c We map in by MLX_EISA_SLOT_OFFSET, so remember that when accessing the
IOCONF registers. Pointed out by thorpej.
2001-05-06 20:34:41 +00:00
ad
14ad1926a8 Add mlx at eisa. 2001-05-06 20:32:20 +00:00
kleink
a7d0606917 Cosmetical oversight. 2001-05-06 20:25:28 +00:00
thorpej
04f36fcb9e Remove a comment which is no longer true. From Artur Grabowski. 2001-05-06 20:12:09 +00:00
fvdl
8311862915 Add amd766 support. Rename some variables to 7x6 now that it supports
both 756 and 766.
2001-05-06 20:06:35 +00:00
ad
ae9cc4fa8a Add an (untested) EISA front-end for the `mlx' driver. 2001-05-06 19:54:59 +00:00
ad
95450fbced Make provision for resetting the board at start-up. 2001-05-06 19:53:04 +00:00
ad
d4d6497c45 Regen. 2001-05-06 19:44:14 +00:00
ad
0c528fcfc0 Add some Mylex products. 2001-05-06 19:43:54 +00:00
manu
573ce64c6b implement the recently introduced EMUL_BSD_ASYNCIO_PIPE emulation package
flag.

EMUL_BSD_ASYNCIO_PIPE notes that the emulated binaries expect the original
BSD pipe behavior for asynchronous I/O, which is to fire SIGIO on read() and
write(). OSes without this flag do not expect any SIGIO to be fired on
read() and write() for pipes, even when async I/O was requested. As far as
we know, the OSes that need EMUL_BSD_ASYNCIO_PIPE are NetBSD, OSF/1 and
Darwin.
2001-05-06 19:22:32 +00:00
manu
5a6b8191b5 Added two flags to emulation packages:
EMUL_BSD_ASYNCIO_PIPE notes that the emulated binaries expect the original
BSD pipe behavior for asynchronous I/O, which is to fire SIGIO on read() and
write(). OSes without this flag do not expect any SIGIO to be fired on
read() and write() for pipes, even when async I/O was requested. As far as
we know, the OSes that need EMUL_BSD_ASYNCIO_PIPE are NetBSD, OSF/1 and
Darwin.

EMUL_NO_SIGIO_ON_READ notes that the emulated binaries that requested
asynchrnous I/O expect the reader process to be notified by a SIGIO, but
not the writer process. OSes without this flag expect the reader and the
writer to be notified when some data has arrived or when some data have been
read. As far as we know, the OSes that need EMUL_NO_SIGIO_ON_READ are Linux
and SunOS.
2001-05-06 19:09:52 +00:00
bjh21
0336117218 The arch/arm32/kshell code was removed three years ago. Kill references to it. 2001-05-06 18:38:58 +00:00
bjh21
6d4648fa03 Move "defopt PMAP_DEBUG" into files.arm, since it's used by code in arch/arm. 2001-05-06 18:31:14 +00:00
drochner
06fc2f85cc Since __HAVE_OLD_DISKLABEL, DISKMINOR(u, p) isn't continuous over "p"
anymore. So we can't pass a range to vdevgone() but have to loop over the
partitions explicitely.
(otherwise the next device unit will be killed)
2001-05-06 18:30:56 +00:00
bjh21
e08b3af21d Add stub <machine/cpufunc.h> for arm26. 2001-05-06 18:25:27 +00:00
bjh21
f9087c439b Move cpufunc stuff from arm32/arm32 to arm/arm. The only change involved is
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).
2001-05-06 18:01:42 +00:00
ragge
fda35ea62c Add dmc. 2001-05-06 17:38:36 +00:00
ragge
816247df06 Add il, dmc, ts and if_uba. 2001-05-06 17:37:52 +00:00
ragge
09a79adad2 Driver for the DMC-11/DMR-11 DDCMP interface, (untested) from 4.4BSD. 2001-05-06 17:36:04 +00:00
simonb
b3a4957ee5 Fix spr and tbr register number extraction. tbr is untested, but is the
same format as spr and had the same mistake.
2001-05-06 16:40:22 +00:00
simonb
982e593742 Remove duplicate opcode. 2001-05-06 16:11:17 +00:00
fvdl
9fce66b9a0 Regen. 2001-05-06 16:10:45 +00:00
fvdl
6e51539959 Add some IDs for the AMD760 chipset, as specified in the datasheet. 2001-05-06 16:09:38 +00:00
ragge
bb0a481471 Add il + ifuba. 2001-05-06 15:32:47 +00:00
ragge
7026635893 Driver for the Interlan NI1010 Ethernet Controller, from 4.4BSD. 2001-05-06 15:30:46 +00:00
simonb
ad336f45ee Fix a bunch of other typos. 2001-05-06 15:30:13 +00:00
ragge
93011fb5f6 Use if_uba + ether_ioctl routines. Removed ~150 lines of duplicated code. 2001-05-06 15:27:48 +00:00
ragge
9b9db3a6bd Back from the dead, but now changed to use the bus_dma interface.
Still to do:
	- ubaresets
	- BDP handling
2001-05-06 15:21:44 +00:00
fvdl
9bf58a757b Add missing break statement. 2001-05-06 14:32:35 +00:00
takemura
54d9a46bbc Vrc4172 GPIO support. This device is currently configured on PenCentra 130. 2001-05-06 14:25:15 +00:00
simonb
2113399bb4 Fix typos in two instruction codes. 2001-05-06 14:25:09 +00:00
kleink
3afd5feae1 Add a __static_cast() macro to help standard headers when used in C++
compile environments using G++'s -Wold-style-cast warning;
suggested by Dave Sainty in PR lib/11766.
2001-05-06 14:04:58 +00:00
simonb
d4e74d04aa Declare schedhz and rrticks as 'externs'. 2001-05-06 13:47:14 +00:00
simonb
cbbd901bdc Declare schedhz. 2001-05-06 13:46:34 +00:00
simonb
6a2acde042 Save the start and end positions in the message buffer of the formatted
panic string.

Suggested by Jason Thorpe eons ago.
2001-05-06 13:23:42 +00:00
simonb
6a64a03f21 Remove prototype for non-existant function. 2001-05-06 12:50:45 +00:00
hannken
3446a61cb3 Fix a typo from thorpej_scsipi merge. No-sense information with retval == 0
should only print if SCSIPI_DEBUG is defined.
2001-05-06 11:31:08 +00:00
ross
6b9d94cd8c Fix overflow errors in brk(2). 2001-05-06 04:32:08 +00:00
ichiro
8bb5cfe6aa divided into PCMCIA attachment and common code of wi.
since if_wi_ieee.h does not depend for pcmcia,
sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h .
2001-05-06 03:26:38 +00:00
hubertf
b866d429c1 vlan does not belong to group of IPv6 pseudo-devices 2001-05-06 01:54:19 +00:00
thorpej
18c5f91b0b Fix a deadlock cause by a lock ordering interaction between pmap_enter()
and pmap_growkernel().
2001-05-05 18:22:04 +00:00
jdolecek
3cacf40566 recognize ed as boot device 2001-05-05 17:53:59 +00:00
takemura
4cfc3259b6 Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
2001-05-05 14:42:41 +00:00
bjh21
3fc08cf178 Implement pmap_resident_count() and pmap_wired_count() properly. 2001-05-05 14:20:05 +00:00
kleink
9c7039688b * Replace a couple of cases of u_char and u_short with uint8_t and uint16_t,
respectively.
* Simplify sockaddr_storage calculations a bit by the fact that, per defintion,
  sizeof (char) == 1.
Fixes PR standards/10791.
2001-05-05 12:47:58 +00:00
takemura
a44e218942 Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
2001-05-05 08:26:11 +00:00
takemura
83a1287ab0 Add wrapper header files. 2001-05-05 08:14:21 +00:00
takemura
58a528e2f3 Add entries of Fujitsu PenCentra series. 2001-05-05 05:45:29 +00:00
shin
66ff05bcae change maxusers 8 -> 10.
without this change, 'make build' will fail.
2001-05-05 05:04:27 +00:00
thorpej
18639a81be No need to have code we don't use anymore. 2001-05-05 02:20:53 +00:00
minoura
c9c82d303a Use cdev_decl for prototype declarations (port-x68k/12829, thanks to scw
for suggestion).
Add static to some non-external functions.
2001-05-05 01:52:56 +00:00
hubertf
8093ee4bba vlan does not belong to the IPv6 devices (gif, stf, ...), so seperate it
visually.
2001-05-05 00:11:48 +00:00
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
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
thorpej
01e2971ba2 Add the number of page colors to uvmexp. 2001-05-01 19:36:56 +00:00
lukem
796f5b43a7 delint 2001-05-01 16:40:03 +00:00
lukem
e106596e85 remove superfluous ; 2001-05-01 16:39:00 +00:00
enami
1132ef7f20 Use simple do {} while () loop instead of for {} loop + extra test/variable. 2001-05-01 14:02:56 +00:00
jmc
4dbb3cf591 Add a few more items 2001-05-01 13:57:41 +00:00
enami
d211385f8a Fix second level indentation in recent commit. 2001-05-01 13:42:34 +00:00
enami
e3e7ff2cff Don't descent into plantid_gen since
- it's not objdir safe.
- and it's not necessary since up-to-date generated files are
  commited to trunk.
2001-05-01 13:26:20 +00:00
enami
0b309ab610 Wrap long line. 2001-05-01 13:24:02 +00:00
ragge
2ea00c4d85 Add ka610, remove TS11. 2001-05-01 13:21:27 +00:00
ragge
b07617dece More CPU definitions. From Michael Kukat. 2001-05-01 13:20:35 +00:00
ragge
9ee994852e Use linear memory mapping for MV1. No map registers. 2001-05-01 13:20:02 +00:00
ragge
e0a272b2cb Support for MicroVAX 1. 2001-05-01 13:18:27 +00:00
ragge
ecf0eb7abd CPU support file for KA610 (MicroVAX I). Very simple. 2001-05-01 13:17:55 +00:00
ragge
68cb5a262d Do not (try to) remap the qbus on MV1. 2001-05-01 13:08:09 +00:00
toshii
43800774d5 Add hpcarm devices (sacc, sacom, sacpcic, saip, saost). 2001-05-01 12:44:40 +00:00
toshii
c7df9e68f9 Fix device matching in saip.
ca_match functions should return positive value when matched.
2001-05-01 12:36:54 +00:00
ragge
362abadb92 Detect 4000/500A, 4000/600A and 4000/705A. Also detect MicroVAX 1. 2001-05-01 11:13:46 +00:00
ragge
1e1a8fa3fd Support for more NVAX types: VAX 4000/705A and (untested) 600A.
From Michael Kukat.
2001-05-01 11:11:47 +00:00
bjh21
c7d1f1542c Use the correct condition code when deciding whether to take an AST (oops!).
Also disable interrupts correctly in the APCS-32 case.
2001-05-01 11:01:12 +00:00
scw
adf7013d7f Match osiop' instead of ncrsc' now. 2001-05-01 07:33:29 +00:00
scw
813efd148a Don't panic in _bus_dmamap_sync() if a segment start address/length are
not aligned to a cacheline boundary.

Instead round down the start address, round up the length and "DTRT".
2001-05-01 07:32:51 +00:00
enami
37ed68b3e4 Avoid null pointer dereference. 2001-05-01 06:17:23 +00:00
enami
d483a2c9e2 Fix whitespace usage (fow now, previously existing code only just due to
my time shortage):
- Use 8 column for basic indent.
- Use 4 space for 2nd level indent.
- Use tab instead of 8 spaces.
- Don't put space before function call operator.  That's unary operator.
- Wrap lines so that it fits in 80 columns.
2001-05-01 06:15:42 +00:00
ross
43c3cc6cc0 Fix lock problems with error flow reorg. 2001-05-01 05:53:29 +00:00
thorpej
cf3594e27e Delete the pmap_copy() calls. 2001-05-01 05:33:12 +00:00