Commit Graph

36739 Commits

Author SHA1 Message Date
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
chs
c5e2454205 handle pmap_procwr() on kernel procs (MIPS1).
needed for new signal trampoline stuff.
2003-09-12 15:29:16 +00:00
tsutsui
3fad926516 Protect against multiple inclusion. 2003-09-12 15:03:24 +00:00
tsutsui
9dae7193b1 TAB/space cleanup. 2003-09-12 14:59:11 +00:00
christos
75c419ccc0 include opt_compat_netbsd.h, sort includes. Thanks yamt. 2003-09-12 12:39:59 +00:00
briggs
06ea4a681d Don't assume that we are the PCI host. Actually check, and make sure that
we set things up so that we can run either as a PCI host or as a PCI slave
(working within the PCI BARs that the system BIOS has configured for us).
2003-09-12 04:39:59 +00:00
christos
9889f06536 make sigcontext visible all the time instead of including opt_*.h from a
large number of files.
2003-09-12 01:13:35 +00:00
briggs
38da12464f We need a little more symtab space. 2003-09-11 22:52:38 +00:00
christos
2bf3634159 fix typo. 2003-09-11 20:48:35 +00:00
christos
7340db7385 Bring back sigcontext to userland by popular demand. 2003-09-11 20:22:30 +00:00
martin
346b195550 Backout previous, now that <sys/syscall.h> is fixed it's SYS___sigreturn14
again (until we convert to siginfo).
2003-09-11 19:36:29 +00:00
christos
99ee91793f make vm86 use __gregset_t 2003-09-11 19:17:07 +00:00
christos
a6540cf740 XXX: vm86 for sigcontext comment is gone. 2003-09-11 19:16:05 +00:00
christos
ab63d91442 old vm86 call with COMPAT_16 code. 2003-09-11 19:15:12 +00:00
scw
973e9cff89 Add definitions required for new in_cksum. 2003-09-11 18:58:44 +00:00
scw
877b3cbe5e Hand-optimised in_cksum/in4_cksum for ARM and XSCALE.
Contributed by Wasabi Systems, with input from Chris Gilbert,
Richard Earnshaw and David Laight.
2003-09-11 18:54:31 +00:00
kleink
d440784b30 __{BEGIN,END}_DECLS-wrap prototypes. 2003-09-11 09:40:11 +00:00
briggs
ab0f909e6e s/SYS___sigreturn14/SYS_compat_16___sigreturn14/ 2003-09-11 03:57:29 +00:00
christos
2300d30c79 delete debug printf's. 2003-09-10 21:40:02 +00:00
christos
7b176f233f sort the opt_ includes. 2003-09-10 21:38:40 +00:00
christos
5dfabd4458 Add compat_16_machdep.c 2003-09-10 19:49:47 +00:00
christos
4d5acf4941 expose sendsig_sigcontext for compat_16 2003-09-10 19:49:22 +00:00
christos
6f6f525ca6 move compat_16 stuff into a separate file. 2003-09-10 19:48:48 +00:00
grant
dc97144230 add gem and brgphy so we have ethernet on the PowerBook G4 DVI. 2003-09-10 18:06:26 +00:00
christos
f7f3566b1e #ifdef struct sigframe_sigcontext and struct sigcontext, so that only code
that really needs them, get them.
XXX1: We need to fix the vm86 api.
XXX2: We need to fix the ibcs2 signal delivery mechanism.
2003-09-10 16:48:16 +00:00
christos
0b16bf9a36 make obsolete trampoline code COMPAT_16. Unfortunately sigreturn14 is used
by IBCS2; grr.
2003-09-10 16:46:59 +00:00
christos
d0b2ede633 need opt_ibcs2.h 2003-09-10 16:46:15 +00:00
drochner
8bedb90edc in cpu_setmcontext(), check where we go, not where we are coming from,
and line-terminate a diagnostic message which was caused by that bug
2003-09-10 11:39:09 +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
thorpej
62a064e24e Bump initial kernel PTs to 4. 2003-09-09 20:42:38 +00:00
itojun
919da6bf44 have COMPAT_16 2003-09-09 07:14:01 +00:00
tron
ee3ff63574 Remove obsolete file. 2003-09-09 06:21:30 +00:00
kleink
8d633905ac Bring /* LINTSTUBs */ closer to reality. 2003-09-08 22:37:01 +00:00
petrov
536f8085b8 Support multisegment dmamap sync, adopted from OpenBSD. 2003-09-08 17:23:15 +00:00
scw
6e67b64a47 Add support for non-executable mappings. 2003-09-08 08:01:52 +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
kleink
a4909cd01e g/c byte-reversing bus_space_set_region_1() entries. 2003-09-07 22:12:05 +00:00
uwe
9f598eb5ba DOH, sparc was not doing p_userret processing in userret()!
Adding it helps SA a great deal.   E.g. ogg123 actually works now.
2003-09-07 20:41:05 +00:00
ragge
bfd142bfad Remove next_instr_address(), it's a macro. 2003-09-07 13:33:38 +00:00
tron
8cfe1dc600 Add "COMPAT_16" option. 2003-09-07 09:33:56 +00:00
manu
d13828a7dd forgotten commit for KERN_PROCARGS sysctl in COMPAT_DARWIN 2003-09-07 07:50:31 +00:00
tsutsui
8a3f779eab Fix typo. 2003-09-07 05:49:57 +00:00
isaki
bd7195dece Remove an advertising clause. 2003-09-07 04:24:05 +00:00
uwe
edee4547b6 Define 'nil' as long and remove the cast in the *only* place it's used.
Makes gcc3 happy as well.
2003-09-07 00:52:01 +00:00
uwe
f8a341efaa Drop bogus ## to make gcc3 happy. 2003-09-07 00:30:40 +00:00
christos
d5f61bb017 SA_SIGINFO changes 2003-09-06 23:15:35 +00:00
christos
66a72d2998 Add COMPAT_16 2003-09-06 22:39:23 +00:00
christos
1dc335c017 SA_SIGINFO changes. 2003-09-06 22:03:09 +00:00
kleink
1b91dce6c3 Rearrange bus_space initialization slightly, taking advantage of being
able to pass a bus_space with an extent already assigned to
bus_space_init().  This eliminates creating the extents twice, and
makes it a bit easier to read.
2003-09-06 21:07:00 +00:00
fvdl
5a759ef06c Move the bulk of pci_intr_string into a seperate intr_string function. Use
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.
2003-09-06 17:44:36 +00:00
fvdl
40b81ea5a1 If possible, put the device name of the APIC used into the interrupt string,
not "apic N". This makes it easier to match vmstat output with dmesg output.
2003-09-06 14:55:50 +00:00
fvdl
631d339e09 When establishing the ACPI SCI, make sure it's always active low (as well
as level-triggered). Do this by changing the MP config entry that was
set up for the interrupt. Do not change anything if there was an ACPI
interrupt source override, assume that this contains the correct
information already.
2003-09-06 14:38:41 +00:00
rearnsha
5d78bf50ac ANSIfy. 2003-09-06 13:34:29 +00:00
rearnsha
81594136ec irqhandler.h and related baggage now obsolete. 2003-09-06 13:01:29 +00:00
rearnsha
3a05158011 Remove include of ifpga/irqhandler.h. 2003-09-06 12:58:48 +00:00
rearnsha
9066202e72 Delete GENASSYM_EXTRAS. 2003-09-06 12:57:22 +00:00
rearnsha
b548db6846 Obsolete. 2003-09-06 12:36:29 +00:00
rearnsha
8395e3535e config option is now CPU_ARM10. 2003-09-06 11:41:11 +00:00
rearnsha
256da36a1c Switch to using generic soft interrupts. 2003-09-06 11:31:20 +00:00
rearnsha
fec013d595 Fix incorrect definition of IFPGA_SC_LBFCODE_BEN1 and missing
definition of IFPGA_SC_LBFCODE_BEN0.
Add definitions for unused interrupt bits and a suitable mask (preparation
for switch to generic soft-ints code).
2003-09-06 11:27:01 +00:00
rearnsha
333d22f36e Fix handling large values of delay when the timer might wrap. 2003-09-06 11:21:44 +00:00
rearnsha
7c9aacc774 Add bouncing support 2003-09-06 11:12:53 +00:00
rearnsha
a25a2641d9 General cleanups of the bootstrap code 2003-09-06 10:57:12 +00:00
rearnsha
b867034038 When an Integrator board has less than 256M of SDRAM fitted, the
memory that is "obscured" by the SSRAM is visible at a wrapped address.
So we can use the full amount of SDRAM in almost all cases.
2003-09-06 10:28:26 +00:00
rearnsha
15f5c8f7db Remove a verbose-boot message that kills the bootstrap (since the
console port mapping has just been moved).
2003-09-06 10:21:19 +00:00
rearnsha
0663dd6d22 The third argument to pmap_map_chunk is the pa not the va. 2003-09-06 10:18:07 +00:00
rearnsha
20b73e2b48 Add a flags field to _PhysMem structure so that we can describe
attributes of memory regions (BOOT_DRAM_CAN_DMA, BOOT_DRAM_PREFER).
Rearrange order of BootConfig members so that the describing how many
dram regions we have preceeds the descriptions of each region.
2003-09-06 10:08:13 +00:00
rearnsha
d35277ea35 Default all builds to not have debug information. Significantly
reduces disk space needed for a make release, especially if using
dwarf2 debug.
2003-09-06 10:00:51 +00:00
rearnsha
b805fdb7fa Add build-system support for ARM10. 2003-09-06 09:48:47 +00:00
rearnsha
46af0c9f17 Make sure _ARM32_BUS_DMA_PRIVATE is defined before we pull in any
include files to avoid problems with the rats nest of dependencies.
2003-09-06 09:46:37 +00:00
rearnsha
da86d47fb0 Support for initializing ARM10 processors in write-through mode. 2003-09-06 09:44:10 +00:00
rearnsha
ec2b5e2dfd Support for ARM10E class devices. 2003-09-06 09:42:12 +00:00
rearnsha
1eba58255a Support for ARM10. Extract some additional information about the
dcache so that we can have cache cleaning code that works for any
permitted arm10 cache architecture.
2003-09-06 09:31:37 +00:00
rearnsha
bb00ee6bce Add a function to read the processor cache configuation register. 2003-09-06 09:14:52 +00:00
rearnsha
637a44c215 Processor-specific operations for ARM10 class devices. 2003-09-06 09:12:29 +00:00
rearnsha
d4e1e335e8 Add support for ARM10 class processors. 2003-09-06 09:10:46 +00:00
rearnsha
a515ec698a Add processor-specific declarations for ARM10 class processors. 2003-09-06 09:08:35 +00:00
rearnsha
446ca3f32d Fix declarations of primary cache variables, so that they are
declarations, not definitions.
2003-09-06 09:04:52 +00:00
rearnsha
cfcc3a8ad4 Add support for ARM10 class devices. 2003-09-06 08:55:42 +00:00
rearnsha
e1f8618cbd Add arm1020E cpu id 2003-09-06 08:43:02 +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
dsl
fe89b1db32 Add memcmp, memcpy and memset
Fix strncmp(x, y, 0)
Use unsigned compares for strcmp and memcmp (and bcmp).
Compiles but untested
AFAICT http://h71000.www7.hp.com/doc/72final/4515/4515pro_025.html#4515ch9_146
cmpc3/5 set %r4 and %r5 to zero, It doesn't look as though the procedure
call is set to preserve these, and I doubt that gcc is treating them as
scratch registers - does our vax pcs actually have %r2 and %r3 as scratch regs?
2003-09-04 10:40:44 +00:00
matt
cec9cb32df Move CLKF_BASEPRI to machine specific <intr.h> file since it depends on
the encoding of the spl for the port.
2003-09-03 21:33:31 +00:00
ragge
ffaea276d3 Add a few more prototypes. 2003-09-03 19:35:26 +00:00
ragge
a90264a9b5 Add alloca() prototype. XXX should be somewhere else. 2003-09-03 19:35:02 +00:00
simonb
05c33c1c05 Need to set BUS_DMA_COHERENT to BUS_DMA_NOCACHE on IBM ppc4xx CPUs.
The "emac" interface now works properly again on my Walnut.  Much
thanks to Steve Woodford for tracking this down.
2003-09-03 13:30:05 +00:00
mycroft
9b3ff19873 Whoops, reenable some stuff. 2003-09-03 03:19:04 +00:00
mycroft
7929022703 Add gzboot support for SMDK2410. 2003-09-03 03:18:30 +00:00
mycroft
56cdfe0eab GC a bogus variable that was causing link failures with PCMCIA. 2003-09-03 03:17:22 +00:00
mycroft
e5168f409e Use generic versions of rr_1, wr_1, sr_1 -- some PCMCIA cards use these. 2003-09-03 03:15:02 +00:00
mycroft
f13bd83ab3 Minor tweak for some macros elsewhere. 2003-09-03 03:12:28 +00:00
mycroft
1e2b27307d Add some register definitions. 2003-09-03 03:11:50 +00:00
mycroft
b715eaff3c Recognize some TI processors -- not that you'd want to use them. 2003-09-03 02:07:07 +00:00
mycroft
a93d49837e Don't clear PCIC_INTR_ENABLE here, either -- not appropriate. 2003-09-02 22:48:30 +00:00
fvdl
ce2fedd6fb Compile in the !MPACPI && NIOAPIC case. 2003-09-02 20:10:30 +00:00
fvdl
cd1ddca4f8 Use MPBIOS_SCANPCI by default. 2003-09-01 00:35:44 +00:00
fvdl
e8769fc0a0 Update a few types and formats. 2003-08-31 23:24:04 +00:00
fvdl
60ae17c7ae Fix signed/unsigned warnings. 2003-08-31 22:40:13 +00:00
chs
ea3277f683 add a defflag for USELEDS. 2003-08-31 01:55:27 +00:00
chs
e46cb5bfce add some placeholders so we can at least build. 2003-08-31 01:28:58 +00:00
chs
b5ed452510 just include the hppa version. 2003-08-31 01:28:22 +00:00
chs
e9303b36fc disable some things that don't build yet. 2003-08-31 01:27:18 +00:00
chs
a2ffedf11f add a hack for the link set stuff. 2003-08-31 01:27:00 +00:00
chs
cc0b88792e update for LWPs, and some lite cleanup. 2003-08-31 01:26:31 +00:00
chs
c023b4180f add "makeoptions MACHINE_ARCH=..." in std.* for mips ports
where it is constant (to ease cross-building).
2003-08-30 22:44:38 +00:00
fvdl
06298770b0 Add another -DBOOT_ELF64 for amd64. 2003-08-30 20:38:58 +00:00
fvdl
2d5fec0580 Remove a lot of stuff, making it closer to the i386 INSTALL. 2003-08-30 20:09:04 +00:00
fvdl
ee4b42342e Add -DBOOT_ELF64 for amd64. 2003-08-30 18:25:07 +00:00