kleink
99d1259e7f
Don't let [gs]etcontext() and friends clash with userland.
2001-04-30 19:35:13 +00:00
ross
613d465e10
apply recent changes to DEBUG code
2001-04-30 19:00:41 +00:00
wiz
133599a99d
Remove unused variable. Reported by Thilo Manske in port-mac68k/12794.
2001-04-30 17:12:03 +00:00
toshii
fbdeb188a5
setsoftast is a macro now.
2001-04-30 15:54:28 +00:00
martin
77a926d775
Avoid nesting structure declarations, where the nested structur is used at
...
the global level later. Besides stylistic matters, this actually breaks C++
programs (indirectly) using this header.
2001-04-30 15:30:39 +00:00
toshii
87593b8b06
Pull in <machine/psl.h> for spl* definitions.
...
(same as arm32/include/intr.h rev 1.5)
2001-04-30 15:20:07 +00:00
uch
dcf9239830
recompile.
2001-04-30 13:49:38 +00:00
uch
263bc3d6ae
use inet_addr when gethostbyname failed.
...
patch by takemura@netbsd.org
2001-04-30 13:43:31 +00:00
uch
a9cd2901fd
add wrapper header for integer types.
2001-04-30 13:41:32 +00:00
takemura
26b0905dd0
Machine independent GPIO interface.
2001-04-30 11:42:17 +00:00
scw
ff4a29679f
Switch to the MI 53c710 driver recently committed by Izumi Tsutsui.
2001-04-30 09:05:58 +00:00
minoura
fc97cb8a94
Correct memory leak.
...
Use single block transfer when appropriate.
2001-04-30 05:47:31 +00:00
tsutsui
cdd9dc4e09
Add MD attachments for the Symbios/NCR 53c710 SCSI controller,
...
found on the NEC Express5800/230A.
2001-04-30 04:52:53 +00:00
matt
79649c917a
Move RB_KDB check to after VM is init so that there's an
...
interrupt stack for DDB to run on. This makes boot -d work.
2001-04-30 04:26:19 +00:00
lukem
b8f8cf0235
remove some lint, including ansifying some inlines
2001-04-30 01:17:30 +00:00
thorpej
2b27ac7a99
Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
...
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.
This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.
Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
matt
a403ed4939
Fix printing of stack traceback (last argument was always wrong). Use
...
%#x so that 0s are 0 and not 0x0
2001-04-29 22:17:24 +00:00
sommerfeld
a80b986278
Correct microtime() to use the microsecond part of the base timestamp.
2001-04-29 17:04:41 +00:00
bjh21
45eb40e8d3
Minimal implementation of cpu_sysctl().
2001-04-29 15:13:45 +00:00
fvdl
9554615dfb
Set NMBCLUSTERS to the old value of 256 here, as the new default
...
will only be a waste of space for this configuration.
2001-04-29 12:48:12 +00:00
scw
81be7c00b7
Compute PAGER_MAP_SIZE at runtime to avoid needlessly crippling large-
...
memory models for the benefit of small-memory models.
Uses a heuristic of min(onboard_ram_size/2, 16MB).
2001-04-29 07:53:56 +00:00
scw
89e9fc44d5
Do the same as mac68k/pmap.c:1.70 to prevent wired pages being
...
removed by pmap_collect().
2001-04-29 07:41:58 +00:00
thorpej
f38e77afea
Add glue for page zero'ing in the idle loop.
2001-04-29 06:54:03 +00:00
thorpej
a96fcfa38c
Disable the optimized in4_cksum() for now -- there seem to be problems.
2001-04-29 05:54:29 +00:00
thorpej
cb648add29
The idle loop page zero'er no longer needs to do uncached access
...
now that we have page coloring.
2001-04-29 04:42:04 +00:00
thorpej
cee702b869
Optimized in4_cksum().
2001-04-29 03:29:21 +00:00
fvdl
70316ad6e1
Remove COMPAT_14.
2001-04-29 00:34:11 +00:00
bjh21
e9c8a1fbb5
Add ipfilter, rnd, vcoda and raid.
2001-04-28 17:41:01 +00:00
kleink
fe3c9ceaf7
* Move definitions of exact-width integer types from <machine/types.h>
...
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.
2001-04-28 15:41:28 +00:00
ragge
0c1fdede08
MD in4_cksum.
2001-04-28 09:38:03 +00:00
ragge
8f8a96a056
Fix a bug so that MD-optimized in4_cksum() now works.
...
While here; rewrite header checksum calculation in assembler.
2001-04-28 09:36:01 +00:00
thorpej
53c1b3f9d7
Add a microtime() implementation that interpolates between ticks
...
using the cycle counter. MP-safeness is achieved by giving each
CPU its own PCC frequency variables, and kicking the non-primary
processors via an IPI once per second.
Based on the sample code from David Mills' "A Kernel Model for
Precision Timekeeping".
2001-04-28 06:10:49 +00:00
wdk
86d8020753
Move previous patch which performs allocsys() before pmap_bootstrap()
...
to the correct location.
2001-04-28 04:20:27 +00:00
jdolecek
3367b801f2
Add driver for SKNET Personal and MC+ - AMD Lance 7990 based ethernet cards.
...
Both models tested and seem to be quite stable and fast.
Thanks to:
- Hans Hubner <hans@Huebner.org> for giving me the cards for testing
- Georg Klug of Syskonnect, who provided me with hw docs for these cards,
very promptly and willingly - I wish all vendors would be like this
- Alfred Arnold, Linux SKNET driver author, for giving me valuable Syskonnect
contact :)
2001-04-27 18:03:40 +00:00
ragge
ec52ca1e06
Enable the L1 cache on KA640. Problem reported and testing help from
...
Saku Setala.
2001-04-27 15:02:37 +00:00
tsutsui
1bcd6675d5
Reset FDC in news5000_init() to avoid spurious interrupts
...
after booting from floppy (since we don't have fdc driver yet).
2001-04-27 12:55:51 +00:00
lukem
0808e23b17
cdev_vmegen_init can use cdev__ocrwim_init
2001-04-27 05:47:47 +00:00
bjh21
3a7710b605
Add ELF version of _PROF_PROLOGUE.
2001-04-26 23:20:02 +00:00
bjh21
271fb855ce
Arrange to restore R14 on return from __mcount, so that profiled assembler
...
routines will work. We could put this in _PROF_PROLOGUE, but this seems
lighter-weight and possibly cleaner.
2001-04-26 22:09:57 +00:00
thorpej
9d7220db23
Explicitly include <machine/pio.h>.
2001-04-26 17:56:37 +00:00
thorpej
ea0e8e69d5
Const poison.
2001-04-26 17:55:54 +00:00
kleink
99054d7a6c
Add definitions for C99 fastest minimum-width integer types.
2001-04-26 16:25:19 +00:00
tsubai
520e444562
Cosmetic changes.
2001-04-26 15:52:00 +00:00
tsubai
75dbde785b
Remove spaces at EOL.
2001-04-26 15:27:05 +00:00
tsubai
8e3cb2354b
Comment out ``printf("spurious interrupt\n")''.
2001-04-26 14:40:19 +00:00
is
f7455bf6e8
Be more specific than "some isic board".
2001-04-26 05:58:41 +00:00
ross
32edf97089
Move fp_complete() outside kernel lock perimeter.
2001-04-26 04:21:35 +00:00
ross
b569533b9a
Clean up 3 comments.
2001-04-26 04:16:17 +00:00
ross
2df695b1e4
o IEEE 754 floating-point completion code.
...
o Implement the architected FP_C "Floating Point Control Quadword"
2001-04-26 03:10:44 +00:00
thorpej
a60e816e7a
Provide a pmap_resident_count() that simply expands to 0.
2001-04-25 18:03:19 +00:00