jdc
94f3432c06
PCI device list and interrupt mapping for JavaStation Espresso.
...
Interrupt line values from Linux sparc sources.
2006-07-02 10:14:15 +00:00
martin
e61efdcd34
Style nits from Christos.
2006-06-29 16:12:27 +00:00
martin
e7c025db82
The arguments to syscalls (struct args) need 64 bit alignment for some
...
syscalls (like mmap), and the same is true for return values (lseek).
Make both structs a union to force alignment. Thanks to uwe for helping
analyze this!
While there move the non syscall-related functions out of this file
(back to trap.c).
This makes kernels compiled with gcc4 and -Os work.
2006-06-29 15:05:06 +00:00
martin
378dec2fe2
Align the size and alignment of label_t (kernel jmp_buf equivalent)
...
with the use in setjmp/longjmp. Duh!
This makes DDB work again on sparc kernels compiled with gcc4.
2006-06-28 20:55:45 +00:00
liamjfoy
aeee5deab9
Add CARP to GENERIC kernel configs. CARP is not enabled by default.
...
ok: christos
2006-06-28 15:19:27 +00:00
jdc
4e27372d03
Add support to the 2nd stage boot loader for booting from RAID
...
partitions. We do this by checking the NetBSD label to see if the
boot partition is of type RAID. If so, we offset reads from the
disk so that the kernel image can be read.
Note that with this code, sun4 machines (with PROM monitor) will only
boot from RAID if the RAID partition is the first one on the disk.
Tested on a SPARCstation 20, a SPARCstation 2 and a 4/330.
2006-06-20 05:41:59 +00:00
uwe
414eb19c42
Nothing in this file needs <sys/time.h>
2006-06-14 19:56:49 +00:00
uwe
7132388a3f
Get strcpy prototype from libkern.h, not string.h
2006-06-14 19:46:46 +00:00
kardel
09b51ec920
convert to timecounters (from branch simonb-timecounters)
2006-06-07 22:37:14 +00:00
mrg
4d86687f13
when casting to assign to a u_char pointer, use (u_char *) not (char *).
2006-05-20 07:08:26 +00:00
mrg
433f408f95
struct filesystem is now struct fs_ops, since i don't know when.
2006-05-20 07:07:40 +00:00
yamt
28e8a16825
include kauth.h for kauth_cred_geteuid.
2006-05-15 12:35:15 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +00:00
skrll
4fb473c54c
Fix some comments.
2006-05-12 06:01:02 +00:00
mrg
cec5302033
don't shadow the kernel's devsw unnecessarily.
2006-05-11 00:48:44 +00:00
skrll
a9f4c28a3d
Fix a bunch of cast lvalues.
2006-05-10 06:24:02 +00:00
yamt
1468e19297
implement splraiseipl() for sparc.
...
reviewed by Martin Husemann.
while i'm here, use macros for some MD constants (eg. IPL_ZS)
as suggested by Havard Eidnes.
2006-05-04 12:21:18 +00:00
blymn
10df330c85
Prefix iostat structure elements with io_
2006-04-20 12:13:51 +00:00
drochner
1168954c68
adjust comments for the new location of wskbdmap_mfii.c,
...
addresses PR kern/33290 by henry nelson
2006-04-19 10:31:44 +00:00
blymn
3c0adb7d99
Make i/o statistics collection more generic, include tape drives and
...
nfs mounts in the set of devices that statistics will be reported on.
2006-04-14 13:09:05 +00:00
cherry
93447d7ac4
closes: PR kern/32359
...
modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.
Patch from cherry@mahiti.org
2006-04-01 15:45:00 +00:00
cube
473e9e89bf
Add the netbsd32 MD bits for sparc64 and amd64 to support SA.
...
Many thanks to all who helped for that little project, notably Martin
Husemann for teaching me a bit about the very special sparc64 world.
2006-03-29 23:07:49 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +00:00
pavel
dc1372c547
Add stf to all kernel configs which have INET6 and gif, except the INSTALL
...
ones and those for specific machines of developers. PR 32304.
OK'ed by rpaulo.
N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
drochner
47fbb9d86b
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument
2006-03-15 18:12:02 +00:00
macallan
934c5059a7
add commented out DBRI_* options
2006-03-09 20:58:40 +00:00
macallan
494a6eb736
default to sun terminal emulation, add DBRI_* options and comments
2006-03-09 20:58:00 +00:00
lukem
a1f606d3fd
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
...
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
macallan
d443f196f2
report lid and AC power state to sysmon
2006-03-08 01:17:49 +00:00
macallan
c415b408ad
switch to wscons
2006-03-07 18:57:40 +00:00
thorpej
61dd49d3bc
Syscall debug tracing is handled by trace_enter() / trace_exit(). Change
...
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.
2006-03-07 07:21:50 +00:00
thorpej
be8b235384
Clean up fallout proc_is_traced_p() change:
...
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
about KTRACE and SYSTRACE, but do no more.
2006-03-07 03:32:04 +00:00
macallan
7d93c08c77
- use a lock to serialize tadpole_request()
...
- add a callback to signal monitor detection on the external VGA port
- don't call tadpole-request() in interrupt context
- use a kernel thread for various not time-critical work like device
monitoring, LCD status updates, external event handling and so on
(the monitoring stuff is preliminary and to be replaced by a more generic API)
2006-03-06 21:43:29 +00:00
christos
beea4fc3fa
Add a proc_is_traced_p() macro and use it, instead of copying the same code
...
in many places. Idea from thorpej.
2006-03-05 19:08:38 +00:00
christos
a4495f4cec
implement PT_SYSCALL
2006-03-05 07:21:37 +00:00
uwe
8ea3cb44c6
De-__P.
2006-03-04 03:39:02 +00:00
uwe
5ed1df536e
s/u_intN_t/uintN_t/
2006-03-04 03:03:31 +00:00
uwe
6e4f5eb548
s/u_intN_t/uintN_t/
2006-03-04 02:56:21 +00:00
thorpej
4a6eb41916
Use device_is_a() even more.
2006-02-28 06:30:35 +00:00
thorpej
4a9a30ddf2
Use device_is_a() more.
2006-02-27 02:53:33 +00:00
thorpej
b81a24a297
Use device_is_a().
2006-02-26 05:36:15 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
wiz
1ad8067cb3
Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
...
forwarded by jmc@openbsd.
2006-02-25 00:58:34 +00:00
thorpej
458b3e43f7
Use device_parent().
2006-02-23 05:37:46 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
macallan
e8b8a792b0
use local junk variables instead of a global one
2006-02-08 22:17:18 +00:00
macallan
cd280be65a
add a junk variable to keep empty reads from getting eliminated.
...
Fixed panic in timerattach_msiiep()
2006-02-08 17:56:55 +00:00
chs
24b808d88e
reduce MAXSSIZ to 32 MB, like most other ports. fixes PR 30918.
2006-02-07 16:55:31 +00:00
cube
6ff13154dd
Remove 'count' argument for pseudo-devices that ignore it
...
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00