Commit Graph

197218 Commits

Author SHA1 Message Date
jym b767622b62 Fix bad pasto cooking: xennet backend is not xbdback: use
aprint_error_ifnet() with the proper ifnet device for error messages.
2011-01-18 21:34:31 +00:00
jmcneill c93b203331 If the thermal zone has a _PSL method, print a list of processors
associated with the zone at attach time.

  acpitz0 at acpi0 (THM0)
  acpitz0: levels: critical 127.0 C, passive cooling
  acpitz1 at acpi0 (THM1): cpu0 cpu1
  acpitz1: levels: critical 100.0 C, passive 95.5 C, passive cooling
2011-01-18 21:15:54 +00:00
pooka f6f704508c missed librumphijack_pic.a and .ln in previous 2011-01-18 21:07:51 +00:00
rmind f938371887 NPF checkpoint:
- Add the concept of rule procedure: separate normalization, logging and
  potentially other functions from the rule structure.  Rule procedure can be
  shared amongst the rules.  Separation is both at kernel level (npf_rproc_t)
  and configuration ("procedure" + "apply").
- Fix portmap sharing for NAT policy.
- Update TCP state tracking logic.  Use TCP FSM definitions.
- Add if_byindex(), OK by matt@.  Use in logging for the lookup.
- Fix traceroute ALG and many other bugs; misc clean-up.
2011-01-18 20:33:45 +00:00
rmind 2e8aa0fd8f mq_poll_fop: return only those events which are polled. 2011-01-18 20:32:53 +00:00
rmind 00073dba63 G/C unused declaration; fix few comments on locking; whitespaces.
No functional changes.
2011-01-18 20:17:50 +00:00
pooka d36a58c27d hook librumphijack to the build 2011-01-18 20:09:37 +00:00
pooka 35dfb75868 comment out DBG and NOGCCERROR, use proper LIBDPLIBS form 2011-01-18 19:53:23 +00:00
matt ad396e28d0 Make struct disklabel 8 byte aligned. This increases its size by 4 bytes
on IPL32 platforms so add code in sys_ioctl (and netbsd32_ioctl) to deal
with the older/smaller diskabel size.  This change makes disklabel the
same for both IPL32 and LP64 platforms.
2011-01-18 19:52:23 +00:00
pooka f6eee6f557 * attempt to match libc non-compat names (XXX: needs work)
* make shutdown() a dual-stack call
* flip the default to use host for PF_UNIX, since that's generally
  the desired case (because of X)
2011-01-18 19:41:02 +00:00
jmcneill 2dd19c519d Use AcpiOsReadPort/AcpiOsWritePort instead of inb/outb so I can get rid of
of the i386 and x86_64 ifdefs.
2011-01-18 18:56:25 +00:00
jmcneill 505968c6d9 - fix an off-by-one that disallowed adjacent mappings with conflicting
types from being created
- only allow MTRR_TYPE_WC mappings if the processor supports it
2011-01-18 17:44:15 +00:00
pooka d2269cc00d regen: include sys/sched.h in syscallargs.h 2011-01-18 17:34:28 +00:00
pooka 8aa52577fe Make syscallargs.h include <sys/sched.h> for cpuset_t typedef for
the benefit of ports where it does not get typedef'd via autoinclusion
of other headers.

problem pointed out & fix proposed by Izumi Tsutsui
2011-01-18 17:33:05 +00:00
jmcneill 1785be53ab treat temperature readings of 0xff as invalid, as I'm somewhat confident
that my Thinkpad isn't idling at 255 degC.
2011-01-18 16:45:11 +00:00
matt 2f86908fcf Use PRINTOBJDIR to get the object directory of libc and use that with -I. 2011-01-18 16:41:51 +00:00
pooka 2c78c39d6a pollts:
Since fds[] does not go to both kernels, set revents to 0 when
splitting the vector.  Now any stale revents passed by the caller
do not get counted as results for the kernel which did not "win"
the poll.

This fixes a situation where a firefox transfer would occasionally
stall.  Now firefox works full speed with a rump networking stack.
2011-01-18 16:00:04 +00:00
jmcneill 3d5dcc4184 fix port reset for non-ETTF case broken by previous commit 2011-01-18 15:05:03 +00:00
pooka 81ca4f22d1 use -D_REENTRANT (should currently have no effect, but better safe
than sorry if someone adds uses of stdio macros)
2011-01-18 15:00:22 +00:00
pooka 613ebae808 Don't count sparse elements in the poll vector for host fds. 2011-01-18 14:51:14 +00:00
pooka ac1dfbf509 Fix conversion: there are 1000*1000 nanoseconds in a millisecond, not 1000. 2011-01-18 14:45:30 +00:00
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