Commit Graph

148206 Commits

Author SHA1 Message Date
kardel
8830115a72 add microuptime.9 (from FreeBSD) for timecounters 2006-06-24 08:47:19 +00:00
kardel
fd0e890da3 include timecounter.9 description 2006-06-24 08:32:17 +00:00
kardel
363372b781 add description for geodecntr 2006-06-24 08:27:16 +00:00
kardel
6c4fd9dde2 import timecounter interface description
from FreeBSD (time.9)
2006-06-24 08:22:46 +00:00
wiz
abefac52de Use Dv for a macro; new sentence, new line. 2006-06-24 07:57:07 +00:00
garbled
1880a81bca Switch powerpc to gcc4. Confirmed working with prep and macppc ports. 2006-06-24 06:35:54 +00:00
mrg
75b15aa60b note sun2 -> GCC4. 2006-06-24 05:44:34 +00:00
mrg
8700cb85b1 introduce a new CXXADDFLAGS and use it to pass CPPFLAG_ISYSTEMXX to
configure.  also, clean up this a little more to make mknative-gcc
work on GCC3 again, while fixing some breakage in the last couple
of revisions.
2006-06-24 05:29:03 +00:00
perseant
1c57171fe3 Change LFCNWRAP{STOP,GO} to make them more suitable for snapshotting; in
particular, the caller can now choose whether to wait for the condition
to be met, and if the caller of LFCNWRAPSTOP dies or otherwise closes
the descriptor, the filesystem is started again.  Updated the ckckp
regression test to use the new semantics.

dump_lfs(8) now uses the fcntls to implement LFS-style snapshotting through
the -X flag, addressing PR#33457 albeit not using fss(4).  Fixed a couple
other problems with dump_lfs that manifested themselves during testing.
2006-06-24 05:28:54 +00:00
mrg
212755b9af also grab ${_extravars} for GCC4 in the get_gcc() function. 2006-06-24 05:26:50 +00:00
mrg
157b90ce05 switch sun2 over to GCC4. however, turn off profiling for sun2 since
GCC4 generates bogus code when calling mcount().
2006-06-24 05:24:56 +00:00
mrg
8075fe8705 don't put the bpendtsleep handy breakpoint in sun2 kernels as the
output asm includes it twice causing multiply-defined symbols.
2006-06-24 05:23:06 +00:00
mrg
9bf1d4a9b8 work around some GCC4 internal problems on m68000 platform.
document the hack, and update another GCC4 list.
2006-06-24 05:21:11 +00:00
mrg
a1299d95e9 default MKISCSI to yes. 2006-06-24 05:16:32 +00:00
mrg
2ed89a9707 add support for MKISCSI=no. 2006-06-24 05:14:01 +00:00
mrg
17c4e47817 need <stdlib.h> for exit(3) prototype. 2006-06-24 05:12:13 +00:00
mrg
e8ffedc44b add support for MKISCSI=no. 2006-06-24 05:11:40 +00:00
gendalia
109f1d8570 Add yet another broken 160GB seagate drive. Mine. ST3160021A. 2006-06-24 04:49:40 +00:00
tsutsui
f2e4550a60 Implement separate statclock(9) handler which uses the MIPS3 CPU INT5
internal timer compare register. Based on hp300 and arm implementation.

This is enabled by options ENABLE_INT5_STATCLOCK, but disabled by default.
2006-06-24 04:00:21 +00:00
tsutsui
2a8a21a021 Misc minor cleanup for arc interrupt handlers:
- always enable options MIPS3_ENABLE_CLOCK_INTR and just clear the compare
  register in cpu_intr() to make CLKF_BASE() works
  properly
- prepare only possible number of cpu_inttab
- use macro for interrupt priority number passed to arc_set_intr()
  to avoid confusion
- merge arc_hardware_intr() into cpu_intr()
- check independent timer interrupt first in cpu_intr()
- tweak MIPS_SR_INT_IE before calling hardclock timer handlers so that
  spllowersoftclock(9) will be invoked properly in hardclock(9)
- reenable interrupt for timer in cpu_intr() rather than each timer handlers

okay'ed by soda.

Note the real fix is to make CLKF_BASE() check all independent
interrupt sources including jazz and isa devices.
2006-06-24 03:50:38 +00:00
tsutsui
648df6ea96 Pass sed command path to asm2gas via environment
rather than arg. ok'ed by gdamore.
2006-06-24 03:28:42 +00:00
kent
8bbeab641c custom mixer table for CMI9880
PR#33787
2006-06-24 02:20:54 +00:00
kent
f6686d8a2d DAC&ADC group for CMI9880
PR#33787
2006-06-24 00:33:44 +00:00
kent
f7aa5ababf If the encoding of an audio converter is 0, refers
the audio function node.  CMI9880 0.2 has such ADCs.

