Commit Graph

205628 Commits

Author SHA1 Message Date
joerg 9b296e99bc Decouple clang and gcc handling a bit. Add -Wmissing-noreturn for clang
builds. GCC complains about about non-void functions not returning,
which is quite a bit more bogus, so don't enable it for that.
2011-09-20 09:11:06 +00:00
joerg 39079c5f77 Explicitly add back __resumecontext wrapper 2011-09-20 08:42:29 +00:00
macallan 0d5dedcda8 support ioctl(WSDISPLAYIO_SVIDEO) and friends so wsfb can turn the backlight
off
2011-09-20 06:15:02 +00:00
macallan 28bedf5b5c wait after twiddling the gpio to power down, it takes a few seconds for it to
take effect. Without this we would run into gdium_reset() and reboot instead
of powering down.
2011-09-20 05:57:11 +00:00
macallan 4c830aa5a1 call gdium_cnattach()
Now this actually boots on Gdium.
2011-09-20 05:51:34 +00:00
macallan 124ba080d4 make this work with NCOM == 0 2011-09-20 05:50:17 +00:00
macallan 6a69241322 move the early console code over from ../gdium
This is kinda hackish but it works and it's not like there will be new Gdium
revisions anyway.
2011-09-20 05:41:58 +00:00
mrg ac21230aad makefile to build libgomp, as needed by "gcc -fopenmp".
needs a full mknative-gcc run before it can be properly enabled.
2011-09-20 02:28:03 +00:00
mrg 5bf1411760 mknative-gcc files for libgomp. 2011-09-20 02:26:40 +00:00
jym aa14c76a3c Xen suspend/resume code is now committed in -curent. 2011-09-20 00:33:43 +00:00
jym ead70b283f Xen suspend/resume will be part of NetBSD-6. 2011-09-20 00:31:06 +00:00
jym c55990f33b jym-xensuspend is now terminated. 2011-09-20 00:29:57 +00:00
jym eba16022d3 Merge jym-xensuspend branch in -current. ok bouyer@.
Goal: save/restore support in NetBSD domUs, for i386, i386 PAE and amd64.

Executive summary:
- split all Xen drivers (xenbus(4), grant tables, xbd(4), xennet(4))
in two parts: suspend and resume, and hook them to pmf(9).
- modify pmap so that Xen hypervisor does not cry out loud in case
it finds "unexpected" recursive memory mappings
- provide a sysctl(7), machdep.xen.suspend, to command suspend from
userland via powerd(8). Note: a suspend can only be handled correctly
when dom0 requested it, so provide a mechanism that will prevent
kernel to blindly validate user's commands

The code is still in experimental state, use at your own risk: restore
can corrupt backend communications rings; this can completely thrash
dom0 as it will loop at a high interrupt level trying to honor
all domU requests.

XXX PAE suspend does not work in amd64 currently, due to (yet again!)
page validation issues with hypervisor. Will fix.

XXX secondary CPUs are not suspended, I will write the handlers
in sync with cherry's Xen MP work.

Tested under i386 and amd64, bear in mind ring corruption though.

No build break expected, GENERICs and XEN* kernels should be fine.
./build.sh distribution still running. In any case: sorry if it does
break for you, contact me directly for reports.
2011-09-20 00:12:23 +00:00
christos 1cc8b31503 ifdef unused variable with -UPTRACE 2011-09-19 23:54:29 +00:00
joerg 0a2b758384 Mark _resumecontext as dead. ANSIfy all declarations for it. 2011-09-19 21:24:57 +00:00
rkujawa 45ee52711d Remove information about prometheus.library (not needed after last changes to mppb driver). 2011-09-19 19:18:19 +00:00
rkujawa 3db9494741 Move CACHELINE_* from bus_dma.c to cpu.h (needed for PCI configuration on amiga port). 2011-09-19 19:17:05 +00:00
rkujawa 0d5229b834 Minor changes to Amiga PCI MD code:
- Add bus enumeration and resource assignment (PCI_NETBSD_CONFIGURE) to mppb(4) - no more need to run AmigaOS to configure the bus.
- Add PCI configuration address register to p5pb(4).
- Add PCI I/O space support to p5pb(4).
- Move common code from p5pb(4) and mppb(4) to new pci_machdep.c file.
- Fix style.
2011-09-19 19:15:28 +00:00
pgoyette 324d22a412 Mark the tests/lib/libc/ieefp directory obsolete, as well as its former
contents.
2011-09-19 18:16:06 +00:00
reinoud 5458c3911e Small cleanups on memory initialisation by using munmap() instead of mapping
unaccessible anon memory that we're never going to use anyway!
2011-09-19 12:52:32 +00:00
njoly 0a0381cf04 Small typo (t_fpsclassify -> t_fpclassify). 2011-09-19 11:57:11 +00:00
gdt 088ef1d7ee Remove prototype for the departed wapbl_ufs_rename.
ok dholland@
2011-09-19 11:18:01 +00:00
jruoho eef73475b4 Add missing entries. 2011-09-19 11:04:33 +00:00
wiz 82c488769a Minimally document gpt recover. Bump date. 2011-09-19 10:40:35 +00:00
gsutre 59ff3357e7 PR/38356: Minoura Makoto: Use the device's unit (instead of autoconf's)
to match the bootinfo root device.

