kleink
422697679e
* Move the definitions for types other than single-precision and double-
...
precision back to machine-dependent headers. C99 has no strict
requirement which, if any, extended-precision type `long double' must
match, and even between 80-bit formats there are differences in
implementation (m68k vs. x86).
* On arm, consider __VFP_FP__.
2003-10-23 23:26:06 +00:00
kleink
004922cd70
Don't use NULL in integer-type assignments/comparisons.
2003-10-21 12:08:11 +00:00
petrov
2ba6e4bf47
don't assign/compare integer and NULL.
2003-10-21 08:43:32 +00:00
petrov
9aefdf5971
Don't assign/compare integer and NULL.
2003-10-21 08:38:04 +00:00
petrov
688c2d65e3
Don't use NULL for integer.
2003-10-21 08:31:11 +00:00
petrov
e092522bfc
Don't use NULL for an int comparsion.
2003-10-21 08:27:20 +00:00
petrov
73c14af7a1
don't use NULL for an int initialization.
2003-10-21 08:26:31 +00:00
petrov
de7eafdbf8
don't initialize an int with NULL.
2003-10-21 08:20:15 +00:00
petrov
1176590ac1
don't use NULL for u_long initialization.
2003-10-21 08:12:46 +00:00
fvdl
7a6172fe2e
Fix NULL assignment to an integer field.
2003-10-21 01:54:23 +00:00
lukem
7d84b90c92
Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
...
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
2003-10-18 08:30:12 +00:00
petrov
b8454aaa52
cpu_getmcontext: get fsr from correct place.
2003-10-18 06:51:42 +00:00
petrov
7b20d2185b
Set CPU_UPAID when enabling timer interrupts.
2003-10-15 05:16:36 +00:00
christos
5a36293740
Make COMPAT_NETBSD32 compile again (untested)
2003-10-14 00:28:19 +00:00
christos
d0e3551301
Add mcontext32_t and friends. This is WIP.
2003-10-13 23:45:14 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
pk
46166f9be5
Simplify fpu_cleanup() by having it return a code to indicate that a SIGFPE
...
is to be posted; let trap() deal with constructing the siginfo structure.
2003-10-12 19:48:52 +00:00
pk
22813649af
Prepare for move to SIGINFO framework.
2003-10-12 19:08:17 +00:00
chs
5f8a58e4d6
cache_flush_virt() is buggy, just use blast_dcache() instead.
...
this should fix PR 23093.
2003-10-12 19:06:29 +00:00
petrov
2514d9e4f2
When establishing interrupt set CPU_UPAID in mapping register
...
so that interrupt would be delivered.
2003-10-11 20:53:14 +00:00
jdolecek
ef5bb330f5
reassing majors for crypto and pf to use the newly defined MI major
...
range
2003-10-10 22:42:39 +00:00
jdolecek
4e915c9ccd
update the comment - the space for machine-dependant majors
...
is reduced to 0-143
follows discussion on tech-kern
2003-10-10 21:21:25 +00:00
chs
d586f723fe
add a command to dump the ITSB, now that it's separate from the DTSB.
2003-10-10 15:19:09 +00:00
bouyer
ae9c3d7747
After pciide split, add cmdide and aceride to bus_class_tab[], per Martin
...
Husemann and Takeshi Nakayama requests.
XXX others IDE controller drivers needs to be added too, or a better
way of handling it has to be found.
2003-10-09 17:55:44 +00:00
bouyer
f5a6a0a843
Add new per-chip pciide drivers.
2003-10-08 11:55:43 +00:00
bouyer
a8b5ae01dc
Add atabus.
2003-10-08 11:14:36 +00:00
jdolecek
e6286b949a
Add some framework for MI assignment of device majors - add sys/dev/majors
...
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.
Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.
Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
petrov
3dd6a14153
ansify.
2003-10-03 07:50:12 +00:00
petrov
0545d82fe3
remove unused fastvec.
2003-10-01 02:01:20 +00:00
martin
d15431449a
Include <compat/netbsd32/netbsd32_exec.h> to get the proper 32bit
...
sendsig etc. prototypes.
2003-09-28 10:27:25 +00:00
martin
220f7552d7
Ansify and add missing include.
2003-09-28 10:16:41 +00:00
christos
541faba137
catch up with const sigset_t
2003-09-26 18:10:01 +00:00
christos
44f376e8fc
move MI stuff to the MI include
2003-09-26 18:09:38 +00:00
simonb
550b4bef88
Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs. Test
...
compiled on most architectures.
2003-09-26 12:02:55 +00:00
chs
592a0a8b16
in pmap_enter(), invalidate the TSBs before pre-loading the new values,
...
since we only pre-load one and the other one could be stale.
also, remove the bogus dcache_flush_page() from pmap_clear_modify() again,
since the problem it was intended to mask seems to have disappeared.
2003-09-26 03:59:33 +00:00
martin
1390611ace
Remove workarounds for bugs in the old compiler.
2003-09-19 16:35:31 +00:00
martin
29469edb22
Use -Os (now that it works) for install media.
2003-09-19 16:34:24 +00:00
cl
fe74654bab
add MD part of SA/pthread pagefault handling on sparc64
2003-09-16 14:00:27 +00:00
martin
361fe6808c
Make a panic format 32bit safe.
2003-09-15 07:38:22 +00:00
martin
313b12e0cc
Remove rnd here and add a prominent note at the top of the file -
...
this config includes GENERIC32, only additional stuff goes in here.
2003-09-10 07:14:25 +00:00
petrov
536f8085b8
Support multisegment dmamap sync, adopted from OpenBSD.
2003-09-08 17:23:15 +00:00
petrov
33d0a022bc
OF_mapintr: swizzle interrupt for PCI bridges,
...
don't process OBP interrupts, return error if interrupt is not mapped.
2003-09-08 03:33:52 +00:00
itojun
fc918f8713
add rnd(4) device to installation media.
...
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
2003-09-06 03:25:23 +00:00
nakayama
68369c646a
Wrap diag message with #ifdef DIAGNOSTIC.
2003-08-30 04:07:56 +00:00
nakayama
fd41cea78c
Use proper bus number from pci_attach_args instead of (unused) var.
2003-08-29 12:36:44 +00:00
mrg
9e599bdb11
change PROM_getprop() from taking a "void **" for the storage, to a
...
"void *", and do the extra de-reference directly in the function. this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing. testing by martin@
2003-08-27 15:59:49 +00:00
uwe
5c666394c9
Drop fbvar.h from INCS now that it's been cvs rm'ed here.
2003-08-26 11:51:13 +00:00
uwe
5efaa48bea
Framebuffer code common to sparc and sparc64 was merged and moved to
...
dev/sun 3 years ago. Remove these redundant and out-of-date copies.
All code now uses dev/sun/fbvar.h
2003-08-25 19:24:49 +00:00
uwe
86b9436205
Use dev/sun/fbvar.h instead of machine/fbvar.h (which is just an out
...
of date copy of the former).
Compile tested with GENERIC32.
Ok by Martin Husemann <martin@netbsd>.
2003-08-25 19:03:41 +00:00
uwe
bb09aff859
Undo previous as it broke things.
...
There are some scattered implicit RASTERCONSOLE dependencies,
so there should be a better way.
2003-08-25 17:50:22 +00:00