PR#33787
2006-06-24 00:15:22 +00:00
christos
c3f054968d new cvs. 2006-06-23 22:49:50 +00:00
christos
9f7792294c Reflect reality so I don't get confused on the next import [like I did this
time and imported on the wrong vendor branch!]
2006-06-23 22:45:40 +00:00
christos
831d7fa82a merge conflicts.
XXX: hack configure so that it works with the removal with the tools and
other os's. Perhaps in the future we should not do such cleanup.
2006-06-23 22:44:10 +00:00
christos
88d4285ac6 ftp ftp.gnu.org:/pub/non-gnu 2006-06-23 22:25:51 +00:00
christos
eca8e4793c mention which ports switched to gcc4. 2006-06-23 22:05:24 +00:00
christos
5ec62d9961 add SSTO 2006-06-23 22:03:18 +00:00
christos
d150ecb1e1 add HAVE_GDB transitional build variable. 2006-06-23 21:51:42 +00:00
christos
e4cfbd8bf1 - switch arm, armeb, i386, sparc, sparc64, x86_64 to gcc4
as discussed with gimpy and phone.

- add glue for gdb-6 build
2006-06-23 21:51:02 +00:00
christos
7173cfeec6 remove useless genop 2006-06-23 20:54:21 +00:00
bouyer
14349e5550 For internal types call kernfs_default_xread() directly, as no entry in
the splay tree has been added for these types. Fix kern/33797 by
Geoff C. Wing.
While here also fix writes the same way (probably broken for 2 years),
and properly implement KERNFS_XREAD.
The IPsec code could probably be moved out now, and use kernfs_alloctype().
2006-06-23 20:30:11 +00:00
drochner
9d26b198b5 remove dependency on "agr" to make "struct ifnet" independant of the
kernel configuration, avoids kernel/userland mismatches, ok by christos
2006-06-23 19:02:51 +00:00
mrg
5378eb2368 factor out the unwind.h building code. use it for libgcc itself (needed
when there is no libgcc_s.)

add dependancies for the generated arch/defs.mk to optionlist.
2006-06-23 17:27:08 +00:00
christos
e9b01fa061 Make these weak as Matthias Drochner pointed out. 2006-06-23 17:15:18 +00:00
drochner
d02011e188 set NTP_KEYSDIR to "/etc/ntp" so that the crypto/autokey/leapseconds stuff
works as before
2006-06-23 16:58:58 +00:00
bouyer
82722a8d91 Backout previous: of course the change
"Allow optional /kern regular files to have custom read methods..."
works, it's used by Xen.
2006-06-23 16:26:59 +00:00
drochner
99f30cd9d2 add a comment telling which structure members are zero-initialized,
as requested by YAMAMOTO Takashi
2006-06-23 16:17:23 +00:00
kent
f519fc40b7 add some constant macros for unsolicited response and jack sense 2006-06-23 15:49:28 +00:00
christos
c8ee2595ab PR/33797: Geoff C. Wing: kernfs files are not supplying information
Roll back the change:
    'Allow optional /kern regular files to have custom read methods...'
which does not work.
2006-06-23 14:59:40 +00:00
yamt
e408053d1b fix a simonb-timecounters regression.
the precision of getnanotime() is not suitable for file timestamps.
esp. when it's nfs-exported.

- introduce vfs_timestamp().
  (the name is from freebsd.  currently merely a wrapper of nanotime())
- for ufs-like filesystems, use it rather than getnanotime().

XXX check other filesystems.
2006-06-23 14:13:02 +00:00
mrg
9dcea3dbff add GCC4 mknative files for sun2. seems to build ok.. 2006-06-23 07:48:45 +00:00
garbled
17ca05a76f 1) Modify pnpbus attachment code to properly decode pnp memory range packets.
2) Modify pnpbus attachment code to record the chipid of the device if it
   has one.
3) Change the clock probes to use the chipid, rather than relying on
potentially untrustworthy subtype and interface.
4) Add decoding of memory ranges to the RESIDUAL_DUMP code.
5) Add a we@pnpbus device to allow netbooting and root device detection
from an IBM we ethernet.  (it will only work if your firmware detects it)
6) Because I moved the pnpbus probe to occur prior to pci and isa, it
screwed up the root device detection and firmware path building code.
Completely rewrite the fw-path detection code to deal with this.
2006-06-23 03:08:41 +00:00
christos
e07adf704d PR/33794: Arnaud Degroote: Wiconfig is broken in current. I broke it with
the previous set of stack changes.
2006-06-22 21:53:37 +00:00
christos
ab7ad9579e PR/33392: Aleksey Cheusov: Incorrect matching due to hard-coded limit in
number of states. Adapted from patch supplied.
2006-06-22 21:25:14 +00:00
mrg
0a294bff2f oops, powerpc64-netbsd should not include rs6000/netbsd.h. 2006-06-22 21:14:04 +00:00
mrg
1167183c92 make powerpc64 use GCC4. the first GCC4 platform!
add mipsel and mipseb to the list of platforms that could have GCC4
but not done yet.
2006-06-22 20:13:14 +00:00
mrg
1e5c7c79bc initial powerpc64-netbsd GCC configuration. this is only very minimally
tested and is not nearly ready for general use.

based on the 64 bit linux and 32 bit netbsd configurations.
2006-06-22 20:05:44 +00:00