Commit Graph

26367 Commits

Author SHA1 Message Date
bjh21
020a050984 Randomize the statclock period properly. We use the same algorithm as the
sparc port.
2001-04-16 14:12:38 +00:00
dbj
b2bff5fc7f add receive ethernet bpf tap
keep receive ethernet crc and set M_HASFCS
change bus_dma MD fields to keep xfer_len for entire map
  instead of per segment
turn off automatic dma restarts in preparation for changing
  scsi driver to handle them.
add dma debugging routines to keep history of dma states
tweak checking for unusual dma limit register
2001-04-16 14:12:12 +00:00
briggs
511ae4853c Remove extra whitespace after \. 2001-04-16 13:45:31 +00:00
sato
00ec577a8e add VR4122 specified register definitions.
XXX: vrip.c is not yet supported VR4122.
2001-04-16 09:55:56 +00:00
sato
8a19f18c0b fix typo in comment. 2001-04-16 09:17:05 +00:00
thorpej
1bd443444b In splx(), don't call spl0() unless the ssir != 0. 2001-04-15 23:26:05 +00:00
thorpej
00f815f803 Clean up soft interrupt related stuff a bit. 2001-04-15 23:07:34 +00:00
toshii
9e3772786d Add header files for PPC and SSP register definitions. 2001-04-15 17:27:26 +00:00
toshii
1875326646 Use the second channel to generate 128Hz statclock interrupts.
top(1) reports more accurate CPU times (user/sys/intr/idle) now.
2001-04-15 17:19:32 +00:00
kleink
f06533a1ee Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837 Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
c544d84b41 Catch up with ansi.h rev. 1.12: define SIZE_T_MAX and SSIZE_MAX as long
integer constants in ELF environments.
2001-04-15 14:16:08 +00:00
kleink
80ad23a5da Catch up with ansi.h rev. 1.12: define intptr_t and uintptr_t as long
integers in ELF environments, like is done with ptrdiff_t.
2001-04-15 13:38:19 +00:00
takemura
05859f4c8e Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.
2001-04-15 12:27:32 +00:00
bjh21
5a15be6a18 Don't panic on a stray IRQ, just log it and hope it goes away. This works for
my acemidi card at least.
2001-04-15 11:59:43 +00:00
takemura
60f9754d4b Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
2001-04-15 10:10:43 +00:00
kleink
75f6b62025 Add long-missing(!) <machine/math.h>. 2001-04-14 22:48:31 +00:00
kleink
cdcf9f46c5 Add definitions of C99 integer constant macros.
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788 Add definitions of C99 integer constant macros. 2001-04-14 22:38:33 +00:00
bjh21
cee3528adc When checking if an IRQ is active, check for _all_ the right bits' being set,
not just some of them.
2001-04-14 19:58:58 +00:00
reinoud
763e66f5de Initial commit of wsmouse driver for the IOMD quadratic mouse. 2001-04-14 19:22:43 +00:00
bjh21
e0e3b230c1 Remember to initialise the interrupt handle.
Bugs like this are my penalty for having my only supported podule in slot 0.
2001-04-14 18:39:20 +00:00
scw
9beeeabe1b Define a PAGER_MAP_SIZE of 4MB for the benefit of low-memory models.
XXX: This may still not be low enough for models with less than 8MB RAM...
2001-04-14 16:02:24 +00:00
reinoud
4e845e001a Accidently left COMCONSOLE configured 2001-04-14 14:51:04 +00:00
augustss
72eb64fead Propagate __HAVE_GENERIC_SOFTINTR to assembly files. 2001-04-14 13:56:02 +00:00
scw
dd8c947561 Implement a real microtime() by reading the timer counter register.
On mvme147 this gives 6.25uS resolution, and 1uS on all other boards.
2001-04-14 13:53:05 +00:00
scw
c605c91bdf Fix bootline argument passing from the Bug PROM. 2001-04-14 13:43:07 +00:00
kleink
7affdab52e Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
8b3fc18a1f Generic soft interrupt implementation for NetBSD/i386. This could
probably be tuned somewhat, but this is a stop-gap measure to hold
us until Bill Sommerfeld's new interrupt code comes in from the
MP branch.
2001-04-14 06:49:30 +00:00
reinoud
c025377acc Cleanup of attachment code of framebuffers 2001-04-14 02:25:43 +00:00
thorpej
e964ad79cf Change the softintr implementation to be a bit more cache friendly
(though, sigh, slightly more expensive at softintr_schedule() time).
2001-04-14 00:45:13 +00:00
thorpej
bf2dcec4f5 Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
bjh21
d3c7885319 Make sure that every time we touch the referenced/modified bits, we do a
pmap_update_page() to get all the mappings of that page up-to-date.
2001-04-13 16:37:28 +00:00
matt
362ba8300c Include USB and 1394 support (sun models now have them). 2001-04-13 16:26:41 +00:00
bjh21
991d163aa2 Remove code from pmap_fault() that ws trying to do referenced/modified
emulation on kernel pages (and getting it wrong).
2001-04-13 15:09:35 +00:00
bjh21
7b00aef2da Rev 1.3 accidentally undid rev 1.2. Re-do it. 2001-04-13 14:50:47 +00:00
bjh21
ac01781de7 Make UBC_WINSHIFT a constant. 2001-04-13 12:40:16 +00:00
itojun
fbc07662f5 $NetBSD$ tag cleanup 2001-04-13 08:11:44 +00:00
itojun
eb0cfc6af5 s/$Id$/$NetBSD$/ 2001-04-13 08:09:07 +00:00
kleink
9133b51cd8 Replace the 'unsigned __COMPILER_INT64__' construct with a new name,
__COMPILER_UINT64__, to be supplied - if such a case is made, it shouldn't
be assumed that the unsigned type-specifier may be applied to it.
2001-04-12 22:01:18 +00:00
reinoud
fdeb609887 Place a remark ... the old vidcconsole code can't handle the comconsole
not yet for it is called early in the init_arm() ... this needs to be
patched one day so it can be called very early; but is this possible ?
2001-04-12 21:54:06 +00:00
reinoud
242cca702b Part one of the COMCONSOLE repair ... it works now but the video console
is effectively dead instead... this needs work. Also the boottime switching
to the vidcconsole would be good.
2001-04-12 20:15:06 +00:00
thorpej
0d8e6faeb2 splimp -> splvm 2001-04-12 19:43:46 +00:00
thorpej
316dcc474b splvec.splimp -> splvec.splvm 2001-04-12 19:21:20 +00:00
thorpej
023e07a194 splimp -> spluba 2001-04-12 19:16:56 +00:00
thorpej
c031c366f6 Add spluba(). 2001-04-12 19:16:06 +00:00
thorpej
9b2337e9d8 splimp -> splbio. 2001-04-12 18:34:56 +00:00
thorpej
89fb12c497 splimp -> splhigh when frobbing netisr. 2001-04-12 18:28:40 +00:00
thorpej
0f05a2b35c splimp -> splhigh for frobbing the netisr. 2001-04-12 18:26:26 +00:00
thorpej
f5940ea000 splimp -> splvm (XXX Time critical sections, but don't want to block
the clock).
2001-04-12 18:22:55 +00:00