Commit Graph

191494 Commits

Author SHA1 Message Date
pooka
eacf4402b9 Use kern_proc.c instead of a collection of stubs. But what we
really wanted from this commit was the support for proc_specificdata.

TODO: make creating a new process actually use kern_proc and
maybe even add an interface which starts a process with
"any pid you don't like"
2010-06-10 21:40:42 +00:00
pooka
51542301d2 lwp0 seems like an lwp instead of a process, so move bits related
to it from kern_proc.c to kern_lwp.c.  This makes kern_proc
"scheduling-clean" and more easily usable in environments with a
non-integrated scheduler (like, to take a random example, rump).
2010-06-10 20:54:53 +00:00
jruoho
4dc5d3cab8 A small nit from the spec: _PSW should be called after _PTS. Thus call the
wakedev routine after AcpiEnterSleepStatePrep(). Unlikely to make any
difference whatsoever, but there might always be a BIOS writer who disagrees.
2010-06-10 20:36:55 +00:00
pooka
df76692de4 regen: ksem syscalls 2010-06-10 19:10:09 +00:00
pooka
13ce287a55 rump stubs for _ksem* 2010-06-10 19:09:03 +00:00
pooka
36e68995ca smoke the smoke, hack the hack, *beep* the *beep*, _KERNEL_OPT the _KERNEL_POT 2010-06-10 19:06:26 +00:00
wiz
e2a56e055d Whitespace. 2010-06-10 18:35:22 +00:00
wiz
e1afe8ab7d Fix a typo. Bump date for previous. 2010-06-10 18:34:21 +00:00
dholland
da08c929c5 .It, not .IT. Noticed by Henning Petersen in PR 43445. 2010-06-10 17:49:32 +00:00
riz
b7916d4669 Wrap a call to tls_level_lookup() in #if USE_TLS to allow
postfix to build with MKCRYPTO=no.

OK tron@
2010-06-10 17:06:01 +00:00
pooka
b3d299c410 Catch up with whitespace changes in df.c rev 1.79 from over 2 years ago! 2010-06-10 15:44:44 +00:00
jmmv
21e717d349 Pull up revision 2f7a426c0f4149d59a7f3717ebedd6c55998e8bc from upstream:
----------
Fix detection of crashed test cases

Prevent cross-test-case contamination that occured when a first test case
passed and the second crashed.  The second could pick up the result of the
first test case and not be reported as failed.

Similarly, change the way timed out test cases are reported back to the
caller.  The creation of a temporary results file was just a really stupid
way of passing information around and introduced false positives if the
test case creates a results file before timing out.

Fixes ticket #35.
----------

Problem originally reported by pooka@.
2010-06-10 15:27:02 +00:00
macallan
3ab6a60f8f Add a couple more hw offset definitions, add an ioctl() to set colour depth
which works like Solaris and Linux, and finally make mmap() behave like an
actual CG14. This should be all we need to get Xorg's suncg14 driver going.
2010-06-10 13:21:13 +00:00
dholland
3e9fa0fcf5 sprinkle some const 2010-06-10 06:28:33 +00:00
dholland
109bd3a98e ANSIfy function declarations 2010-06-10 06:17:21 +00:00
dholland
0857145886 de-__P() 2010-06-10 06:09:10 +00:00
dholland
6ea002c7af Allow -f -, as per PR 10898. 2010-06-10 06:03:20 +00:00
dholland
4bded2208d After consultation with jdc@, apply the patch from PR 42412 even though
the crash went away -- it's not clear that it went away for any reason
besides by accident.