Fixes multiboot(8) root= option as well as GRUB knetbsd --root option.
2011-09-19 10:03:32 +00:00
jnemeth a55ee38cee dm(4) uses dk_lookup() from dksubr.c 2011-09-19 08:53:30 +00:00
plunky ff9d88a96f add Kingston DataTraveler 102 G2 (does not like being told to lock door) 2011-09-19 08:26:57 +00:00
plunky 00f40db938 regen for Kingston DataTraveler 102 G2 2011-09-19 08:22:51 +00:00
plunky 97e6d3ed91 add Kingston DataTraveler 102 G2 2011-09-19 08:20:20 +00:00
jruoho 354930c19a Point to PR misc/44708 when failing. XXX: Remove once the test is fixed. 2011-09-19 06:38:02 +00:00
jruoho 6337efd6b4 Remove ieeefp subdirectory. 2011-09-19 05:42:13 +00:00
jruoho 9ebeca8a64 Move duplicate ldexp(3) test out from the tests/libc. 2011-09-19 05:40:38 +00:00
jruoho 4a45a29ad9 Move the tests/libc/ieeefp to tests/libc/gen to match the structure of libc.
Also rename the test files to gain functional scope.
2011-09-19 05:25:50 +00:00
christos e79509f088 fix typo. 2011-09-19 01:45:15 +00:00
pgoyette b162989b60 When "loading" a built-in module needs to autoload a dependant module
which is not already loaded (or was loaded, and then unloaded), make
sure we return a pointer to the built-in module.  Otherwise, when the
initial module tries to update its dependancies' reference counts, we
trigger a KASSERT in module_enqueue().
2011-09-19 00:40:22 +00:00
christos 25cbc6bd7e Add 32 bit methods 2011-09-19 00:23:14 +00:00
christos 0c54db1c1e bump libc 2011-09-19 00:19:50 +00:00
christos 0786f153d9 bump for hcreate_r and friends 2011-09-18 23:57:06 +00:00
jym b3d5f36ddc typo: prefict -> predict 2011-09-18 17:43:20 +00:00
njoly f18fdd46cc Fix a few xrefs. 2011-09-18 10:58:28 +00:00
njoly 7d41567535 Fix lseek(2) swapped arguments. 2011-09-18 09:07:35 +00:00
jruoho 11f8ac704b Remove BUGS as per joerg@'s objection. 2011-09-18 05:33:13 +00:00
jruoho 81fd6738d6 IEEE checks for the exponential family. 2011-09-18 05:19:18 +00:00
jruoho 9273f704b7 Add few basic checks. 2011-09-18 04:49:11 +00:00
jruoho abfe6bc07d Reduce tolerance to see whether still acosf(cosf(x)) != x on i386/qemu. 2011-09-18 04:48:38 +00:00
christos 8151226baf fix markup 2011-09-18 01:21:34 +00:00
reinoud 3de6efb873 Transform the clock signal to a sigaction so we have the info i.e. the
context! and thus a good definition for a clockframe!
2011-09-17 21:38:15 +00:00
jruoho 2b1d7604bf Remove ptrace(2) tests that are not yet ready but were accidentally
committed.
2011-09-17 18:53:31 +00:00
jruoho 9cbb4897e9 Simplify. 2011-09-17 18:52:21 +00:00
jruoho e0a0895c11 IEEE checks for the arcus functions. 2011-09-17 18:08:35 +00:00