Commit Graph

1750 Commits

Author SHA1 Message Date
petrov 9cc6a54d18 Don't attach zs at mainbus. 2003-10-31 20:10:06 +00:00
petrov 5a0a3beffd Attach zs to sbus only, current driver cannot attach to mainbus. 2003-10-31 20:06:54 +00:00
matt cf19625775 Make this compile with 32bit kernels. 2003-10-30 21:02:55 +00:00
hannken f3ce5e583f Get rid of uninitialized variable. 2003-10-28 17:37:25 +00:00
christos 239484d9e9 eliminate oldsp variable, and don't save the original sp with STACK_OFFSET. 2003-10-28 01:10:50 +00:00
kleink 91af1eaa96 #define __HAVE_LONG_DOUBLE on platforms which implement a distinct
`long double' type.
2003-10-28 00:55:28 +00:00
christos 577a829bf1 fix make -jn by adding explicit dependency of in_cksum.o to assym.h 2003-10-27 05:49:15 +00:00
christos 63b3407c02 add posix semaphores 2003-10-27 05:34:48 +00:00
christos 1293ac6b7f remove buildcontext 2003-10-27 00:16:42 +00:00
christos 382a193ff0 eliminate buildcontext, and fix siginfo delivery. 2003-10-27 00:16:24 +00:00
christos 2c67a735b8 Provide the correct trap address to userland. 2003-10-27 00:15:24 +00:00
christos 105af83a85 Fix uninitialized variable warning. 2003-10-26 19:18:16 +00:00
christos 2b104ea9cd use curproc, instead of homebrew test. 2003-10-26 19:17:41 +00:00
christos 8b88d0c462 Oops, the code that initialized pagesize was not actually used in the place
it was...
2003-10-26 19:17:10 +00:00
christos 594cf09925 Fix an uinitialized variable warning 2003-10-26 19:15:59 +00:00
christos 44cf8a09e9 Fix uninitialized variable warning. 2003-10-26 19:15:00 +00:00
christos 3684598911 Actually initialize the size that is printed in case of an error, so garbage
does not get printed.
2003-10-26 19:14:22 +00:00
christos 7553e57186 Add compat_16_machdep.c 2003-10-26 08:07:27 +00:00
christos a5d24112bb more siginfo glue 2003-10-26 08:06:56 +00:00
christos 3d54c93f8e Initial siginfo support for sparc64 (untested). COMPAT_16 sigcontext signal
delivery tested.
2003-10-26 08:05:26 +00:00
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