Commit Graph

198058 Commits

Author SHA1 Message Date
pooka 5191458a1c hijack libc-internal name for lseek so that libc-internal callers
go to the right kernel too.
2011-02-18 19:27:06 +00:00
tsutsui 2ba8a55cfa Use aprint_normal(9) and variants. 2011-02-18 19:15:43 +00:00
tsutsui d37f017885 Make local functions static. 2011-02-18 19:15:06 +00:00
drochner bbd82ed172 sprinkle some "const", documenting that the SA is not supposed to
change during an xform operation
2011-02-18 19:06:45 +00:00
drochner 0f13d3ab4b fix misinterpretation of REX prefixes where use of the accumulator
as operand is hardwired into the instruction code,
mostly from Wolfgang Stukenbrock per PR port-amd64/44405
2011-02-18 18:00:52 +00:00
jruoho 5f9b9b3433 Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI
for pointing this out.
2011-02-18 17:34:22 +00:00
jruoho 95a56e1be2 Provide ACPI_CAST_PTHREAD_T(x). 2011-02-18 17:31:14 +00:00
jruoho eb474d132b Revert previous. 2011-02-18 17:26:07 +00:00
matt 7f0a223c71 Move powerpc_mmap_flags since pmap.c can get compiled multiple time resulting
in multiple defintions of powerpc_mmap_flags.
2011-02-18 16:40:50 +00:00
pooka 4674f09289 I think I skipped the class where they taught that multiplication
is done before addition...
2011-02-18 16:22:10 +00:00
drochner e790ebf12c do proper statistics counting for outbound packets, fixes PR kern/30182
by Gilles Roy
2011-02-18 16:12:26 +00:00
drochner a301ba8826 deal with IPv6 address scope, so that SA lookup for
link-local addresses works
(PR kern/43071 is related, but refers to KAME IPSEC)
2011-02-18 16:10:11 +00:00
pooka f836d17195 Improve isrmt() check: it cannot be a rmt fd if there are no pipes
open for the fd.  Prevents collision with rumphijack.

Also, prevent potential hyperspace memory access.

Does someone want to write tests for this facility?
2011-02-18 16:10:09 +00:00
tsutsui ad086f710d sgc takes slot, not scode. 2011-02-18 16:06:20 +00:00
tsutsui 58fe5c22a9 Add definitions for stream methods. 2011-02-18 16:05:22 +00:00
tsutsui 1c458de26a Make local functions and variables static. 2011-02-18 16:02:48 +00:00
bouyer e09a28661e Initialize error in snapshot_expunge(); if the list is empty error would
be returned uninitialized. t_snapshot_v2 was failing for me when
librumpffs was compiled DGB=-g.
No idea why gcc didn't catch this ...
2011-02-18 14:48:54 +00:00
pooka c0f2e1965c block cross-kernel rename in the other direction also 2011-02-18 14:44:46 +00:00
pooka ff90450826 fix rename 2011-02-18 14:33:11 +00:00
jmcneill 9dca98e3b3 add via_dmablit 2011-02-18 14:26:52 +00:00
jmcneill 7f1c70f60c add drm_sman, drm_mm, drm_hashtab 2011-02-18 14:26:40 +00:00
jmcneill 4add633a5d sync viadrm with FreeBSD, big new feature is AGP DMA and PCI DMA support 2011-02-18 14:26:09 +00:00
pooka b8883bd5ec uhm, put PF_LOCAL on the socketlist 2011-02-18 14:25:04 +00:00
jmcneill 3836fe16df call vcons_hard_switch to switch to the console screen when entering polling
mode, makes ddb-from-X work with genfb on x86
2011-02-18 13:56:58 +00:00
jmcneill a1001814e2 add vcons_hard_switch, for switching w/o callouts (eg. entering ddb) 2011-02-18 13:56:11 +00:00
jruoho 53d29cc6c2 A small cleanup for the previous; use kmem(9), add assertions, etc. 2011-02-18 13:56:03 +00:00
hannken 6b3add8f17 Adjust previous: set the dealloc soft limit to half hard limit. 2011-02-18 13:24:40 +00:00
pooka 051ff4a0eb hfs 2011-02-18 13:08:41 +00:00
pooka 7e9c3f5ca7 Add test case for /->: conversion from PR kern/44523 by
Taylor R Campbell.

