Commit Graph

3890 Commits

Author SHA1 Message Date
kiyohara
f269226eb8 obsolete fwiso. 2005-07-13 17:09:33 +00:00
macallan
2d61a640d4 fixed a glitch that would trigger a warning when compiled without tctrl.
Doesn't make much sense since tctrl is on the same chip but anyway.
2005-07-13 01:42:06 +00:00
christos
3e061b04ef new file 2005-07-11 13:05:33 +00:00
christos
61a46bc6b1 pass the code out of getargs, so that ktracing __syscall using syscalls
works.
2005-07-10 19:05:47 +00:00
christos
aed9aed801 - add syscall_{plain,fancy}
- make it use mi_userret
2005-07-10 17:02:19 +00:00
macallan
d091c8c1bb added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) and a couple of PCMCIA card drivers 2005-07-10 15:49:12 +00:00
macallan
8d4c3dfddd added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) 2005-07-10 15:47:37 +00:00
martin
d6c7a12fb5 Fix COMPAT_NETBSD32 ucontext padding and move the definition next to the
(sparc) original.
2005-07-10 15:44:23 +00:00
martin
ba7a82bf5c Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
2005-07-10 08:40:21 +00:00
christos
9f68247977 Turn on dhcp support. 2005-07-10 06:40:35 +00:00
tron
04b9c3437f Add (commented out) IPSEC_NAT_T option. 2005-07-07 17:05:46 +00:00
macallan
b105560197 sysmon_* attributes for device tctrl 2005-07-06 12:16:35 +00:00
macallan
2e4b899a81 forgot the $NetBSD header 2005-07-06 11:42:53 +00:00
macallan
f4a919f68e Add support for the TS102 PCMCIA controller found in SPARCbooks 2005-07-06 11:40:27 +00:00
macallan
d3e4755bf5 changed envsys support to use the sysmon API, added support for the power
button ( see powerd(8) )
2005-07-06 11:31:16 +00:00
christos
6d30dcee75 PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly
Instead of jumping to the default "bad" case, jump to the error handling
switch, so that we can deal with ERESTART/EJUSTRETURN properly.
2005-07-01 18:01:44 +00:00
drochner
996c273eda adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes 2005-06-30 17:03:51 +00:00
macallan
754d79402b Allow sparc64-style attachment of mouse and keyboard via zstty, needed for
wscons support.
Reviewed by uwe.
2005-06-30 12:07:51 +00:00
drochner
b081eee072 convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
2005-06-28 18:29:58 +00:00
rpaulo
64fd052c74 Add file-system PTYFS (commented out) so that people know its existence.
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
junyoung
17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
junyoung
600b956be0 Remove trailing spaces. 2005-06-22 16:35:58 +00:00
thorpej
86ec9c7656 Remove some unused definitions. 2005-06-19 20:31:26 +00:00
thorpej
7adddd1b69 Move common Sun3/Sun4 EEPROM definitions in to <dev/sun/eeprom.h> 2005-06-19 20:23:48 +00:00
thorpej
15adcb96b8 Move common Sun ID PROM definitions into <dev/sun/idprom.h>. 2005-06-19 20:00:28 +00:00
thorpej
6d92e51b72 - Do away with the old _SPLRAISE() template macro. Instead, provide an
splraise() inline function, and define the various spl routines in terms
  of splraise().
- Use ANSI function decls.
2005-06-19 01:54:51 +00:00
thorpej
c5e282784a Fix some whitespace. 2005-06-19 01:16:01 +00:00
hannken
e018f80e47 Avoid shadow warnings, const and __UNVOLATILE().
Kernel sparc/GENERIC.MP builds again.
2005-06-17 09:13:56 +00:00
jmc
971a01a036 Rename a shadowed variable 2005-06-16 17:04:53 +00:00
briggs
7f01fdeb84 Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
     match i386 et al.
2005-06-16 04:17:49 +00:00
matt
e1245a3c46 Rework the coredump code to have no explicit knownledge of how coredump
i/o is done.  Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o.  This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.
2005-06-10 05:10:12 +00:00
tsutsui
4e54a2cc7c - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
jdc
b8c3b4e026 Add volatile to make rtc_{g|s}ettime match todr_chip_handle_t. 2005-06-05 21:31:30 +00:00
he
aafdb08c5a Fix the various todr_gettime() and todr_settime() fallouts from
-Wcast-qual differently, by instead changing the signatore of those
"functions" to take a "volatile struct timeval*" instead of a
"struct timeval*".  Many places, these functions are called with
&time, and time is declared as volatile in <sys/kernel.h>.  This
way we can get rid of all the ugly casts which now also triggered
warnings, and caused more code to be added to work around the
problem.

Reviewed by thorpej.
2005-06-04 20:14:24 +00:00
tsutsui
d8cd8ed200 fkbyte() is in locore.s and accoring to its description it's used
only for work around unexplained transient bus errors when reading
the VME interrupt vector in vmeintr4m(), so change the prototype
declaration of fkbyte() in vmeintr4m() to appease gcc -Wcast-qual.
2005-06-04 04:59:18 +00:00
tsutsui
5304f91e7a Add const. 2005-06-04 04:40:57 +00:00
tsutsui
d922af0c4b Remove an unneeded cast to appease gcc -Wcast-qual. 2005-06-04 04:39:34 +00:00
tsutsui
b22c03af41 Fix a shadowing variable. 2005-06-04 04:35:27 +00:00
tsutsui
678f8e2213 Fix for gcc -Wshadow. 2005-06-04 04:34:49 +00:00
tsutsui
b46aab6178 - Add const.
- Remove parameter names from prototype declarations.
2005-06-04 04:34:12 +00:00
tsutsui
7b7c4cbf2d Fix for gcc -Wcast-qual. 2005-06-04 04:32:11 +00:00
martin
32c7c3a692 Sprinkle some const 2005-06-03 22:17:18 +00:00
martin
14fb304246 Rename ncpu to ncpus (as other ports call it), to avoid shadow warnings.
Sprinkle some const.
2005-06-03 22:15:49 +00:00
martin
a3c4cc0039 Rename ncpu to ncpus (as other ports call it), to avoid shadow warnings.
Sprinkle some const.
2005-06-03 22:15:48 +00:00
tsutsui
296114a214 Add const. 2005-06-03 22:06:24 +00:00
blymn
a872e97dcf Remove verified exec major, now a MI one. 2005-06-03 13:15:04 +00:00
martin
c111fbbb32 constify 2005-06-03 07:11:20 +00:00
martin
cb09c74620 constify 2005-06-03 03:58:36 +00:00
scw
8f4aee207b Declare the second arg of process_write_{fp,}regs() to be const.
This permits sh5 to continue to re-use those functions in cpu_setmcontext()
with the recent change to Makefile.kern.inc (revision 1.62).
2005-06-01 13:01:35 +00:00
martin
3829274a1e Adapt to constification 2005-06-01 03:51:58 +00:00