The change is: use calloc instead of malloc for allocating SCREENs.
2010-06-10 05:24:55 +00:00
christos
ecef0ab113 we can have ldap without crypto 2010-06-09 23:02:44 +00:00
riz
634f514ee6 Allow syslogd to compile when MKCRYPTO=no. No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.
2010-06-09 21:55:42 +00:00
tron
7da31fceb1 Take responsibility for Postfix. 2010-06-09 21:54:21 +00:00
wiz
c8599972e0 Fix a typo. 2010-06-09 21:49:41 +00:00
njoly
57c2f44456 Add missing .debug extension. 2010-06-09 21:36:45 +00:00
riz
a9adb2c9b0 If the definition of a static function is #if DES, the declaration
of it should be too.  Fixes build of ed where MKCRYPTO=no.
2010-06-09 19:20:18 +00:00
riz
ef3c6c8c55 Tag some manpages with "complex" so a build with "MKCOMPLEX=no" completes
successfully.
2010-06-09 19:06:31 +00:00
phx
16b097908c Adapted sysinst and installation docs for modern NAS boxes. 2010-06-09 17:37:23 +00:00
phx
39b0fd3abd The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.
2010-06-09 17:34:32 +00:00
dholland
c939deefa5 minor clarification 2010-06-09 17:29:15 +00:00
christos
801f2ebf67 Explain variable expansion better. Requested by Aleksey Cheusov 2010-06-09 16:58:22 +00:00
pooka
451e6b4882 Version rumpuser ABI with a lightweight mechanism. 2010-06-09 14:08:17 +00:00
pooka
4fe99aa4c5 initialize specificdata for lwp0 too 2010-06-09 13:51:02 +00:00
jruoho
d6bb1884f1 Reference aps(4) and thinkpad(4) with each other.
In aps(4) note that sensor values are refreshed every 0.5 seconds, which may
have a negative effect on battery life.

(Since the sensors are purely descriptive and no time-sensitive protective
measures are being carried out, it would probably be a good idea to remove
the whole callout(9) from the driver and let the sysmon's poll cycle take
over.)
2010-06-09 13:44:24 +00:00
pooka
53b1ac321f take care of the usual pastos invisible to the human eye 2010-06-09 13:44:22 +00:00
pgoyette
37a665ebbb Revert previous - it was committed unintentionally along with other changes. 2010-06-09 13:33:13 +00:00
pooka
c4cb78293c +test 2010-06-09 12:40:49 +00:00
pooka
7560245bb8 arbor days are here again 2010-06-09 12:38:15 +00:00
pooka
5c21ec6fa6 Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works".  For amd64, due to -mcmodel=kernel,
things are a little more complicated.  We must have the entire rump
kernel loaded in the lower 2GB.  Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there.  I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.

Also thanks to tron for access to an amd64 so that I could verify
the test works.
2010-06-09 12:35:45 +00:00
pooka
aad71fb6e2 On amd64, allocate module_map memory from the lowest 2GB. 2010-06-09 12:02:37 +00:00
pooka
3f4944e6bb Add the ability to specify a preferred address the "map anon memory"
hypercall.
2010-06-09 11:35:36 +00:00
pooka
ee5ea4a164 ``twistymount'' regression test for scenario described in PR kern/43439 2010-06-09 08:37:16 +00:00
pooka
4b8e90305c Similarly to cv_wait, fail if trying to cv_wait_sig() without threads. 2010-06-09 07:54:13 +00:00
kiyohara
854e722143 ofppc: Support Gigabit Ethernet Controller for MV64361 on PegasosII by mvgbe@gt. 2010-06-09 05:00:25 +00:00
riz
b82a6579fe Remove _PATH_NOLOGIN before reboot, as well as before exit(), to prevent
a root file system which has been marked read-only in fstab from continuing
to prevent logins after reboot.  From Ian D. Leroux in PR#43390.
2010-06-09 04:51:53 +00:00
kiyohara
58ab5c2ec0 Add mvgbe and gtpci.
Change gt devices to MI from evbppc.
2010-06-09 04:48:02 +00:00
kiyohara
5358a961b8 Indent. 2010-06-09 04:44:01 +00:00
kiyohara
2581e047dd Support MV64361 on PegasosII by gt(4).
+ Support gtpci@gt instead of pegasospci more smartly.
  + Support Gigabit Ethernet by mvgbe@gt.
2010-06-09 04:41:42 +00:00
mrg
0196355634 pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.

fixes ia64 build.  tested on amd64.  ok jruoho.
2010-06-09 04:20:10 +00:00
mrg
43b100a118 document the acorn26, i386, ia64 and vax ddb commands in both the builtin
help and in ddb.4.  fixes PR#38304, PR#38305, PR#38309 and PR#38313.
2010-06-09 02:48:52 +00:00
mrg
682fe43442 declare 'struct pci_attach_args' before it is used. fixes ia64 build. 2010-06-09 02:39:32 +00:00
kiyohara
8a73a79a6f Fix debug messages.
- s/DEBUG/GT_DEBUG/.
  - Indent.
  - The old one is 20 bits in the mask of the address register, and the
    new one is 16 bits.
2010-06-09 02:19:51 +00:00