is
d774eeb6ea
Bring some stuff up-to-date. To be continued.
2003-09-27 21:32:12 +00:00
he
772b1d9073
Allow kernels without the haltwo driver configured to build, i.e.
...
make the driver optional by adding the haltwo attribute.
2003-09-27 21:11:21 +00:00
is
23074d4396
pregenerate grf_ultms.c, so that gspa isn't needed during kernel build
2003-09-27 20:52:59 +00:00
is
3af256db77
PPC_OEA is in std.amigappc
2003-09-27 20:51:54 +00:00
cl
2f20c17423
make gcc3's `deprecated use of label at end of compound statement' go away
2003-09-27 20:16:59 +00:00
cl
3f16119f55
Cast through (void *) to appease gcc3.
2003-09-27 20:01:58 +00:00
mhitch
28527002f8
Cast through (void *) to appease gcc3.
2003-09-27 19:34:17 +00:00
tsutsui
499f56cda2
sys__sigreturn14 -> compat_16_sys___sigreturn14
2003-09-27 17:51:42 +00:00
mrg
3942bb7a51
enable broadcom BCM4401 (bce) driver (as found on recent dell laptops)
2003-09-27 13:16:16 +00:00
tsutsui
ddc207b63e
Add options COMPAT_16.
2003-09-27 10:07:57 +00:00
matt
a8a3bf5bed
ANSIfy.
2003-09-27 04:44:42 +00:00
matt
827263a8bc
Use ksi_signo instead of _signo.
2003-09-27 03:51:54 +00:00
christos
6fc26a7684
add SIGTRAMP_VALID and gc old sigcontext <-> ucontext macros.
2003-09-27 03:14:31 +00:00
matt
60ff688f72
Define SIGTRAMP_VALID properly.
2003-09-27 00:58:32 +00:00
nathanw
4d59420344
Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
...
so that they can be used in a namespace-friendly way.
2003-09-26 22:45:41 +00:00
wiz
db579612f4
Definition, not defintion. From miod@openbsd.
2003-09-26 22:25:21 +00:00
wiz
cff5e477ad
Process has only one c. From miod@openbsd.
2003-09-26 22:23:58 +00:00
matt
6986092cfe
Add a machine-dependent SIGTRAMP_VALID macro which is used to test whether
...
a trampoline version is valid or not.
2003-09-26 22:14:19 +00:00
tsutsui
81d5d9d0f3
TAB/space cleanup.
2003-09-26 21:41:16 +00:00
christos
597d36cd65
Add needed header file.
2003-09-26 21:28:45 +00:00
christos
9eb9621f0e
fix fallout from frame to frame * conversion.
2003-09-26 21:24:34 +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
christos
a0a66e38c7
move MI stuff to the MI include.
2003-09-26 18:09:13 +00:00
christos
85d91a39fe
add catch up with const sigset_t *
2003-09-26 18:05:01 +00:00
christos
4f76392503
catch up with const sigset_t *
2003-09-26 18:04:11 +00:00
matt
fb54d529b8
Copy out the entire ksiginfo_t, not just the first word.
2003-09-26 18:00:47 +00:00
lonewolf
c8d69e8d1c
Attach haltwo on Indigo2 machines also, it reportedly works on them.
2003-09-26 16:58:06 +00:00
simonb
5c54e29374
Cast through (void *) to appease gcc3.
2003-09-26 16:02:24 +00:00
simonb
a35e8c4a16
Cast through (void *) to appease gcc3.
...
XXX1 - why does this "type-punned pointer" warning only affect little-
endian MIPS and not big-endian MIPS?!
XXX2 - too much duplicated code.
2003-09-26 16:00:28 +00:00
simonb
cff4731c81
Avoid multi-line strings.
2003-09-26 15:34:11 +00:00
simonb
091072d91a
Can't use __FUNCTION__ with string concatenation in gcc331.
2003-09-26 15:29:22 +00:00
simonb
e2c040a1f7
Don't have a label as the last part of a compound statement (fixes a
...
gcc331 warning).
2003-09-26 14:30:15 +00:00
simonb
e5be45f167
Disable pass3 DMA for now; booting a box to multi-user with root-on-nfs
...
reliably wedges during the dev_mkdb command in uvn_fp2.
2003-09-26 13:34:56 +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
simonb
1d558954a5
Add "ULL" to large constant; keeps gcc331 happy.
2003-09-26 10:34:41 +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
uwe
a8bc4b332e
Minor nit. Use more compact "device hd64461if {}" instead of separate
...
"define" and "device" lines. Ditto for hd64465if. Same ioconf.c is
generated.
2003-09-26 00:52:33 +00:00
eeh
a6192488f7
Define ksi.
2003-09-26 00:00:17 +00:00
matt
2deb8b2e7b
Deal with the constification of ksiginfo_t and sigset_t in signalling.
2003-09-25 22:22:36 +00:00
christos
ecfb034cb3
constify siginfo/trapsignal
2003-09-25 22:04:17 +00:00
christos
cfba45c856
constify sendsig/trapsignal
2003-09-25 22:00:02 +00:00
matt
9a305fca59
Use direct entry for siginfo trampoline. Deal with missing
...
legacy trampolines in a cleaner manner.
2003-09-25 21:59:55 +00:00
matt
83003b0798
Fill in ksi_code.
2003-09-25 21:58:46 +00:00
mycroft
eefae40298
Hide the use of config_interrupts() in one place.
2003-09-25 19:29:48 +00:00
mycroft
864b96269c
Modify the fdcattach() interface again, splitting it into two parts, so that
...
DRQ allocation is done earlier.
2003-09-25 19:06:19 +00:00
matt
85a83bcb92
Add COMPAT_16
2003-09-25 18:56:17 +00:00
matt
85a5f3065d
Add siginfo support for PowerPC.
2003-09-25 18:42:18 +00:00
matt
49317aa149
Remove db_onpanic check.
2003-09-25 17:36:33 +00:00
lonewolf
3111a2e6ea
Support for HAL2 audio controller attached to the HPC ASIC, found on SGI Indy.
...
The driver is not too heavily tested and only supports audio playback and
master volume setting currently.
2003-09-25 16:35:50 +00:00
pooka
a41fa163fd
iavc@pci
2003-09-25 16:00:24 +00:00
ichiro
066497ec38
add comment and delete unused definition
2003-09-25 14:48:16 +00:00
ichiro
663ccee1cc
pci bus support
2003-09-25 14:11:18 +00:00
mycroft
3d7395ab71
Update for new attach method.
2003-09-25 01:12:43 +00:00
mycroft
3e08e45a55
Fix GCC 3 barfage.
2003-09-24 11:57:44 +00:00
shige
95fa35eb8e
Delete this file because filename includes uppercase letters.
2003-09-24 11:51:19 +00:00
shige
e0a74e8b1e
Rename ibm4xxGPx_autoconf.c to all lowercase filename.
2003-09-24 11:48:18 +00:00
shige
0a36d23137
Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c.
2003-09-24 11:47:02 +00:00
mycroft
ba50df223e
Take a stab at making this compile, at least.
2003-09-24 07:15:52 +00:00
matt
9c8a5009b3
Define va_list as __builtin_va_list for GCC 3.x. Change stdarg macros
...
appropriately. (this is committed from a system run a kernel and userland
built with these changes).
2003-09-24 02:39:56 +00:00
shige
dc98452dce
Copy PCI codes for IBM405GPx from evbppc/walnut/pci/{pchb.c,pci_machdep.c}.
2003-09-23 15:30:22 +00:00
shige
03467d74b5
Add devices info for IBM405GPR.
2003-09-23 15:26:46 +00:00
shige
91be153592
Add global cpu_model variable.
2003-09-23 15:25:26 +00:00
shige
e20e959b37
Copy IBM4xxGPx specific autoconf code from evbppc/walnut/autoconf.c.
2003-09-23 15:24:15 +00:00
shige
a8dd07e005
Copy IBM4XX OpenBIOS locore.S from evbppc/walnut.
2003-09-23 15:21:58 +00:00
shige
fc29eb23bf
Add some PCI definitions listed in evbppc/include/walnut.h.
2003-09-23 15:19:05 +00:00
shige
2977d5a89a
Add IBM40x specific machdep functions.
2003-09-23 15:14:02 +00:00
shige
87f629a7b8
Add IBM405GPr PVR.
2003-09-23 15:10:05 +00:00
shige
94959351e8
Add IBM405GPx specific kernel configuration file.
2003-09-23 15:06:40 +00:00
shige
ee990c494d
Move todclock driver from evbppc/walnut/dev.
2003-09-23 15:01:50 +00:00
shige
ff6df75f63
Add on-chip IIC driver.
...
Add some definitions for IIC driver.
2003-09-23 14:56:08 +00:00
shige
9c7b98f8ce
Add new evbppc port.
...
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
2003-09-23 14:45:12 +00:00
cl
3337c2e727
move #defines back to frame.h
2003-09-23 11:33:50 +00:00
scw
6b19830ebb
Tweak register usage to shave a couple of instructions off
...
the Xscale code.
2003-09-23 10:01:36 +00:00
jandberg
bc88a03488
regen after wsmouse addition
2003-09-22 18:29:05 +00:00
jandberg
05be5081d9
added wsmouse
2003-09-22 18:23:01 +00:00
jandberg
448afe509a
add wscons support to amiga mouse
2003-09-22 18:17:30 +00:00
tsutsui
75ae5bc4d8
Count clock interrupts.
...
clock_intr() functions on sun3 are called directly without dispatchers.
XXX should use evcnt(9)?
2003-09-22 17:53:46 +00:00
tsutsui
e1e026b917
KNF a bit.
2003-09-22 17:21:51 +00:00
tsutsui
da943b106a
Remove #ifdef _KERNEL inside #ifdef _KERNEL.
2003-09-22 17:11:46 +00:00
tsutsui
4c224a510b
- replace a magic number with macro
...
- some KNF
2003-09-22 16:54:14 +00:00
cl
95bf6d89d8
SA_SIGINFO support for m68k (compat svr4)
2003-09-22 14:47:35 +00:00
cl
11af0a3c8d
SA_SIGINFO support for m68k (emul linux)
2003-09-22 14:36:42 +00:00
cl
6821f967f5
SA_SIGINFO support for m68k (compat hpux)
2003-09-22 14:35:58 +00:00
cl
bf9728e0db
SA_SIGINFO support for m68k (compat sunos)
2003-09-22 14:34:57 +00:00
cl
4169237230
SA_SIGINFO support for m68k (port specific changes)
2003-09-22 14:26:57 +00:00
cl
9289d63920
SA_SIGINFO support for m68k
2003-09-22 14:18:33 +00:00
cl
20dfd3bdde
regen
2003-09-22 14:12:29 +00:00
cl
a4186d3dd8
add COMPAT_15/COMPAT_16
2003-09-22 14:11:15 +00:00
matt
1df05a73fe
Fix GCC 3.3.1 nits.
2003-09-21 19:33:13 +00:00
matt
6bf111a80e
Fix GCC 3.3.1 nits.
2003-09-21 19:32:37 +00:00
jdolecek
7cea8a1389
cleanup & uniform descriptor owner handling:
...
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
the owner of descriptor, according to appropriate sematics
of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
pass the ioctls down to soo_ioctl() as any other ioctl
change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
matt
a57c218722
Need to remove .comment too.
2003-09-21 15:21:03 +00:00
skd
e7e68c0c6d
Backed out single step emulation.
...
Approved by thorpej@netbsd.org .
2003-09-21 15:14:51 +00:00
matt
b9d20d131e
Fix GCC 3.3.1 nits
2003-09-21 15:12:16 +00:00
matt
c280e763ef
Adapt to new wdcattach calling conventions.
2003-09-21 15:11:04 +00:00
matt
749adf24a9
Fix GCC 3.3.1 nits.
2003-09-21 15:10:05 +00:00
cl
cebad0b338
make compile
2003-09-21 14:41:33 +00:00
matt
f9188e9265
Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 14:17:13 +00:00
matt
533ad6c08b
Fix more GCC 3.3.1 nits.
2003-09-21 06:52:42 +00:00
matt
cd3cb3dc0f
GCC 3.3.1 fixes (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 06:28:37 +00:00
matt
2d54fd3a9c
Change some type-punning detected by gcc 3.3.1 to (void *).
2003-09-21 00:26:09 +00:00
matt
99c08a490f
For GCC 3.3.1, need to remove .comment too.
2003-09-21 00:19:31 +00:00
cl
65a1bc95c2
add MD part of SA/pthread pagefault handling on pc532
2003-09-20 23:44:07 +00:00
cl
6725716f10
add MD part of SA/pthread pagefault handling on mips
2003-09-20 22:50:52 +00:00
matt
200ff49b87
Use #ifdef _KERNEL_OPT around #include "opt_XXX.h"
2003-09-20 22:28:19 +00:00
matt
70060b7c61
Add multiple inclusion protection.
2003-09-20 22:26:16 +00:00
matt
e104d5f8a7
Install <hppa/mcontext.h>
2003-09-20 22:25:40 +00:00
matt
467632cd2a
Install <machine/mcontext.h>
2003-09-20 22:25:07 +00:00
igy
74003aa23a
reading MAC address from EEPROM
2003-09-20 10:11:27 +00:00
mycroft
d40837608f
1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates
...
most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
(it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
*_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
drives more quickly.
2003-09-19 21:35:56 +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
fvdl
8f8298758f
LONG_BIT should be 64. From Nicolas Joly.
2003-09-19 12:09:51 +00:00
agc
81976735fd
If we're going to reference SA variables in this file, might as well
...
include the header file to define them. From Steve Woodford.
2003-09-19 11:42:20 +00:00
cl
b826d7b216
add MD part of SA/pthread pagefault handling on powerpc
2003-09-19 00:16:34 +00:00
cl
4fb604b287
add MD part of SA/pthread pagefault handling on sh5
2003-09-18 22:40:04 +00:00
cl
0882aaed34
add MD part of SA/pthread pagefault handling on vax
2003-09-18 22:38:36 +00:00
cl
2c1366cfee
add MD part of SA/pthread pagefault handling on arm
2003-09-18 22:37:38 +00:00
cl
c32b8e7a57
add MD part of SA/pthread pagefault handling on alpha
2003-09-18 22:36:32 +00:00
skd
3736d609a5
Fix for ioapic irq routing. This fixes kern/22728.
...
Approved by fvdl.
2003-09-18 19:31:19 +00:00
ragge
3fc53f17c5
Remove ; after setrunqueue/remrunqueue macro.
2003-09-18 18:38:48 +00:00
lonewolf
b06ea56eff
Fix mistake in previous.
2003-09-18 15:01:33 +00:00
lonewolf
ae33e68d84
Correct offsets for HPC_PBUS_CHx_{BP,DP} and add HPC_PBUS_DMACTL_* definitions.
2003-09-18 15:00:26 +00:00
skd
f5c4ea935a
Added kernel support for single stepping, adapted from FreeBSD.
...
Approved by christos.
2003-09-18 05:26:41 +00:00
cl
3c10927ebe
add MD part of SA/pthread pagefault handling on all m68k ports
2003-09-17 23:17:39 +00:00
drochner
27c7714f95
syntax error in comment
2003-09-17 11:57:34 +00:00
agc
299e4a53ec
Add COMPAT_16, pointed out by Bryan Vyhmeister.
2003-09-16 21:56:00 +00:00
cl
4ba5ca7f2f
fix copy-paste oversight in MD part of SA/pthread pagefault handling
2003-09-16 19:02:51 +00:00
cl
2532f4497c
add MD part of SA/pthread pagefault handling on amd64
2003-09-16 15:49:06 +00:00
cl
fe74654bab
add MD part of SA/pthread pagefault handling on sparc64
2003-09-16 14:00:27 +00:00
cl
8c7a07f686
add MD part of SA/pthread pagefault handling on sparc
2003-09-16 13:59:59 +00:00
cl
abc609d801
add MD part of SA/pthread pagefault handling on i386
2003-09-16 13:57:47 +00:00
agc
341e8b0d1a
Add a kernel configuration file for the Jornada 728.
2003-09-16 08:22:00 +00:00
agc
497a13cc5b
Make the number of 4K DRAM pages into a CPP definition, so that it can be
...
set from a kernel configuration file. Proposed by Brett Lymn on port-hpcarm.
2003-09-16 08:18:22 +00:00
uwe
d889e9a63d
US keydesc corrections from Bryan Vyhmeister (bsd at hub3 dot net).
...
Tested by Julian Coleman <jdc@netbsd>.
2003-09-15 21:03:10 +00:00
martin
361fe6808c
Make a panic format 32bit safe.
2003-09-15 07:38:22 +00:00
simonb
9d585c89bb
Use common mips generic software interrupt routines.
...
Changes from Izumi Tsutsui, tested by Havard Eidnes.
2003-09-15 06:39:20 +00:00
ichiro
22d06d95f5
fix typo
...
#if DEBUG -> #ifdef PCI_DEBUG
2003-09-15 05:11:31 +00:00
ichiro
4be788fe81
add address decode of "PCI Configuration type 1"
2003-09-15 05:07:29 +00:00
he
ff39169476
Revert addition of rnd here; it's already present due to the inclusion
...
of the WALNUT config file, so causes a duplicate definition error here.
2003-09-14 21:49:58 +00:00
cl
a82fc36e8b
make compile: fix GCC3 check and add defflag PANICBUTTON
2003-09-14 17:13:36 +00:00
junyoung
740c1aa81e
Remove a duplicate $NetBSD$.
2003-09-14 12:59:33 +00:00
chris
27dc577349
Tidy up a couple of bits to avoid duplication within the switch.
2003-09-13 14:31:34 +00:00
chris
cfb7a98211
Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
...
SA_SIGINFO work.
2003-09-13 13:30:01 +00:00
simonb
f7e3330a08
Remove a variable that is assigned to but not used.
2003-09-13 11:12:06 +00:00
christos
280bbfe466
Set si_code for T_PROTFLT|T_USER. Pointed out by enamicode.
2003-09-12 23:20:26 +00:00
tsutsui
14b42ecf3b
Use common mips generic software interrupt routines.
2003-09-12 17:55:40 +00:00
christos
51d8c27c8d
pick up the right sigreturn symbol. we could have #define __HAVE_SIGINFO
...
instead too.
2003-09-12 16:51:04 +00:00
tsutsui
f9325594bb
Remove a redundant function declaration.
2003-09-12 15:29:48 +00:00