Commit Graph

196947 Commits

Author SHA1 Message Date
pooka 07d03119a0 Fix dup2 mask so that dup2'ing a rump kernel fd to 1 does not cause
stderr to be treated as a rump kernel fd as well.  Makes e.g.
bozohttpd work better with stderr logging.

Also, add aborty stubs for kqueue.
(implementing kqueue is even trickier than implementing select/poll
since we need to keep state for two kqueue fd's)
2011-01-18 11:04:10 +00:00
wiz c1f176e16d Move isns description from dist/groff to usr.bin/groff, where it belongs.
Add isns to mdocml libraries as well.
2011-01-18 09:28:42 +00:00
matt c17daf3806 Default mips64e[bl] to SOFTFLOAT. 2011-01-18 08:31:18 +00:00
matt 1d4bb1d8f6 Change mips64 to use a 16 byte long double. 2011-01-18 08:30:10 +00:00
matt 09db588a4e Add preliminary support for Embedded Transaction Translator Function (as
found on the MPC8536 and AR9334) which allows low/full devices to be
connected to an EHCI root hub.
2011-01-18 08:29:24 +00:00
matt 748b8f0d25 Add more detailed debug printfs (one for each error case). 2011-01-18 08:21:03 +00:00
matt 962f7d2435 Move up evcnt_init to before cpu_startup() 2011-01-18 08:18:43 +00:00
matt 7127baadd8 Add a structure tag for phys_ram_seg_t. 2011-01-18 08:17:39 +00:00
matt c710686832 Add code to detect attaching of evcnt before evcnt has been initialized. 2011-01-18 08:16:43 +00:00
matt a20c25e484 Deal with ELFnn_MACHDEP_ID_CASES a bit better. 2011-01-18 08:15:51 +00:00
matt 57d93d8715 Cleanup the o32 compat build test. 2011-01-18 08:12:05 +00:00
jmmv ba82241d0e Ammend previous to be more accurate in platform_add_date by using the epoch:
* Years in the [70,99] range are considered to be in 1900.
* Years in the [0,69] range are considered to be in 2000.

I don't think we may have hit any machine where the previous numbers were
a problem, but these seem to be the "correct" ones.

From christos@.
2011-01-18 07:47:16 +00:00
matt 98933d17d4 Fix some fallout from building the macppc GENERIC.MP. 2011-01-18 02:25:42 +00:00
matt 6038a89b0e Change to reflect switchframe/callframe changes. 2011-01-18 01:28:19 +00:00
matt 0c0d23d234 Switch to using tmpfs.
Add mount_tmpfs, ps, netstat, vmstat, and date to ramdisk image.
2011-01-18 01:27:16 +00:00
matt dad30a3249 Don't use string instructions (not on mpc85xx) 2011-01-18 01:25:29 +00:00
matt dfe29b1db4 Change to deal with callframe changes 2011-01-18 01:23:24 +00:00
matt f82770bafc Remove forced DEBUG. 2011-01-18 01:20:06 +00:00
matt 773e544e8c Deal with changes in the trapframe. 2011-01-18 01:13:03 +00:00
matt 6b63943ce9 Add common TLB PMAP framework. Used my mpc85xx (and soon MIPS). 2011-01-18 01:11:50 +00:00
matt 262e1f2b3f Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform.  The CF on
the RB800 doesn't work yet.
2011-01-18 01:10:24 +00:00
matt de9fe3e4cb include <uvm/uvm_extern.h> 2011-01-18 01:08:55 +00:00
matt 24ab301018 Add TMPFS and ksyms. Add an INSTALL variant 2011-01-18 01:07:06 +00:00
matt b8ea2c8cad Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
2011-01-18 01:02:52 +00:00
jym 872f1bf22f XEN2 kernels are not part of the release any more. Support was removed
with NetBSD-6.
2011-01-18 00:35:19 +00:00
joerg 6438963396 Allow co-existance of traditional and modern CPP 2011-01-18 00:26:57 +00:00
jym d2834deaa5 Build miniroot.kmod installation module for amd64. Hook GENERIC
with it.

See http://mail-index.netbsd.org/port-i386/2011/01/14/msg002247.html
2011-01-18 00:22:56 +00:00
matt 9925d622a5 Enable E500 (mpc85xx) support in GCC. 2011-01-18 00:19:28 +00:00
jym 8a16fb8712 Bring amd64 installation ISO to same state as the i386 one:
- GENERIC kernel for booting
- root is now cd0a
- use the same scripts and conf files as the i386 install ISO.

See also http://mail-index.netbsd.org/port-i386/2011/01/14/msg002247.html
2011-01-18 00:16:13 +00:00
matt bd081d44b9 Make the MIPS N32/N64 ABIs properly support 128-bit long doubles. With this
change, we should be fully conformant with the N32 and N64 ABIs.
Add {fpclassify,infinity,isnan,ininf,signbit}l_ieee754.c back to lib/libc/gen.
Note that infinityl_ieee754.c will work with either 64-bit, 80-bit, or
128-bit long doubles.
2011-01-17 23:53:03 +00:00
matt 7d92b19968 Make __cerror hidden. 2011-01-17 23:34:44 +00:00
matt e4100763e4 cleanup format of #ifdef 2011-01-17 23:32:31 +00:00
jruoho 3dfe3f4902 Put the (WDRT) also to the title. 2011-01-17 22:53:29 +00:00
jmmv ea024283b0 Fix year correction in platform_add_date so that:
* Years in the [90,99] range are considered to be in 1900.
* Years in the [0,89] range are considered to be in 2000.

This makes my MacBookPro2,2 be recognized as from 2007 instead of 1907, which
in turn lets ACPI (and many other things!) work.

Fix proposed by jmcneill@ as an alternative to my workaround in acpi_quirks.c
sent to port-i386@.
2011-01-17 22:21:25 +00:00
jruoho b3a50c46ea DPC, IMCR, IRQL, MP, TPR. 2011-01-17 22:08:30 +00:00
tron 33d62b3787 Update information about "binutils":
- We are using version 2.19.1.
- Add (L)GPLv3 to the list of licenses.
2011-01-17 22:04:14 +00:00
jruoho 0781354583 Furthermore, use "ACPI Watchdog Timer" as the title. 2011-01-17 21:59:40 +00:00
christos 0de39c68e9 add libisns 2011-01-17 21:57:04 +00:00
jruoho 9338899ccd Xref acpiwdrt(4). 2011-01-17 21:56:38 +00:00
jruoho c117169de4 Complete the reference WWW article. Use .Dq. 2011-01-17 21:54:28 +00:00
agc f9dd05cc12 Hook libisns into the build, and modify the set lists accordingly.
Note the addition of iSNS protocol support in doc/CHANGES

With thanks to Wasabi Systems for contributing the code.
2011-01-17 20:39:03 +00:00
pooka 887a2b78c7 regen: more compat syscalls 2011-01-17 18:25:17 +00:00
pooka 111bbbce9e Missed pselect50 in previous (file was open in editor ... d0h).
Add mknod50 and fhstat50 too.
2011-01-17 18:24:17 +00:00
joerg 13d8b2b89c Move SPARC and SPARC64 to modern CPP. Update UPDATING note for this and
Alpha.
2011-01-17 18:11:09 +00:00
pooka 14c8789b8c Add rump bits to DPSRCS so that update builds work correctly. 2011-01-17 18:05:52 +00:00
jmcneill 138a9407d2 use PRIx64 instead of llx, fixes build on amd64 2011-01-17 17:32:11 +00:00
pooka d8244e0b17 Use host_close() instead of close() where we know it to be the
right interface.
2011-01-17 16:30:09 +00:00
pooka 6054dbc060 Adapt to rump syscall changes. The correct rump compat syscall is
now automatically picked based on the ABI of the target the library
is compiled for.

(the host libc symbolname to override still needs a little attention
based on the system version)
2011-01-17 16:27:54 +00:00
pooka 0e4497a140 use newstyle rump syscall compat 2011-01-17 16:25:39 +00:00
pooka 4b0482d05f regen: rework rump syscall stubs (see makesyscalls.sh log for details) 2011-01-17 16:24:04 +00:00