Commit Graph

198603 Commits

Author SHA1 Message Date
tsutsui
583dd3463f Fix comment mangled in rev 1.142 back in 2002. 2011-02-24 15:25:07 +00:00
tsutsui
09e3378c30 Check and update intc_cause on each iteration of interrupt handler loop.
Fixes silent hang during SCSI probe.
2011-02-24 14:40:43 +00:00
christos
0040aced9a define the format as a constant so that we don't break if sprintf is a macro.
XXX: make it so that sprintf is not a macro.
2011-02-24 14:33:23 +00:00
pooka
8c15d641b0 Fix static fallback path. 2011-02-24 14:22:04 +00:00
jruoho
bddaaa8cda Add viac7temp(4). 2011-02-24 14:20:28 +00:00
jruoho
e61737f29d Build glue for viac7temp(4). 2011-02-24 14:08:51 +00:00
jruoho
db31212b02 Move VIA_C7TEMP to the cpufeaturebus. 2011-02-24 13:58:39 +00:00
jmcneill
4c82088c6b add support for Family 14h (AMD Fusion) 2011-02-24 13:19:36 +00:00
pooka
b8eb9b59e8 Make the rumphijack dlsym trampoline call from rumpclient a "real"
function call instead of a call through a function pointer.
Apparently powerpc ld.elf_so gets __hackish_return_address() wrong
if the call is done through a function pointer (digging deeper into
that stuff is beyond my interest).

Thanks to riz for providing access to a macppc for debugging.
Unthanks to the broken toolchain in the default installation which
wasted approximately 4 hours of time last night.
2011-02-24 12:25:44 +00:00
jruoho
58723282b7 Update. 2011-02-24 11:33:41 +00:00
jruoho
dd9ae14c20 Xref powernow(4). 2011-02-24 11:31:06 +00:00
jruoho
4fcecccfb5 Add powernow(4). 2011-02-24 11:29:45 +00:00
jruoho
b365a799cf Add build glue for powernow(4). 2011-02-24 11:22:34 +00:00
pooka
33ee52c7dc make DEBUG compile without RTLD_DEBUG 2011-02-24 10:58:54 +00:00
jruoho
ad932f2c35 Move PowerNow! to the cpufeaturebus. 2011-02-24 10:56:00 +00:00
pooka
8a56601b8f +tests 2011-02-24 10:30:03 +00:00
pooka
f89c56e204 new testdirs 2011-02-24 10:29:04 +00:00
pooka
ca626b1df7 Add tests to check "cc" can compile a working hello world.
(this test fails at least on riz's macppc)
2011-02-24 10:24:23 +00:00
pooka
e1463ae3cd Die with a sensible error message if a symbol cannot be found. 2011-02-24 09:52:34 +00:00
hannken
05e91bfee8 fss(4): Allow FSSIOCSET to set the initial flags. Add a new flag
"FSS_UNLINK_ON_CREATE" to unlink the backing store before
        the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).
2011-02-24 09:38:57 +00:00
skrll
312d24df76 Get sr4 in cpu_getmcontext.
hi joerg.
2011-02-24 08:59:22 +00:00
skrll
04cc8d36f4 No need to save CR_TLS twice in the DDB case.
hi joerg.
2011-02-24 08:57:39 +00:00
mrg
a13125298e adjust for libXext.so minor bump. 2011-02-24 08:52:59 +00:00
mrg
11e92b14ec blast_dcache() does the right thing for MP or !MP, so just use it. 2011-02-24 08:42:30 +00:00
pooka
c97bdaa639 in reconnect, ignore any all reconnect messages 2011-02-24 08:40:06 +00:00
mrg
d507ad9bb4 build Xge now that it builds, bump the minor. 2011-02-24 08:18:40 +00:00
mrg
3706e3a97f libxcb depends upon libXau. 2011-02-24 08:15:13 +00:00
mrg
cba6b56402 change "int pipe" into "unsigned int pipe". 2011-02-24 08:02:55 +00:00
mrg
310cb41fcc convert all crtc values passed in from userland to be unsigned instead
of signed.  there's still some more internal to the i915 driver that
should be converted.

tested on a radeon x1550.
2011-02-24 07:59:44 +00:00
jruoho
a95aa984dc Remove ENHANCED_SPEEDSTEP. 2011-02-24 07:51:16 +00:00
jruoho
a171382fd5 Also check CPU vendor in the match-function. 2011-02-24 05:14:58 +00:00
jruoho
e54ba5b4d0 Add cpufeaturebus and est(4) for Xen. 2011-02-24 04:42:54 +00:00
joerg
1631a78097 Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
2011-02-24 04:28:41 +00:00
macallan
d78d6ba2bb add a hack to allow mapping the video memory portions of a mach64's aperture
with BUS_SPACE_MAP_PREFETCHABLE
This probably needs to go in its own function to avoid more clutter when adding
more hacks.
tested on macppc
2011-02-24 03:37:02 +00:00
jmcneill
e816b5f7a6 Don't error out while searching for empty directories, from FreeBSD:
http://lists.freebsd.org/pipermail/svn-src-head/2010-December/022913.html
2011-02-24 02:55:18 +00:00
matt
9edbe15fd8 make sure to define _UC_MACHINE32_PAD 2011-02-24 00:40:09 +00:00
matt
4d029fbb4d Regen. 2011-02-24 00:33:44 +00:00
matt
e6d2f48082 Add RT3090 2011-02-24 00:33:17 +00:00
mrg
eef460d389 move libxcb earlier than libX11, which now wants to link against it. 2011-02-23 20:03:58 +00:00
pooka
56905440b6 .Xr rump_sp 7 2011-02-23 19:59:18 +00:00
pooka
edac4b359f duh, remember to cvs add hijack.h too...
from pgoyette
2011-02-23 18:18:24 +00:00
dyoung
062b9b2f31 Initialize blkno to 0 right before the snapblkaddr() call that GCC does
not understand so that if ffs_copyonwrite() sprouts a new code path that
does not initialize blkno, the compiler has the chance to reveal it.
2011-02-23 17:05:33 +00:00
pooka
2486194718 some tests for mv(1) 2011-02-23 16:38:08 +00:00
dyoung
b9ac9d0f72 Correct device_t/softc split and, while I am here, delete commented-out
code.  Patrick Welche says that this patch fixes the problem that he
reported on current-users@.

BTW, sc_dev is initialized in radioattach(), but I do not see where it
is used.
2011-02-23 16:20:30 +00:00
pooka
7e61a6ce53 Return value audit: properly set errno and return -1.
Fixes at least cross-kernel mv(1).
2011-02-23 15:44:38 +00:00
pooka
2350034b27 +access(2) 2011-02-23 15:29:21 +00:00
pooka
247a92b203 Put the dlsym-from-this-object trampoline into a separate source
module which is compiled -fno-optimize-sibling-calls instead of
trying to fool the optimizer in various ways in the trampoline.

thanks to yamt for the tip
2011-02-23 15:23:15 +00:00
pooka
7250454e0e +tp 2011-02-23 13:03:32 +00:00
pooka
9f3340d97a simple vfs tests (mount ffs, cp/pax files there, un/remount,
check with diff)
2011-02-23 13:01:57 +00:00
jruoho
53288e678f Update compatibility notes. 2011-02-23 12:38:47 +00:00