I adjusted the test to uudecode + bunzip2 the supplied image, and
removed the "null-finder" from the dirent code, since it had an
off-by-one which made the test fail.
2011-02-18 13:07:54 +00:00
pooka 0e29006e71 give the signmonkey a banana 2011-02-18 13:04:52 +00:00
jruoho d47b7e1166 Cast pthread_self(3) to uintptr_t. ACPICA 20100915:
The ACPI_THREAD_ID type is no longer configurable, internally it is now
always UINT64.  This simplifies the ACPICA code, especially any printf
output.  UINT64 is the only common data type for all thread_id types across
all operating systems.  It is now up to the host OSL to cast the native
thread_id type to UINT64 before returning the value to ACPICA (via
AcpiOsGetThreadId).  Lin Ming, Bob Moore.
2011-02-18 13:01:22 +00:00
pooka c89b586dc4 Document .Ev RUMPHIJACK 2011-02-18 12:22:46 +00:00
pooka 45c58b6c6a Use the env variable RUMPHIJACK to specify what facilities should
be hijacked.  If it's not specified, the default is
"path=/rump,socket=all:nolocal".

So, if you're moof and want to relive your domain/os days (??),
you can do this:

pain-rustique:51:~> setenv RUMPHIJACK 'path=//'
pain-rustique:52:~> df //dev
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
rumpfs                1          1          0 100% /
pain-rustique:53:~> df /dev
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
/dev/wd0a       1019864     280640     688232  28% /
2011-02-18 11:41:32 +00:00
drochner 50ee89e031 address the obvious byteorder and alignment problems in gzip size/crc
tail, should fix PR kern/44210 by Wolfgang Stukenbrock
being here, fix a bug in crc calculation of decompressed data, and
actually verify the crc
2011-02-18 10:50:56 +00:00
drochner f376d5576a make this build w/o HAVE_CPU_UAREA_ROUTINES 2011-02-18 10:43:52 +00:00
pooka 090a5e7d74 Use "host" instead of the slightly more cryptic "e" to indicate
that the size of the mapping should be taken from the host file
size.
2011-02-18 09:54:03 +00:00
hannken 28125a4542 Revert rev. 1.101. Dead snapshots would hang around until unmount.
Adresses PR #44568 (WAPBL doens't play nice with snapshots).
2011-02-18 08:39:13 +00:00
jruoho 1ce01ed2f8 Remove the (debug) check that evaluated whether the first T-state (i.e. the
100 % duty cycle) had control value of zero, as in the IA32 clock modulation
MSR. As the access may be based on I/O, it is unclear if a strict validation
like this was correct. Should fix the problem reported by Hisashi T Fujinaka
on current users.
2011-02-18 07:00:05 +00:00
jmcneill 88c6140601 get rid of this stale copy of via_drv.c, the one we want is in bsd-core 2011-02-18 02:52:42 +00:00
jmcneill 3d85f4c008 get rid of #ifdef __FreeBSD__ sections
use ioconf & add a module dependency on "drm"
2011-02-18 02:00:36 +00:00
jmcneill 6c4919473a add panic.kmod, an easy way to trigger a panic. takes a 'how' argument
to specify how to trigger the panic:
 modload -s how=panic panic.kmod   <-- just calls panic()
 modload -s how=nullptr panic.kmod <-- null ptr deref
if how isn't specified, it defaults to 'panic'. feel free to add more.
2011-02-18 01:07:20 +00:00
jmcneill a58d526ab8 Add rc.d script to make sure the system fontconfig cache is up to date. 2011-02-18 00:42:20 +00:00
jmcneill a22e191681 Get rid of stray /usr/X11R6 references 2011-02-17 23:50:18 +00:00
jakllsch 1ed4f910c6 Add the RS880 device IDs to radeondrm(4). 2011-02-17 23:21:53 +00:00
joerg cf66e7150e Simplify. 2011-02-17 22:03:25 +00:00
jym 8f518fe536 Add DDB_COMMANDONENTER="trace;show registers" to Xen kernels; amd64
does it already, and it is helpful for debugging under Xen anyway.
2011-02-17 22:00:36 +00:00
christos 392bc55180 revert bad whitespace change. 2011-02-17 21:15:31 +00:00
joerg 61338aa107 Revert 1.34 now that clang supports .pushsection / .popsection. 2011-02-17 21:06:26 +00:00
christos d81253387e Need pcu.h unconditionally. 2011-02-17 21:02:26 +00:00
christos 918812300b don't include things twice. 2011-02-17 20:55:01 +00:00