Commit Graph

227217 Commits

Author SHA1 Message Date
pooka
7b9bf19905 create /tmp at bootstrap, default TMPDIR used by some programs (e.g. ed) 2014-05-22 12:31:28 +00:00
rmind
f508318acb tcp_usrreq: fix the previous - the assert is still not true (but PRU_SENSE
case will handle it); eventually, pr_usrreq should not be called without
PCB attached.
2014-05-22 00:28:32 +00:00
zafer
c7106c8e74 fix typo. 2014-05-21 23:59:03 +00:00
rmind
3acb42d55f G/C __FreeBSD__ 2014-05-21 20:46:29 +00:00
rmind
eb4d862469 raw_detach: rawpcb may be embedded, free using the real size (saved in rcb). 2014-05-21 20:43:56 +00:00
palle
c7afef53d7 Removed duplicate call to prom_map_phys() 2014-05-21 19:33:51 +00:00
rmind
f0ab7b75e9 tcp_usrreq: fix the previous correctly - restore the assert logic,
but move it after the PRU_SENSE check.
2014-05-21 18:41:43 +00:00
riastradh
8f9e898dc6 Unifdef the dmi hacks here too, now that we have dmi_check_system. 2014-05-21 15:40:52 +00:00
martin
944ff57caa Use GENERIC instead of INSTALL (including the ramdisk) for this CD image
and mount the CD filesystem as root instead for installation.
2014-05-21 14:21:35 +00:00
riastradh
a3a8fde1c3 Unifdef the dmi hacks here, now that we have dmi_check_system. 2014-05-21 14:03:42 +00:00
abs
0b3334d19a Add workaround for lib/48827 for vax to avoid segv in sysinst for now 2014-05-21 14:01:30 +00:00
pgoyette
432395de6f Restore original sense of the check, and allow both inp and in6p to be
NULL.  This case is explicitly handled below.
2014-05-21 13:21:20 +00:00
wiz
b2b90ae3db regen 2014-05-21 13:12:19 +00:00
wiz
0a35378dc9 Use Pa for paths. Fix a couple of typos. 2014-05-21 13:11:25 +00:00
reinoud
4814c99376 Rework USB2 attachment using a dedicated usb devices locator. This allows for
the more tightly coupled Exynos{4,5} usb2/usb2otg/usb3 controllers to share
memory spaces and IRQs

Note, currently only USB2 host is implemented.
2014-05-21 13:02:46 +00:00
reinoud
3ec04f7eae Add i2c as standard for ODROID-U 2014-05-21 12:24:52 +00:00
reinoud
eb4953ffed Provide iic logic and bits for Odroid-U's exynos i2c interfaces 2014-05-21 12:24:11 +00:00
reinoud
04bd7576c9 Provide bitbanging IIC for Samsung's Exynos 2014-05-21 12:19:59 +00:00
reinoud
a44d7f7416 Don't panic if the pin is not available in pin_reserve() but return false
instead.
2014-05-21 12:18:24 +00:00
reinoud
8230922b1a Make ODROID (-XU) compile again 2014-05-21 12:16:17 +00:00
wiz
e666757a15 Bump date for previous. Americanize a spelling. 2014-05-21 12:15:25 +00:00
wiz
6fb6b0763b Bump date for previous. 2014-05-21 12:13:18 +00:00
macallan
252bc2d6b9 config goop for building 32bit sgimips64 kernels
works fine on my O2
( now to make the actual LP64 kernels work... )
2014-05-21 10:04:03 +00:00
dholland
d8da1d6013 avoid error path SIGSEGV 2014-05-21 05:25:34 +00:00
dholland
50e6b69835 spelling in comment 2014-05-21 04:24:40 +00:00
ozaki-r
a4164b97c6 Fix wrong instruction; mrc => mcr 2014-05-21 01:02:45 +00:00
bouyer
8ec9289dda Sync with the ipv4 code and call ifp->if_output() with KERNEL_LOCK
held.
Problem reported and fix tested by njoly@ on current-users@
2014-05-20 20:23:56 +00:00
pooka
49165189ad if_free() instead of direct call to free() to avoid diagnostic panic
Bug exposed by justin's Lua ljsyscall tests:
http://build.myriabit.eu:8012/waterfall
2014-05-20 19:53:50 +00:00
rmind
e401453f3f Adjust PR_WRAP_USRREQS() to include the attach/detach functions.
We still need the kernel-lock for some corner cases.
2014-05-20 19:04:00 +00:00
rmind
b0558585a9 Put malloc.h back; we still need it. 2014-05-20 18:32:08 +00:00
rmind
56a73a7d30 netbt: rename some attach/detach functions to have _pcb suffix, so
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.
2014-05-20 18:25:54 +00:00
njoly
1815fcdd2a Fix signed vs. unsigned comparison in getgroups16() syscall. Negative
gisetsize values now fail with EINVAL as expected.
2014-05-20 17:31:18 +00:00
njoly
30a02d27a2 Regen for getgroups/setgroups update. 2014-05-20 17:26:04 +00:00
njoly
1085071e9f Fix getgroups/setgroups signature. 2014-05-20 17:24:49 +00:00
martin
fc1c9b2cfa Recognize racd* as boot device. 2014-05-20 16:02:37 +00:00
riastradh
8929297ea6 Miscellaneous little fixes for harmless issues:
- Fix sense of subtraction in i915_gem_restore_gtt_mappings (not
  currently used, so this was harmless).

- Program gtt->gtt_scratch_map->dm_segs[0].ds_addr rather than
  gtt->gtt_scratch_seg.ds_addr into the GTT for consistency with the
  bus_dma API.  These are currently the same, but if we ever start
  using x86 iommu perhaps that may change.

- Kassert that the scratch PTE decodes into the scratch address.
2014-05-20 15:50:11 +00:00
riastradh
3e7e395e87 Miscellaneous markup, speling and grammar fix. 2014-05-20 15:31:55 +00:00
riastradh
5416492612 Split large paragraph about uobj/uoffset into a bulleted list.
Mention that uvm_map doesn't add a reference to uobj.  Evidently this
information is important, since I just wasted countless hours over
the past months investigating kernel memory corruption arising from a
failure to notice this fact.
2014-05-20 15:23:12 +00:00
riastradh
0c6fc07d39 Oops -- drop the GEM object reference on error too. 2014-05-20 15:15:04 +00:00
riastradh
24c81ef173 Don't map the GEM uvm_aobj copy-on-write -- what was I thinking?
Do transfer the GEM object reference to the uvm_aobj reference --
these are not the same thing.  (There's another uvm object whose
references are the same thing as the GEM object references, but
that's not the uao.)

With these changes, it looks like the GPU is no longer trying to draw
graphics all over kernel data structures.  Wish I had that month of
debugging back!
2014-05-20 15:12:41 +00:00
christos
368fe5a982 Always NULL terminate the argv[] array. From OpenBSD. 2014-05-20 15:05:08 +00:00
gdt
41a1d8830e Explain that tests should be run as root, and that in theory it's ok
to run them multiuser.

Discussed on current-users with in put from martin@ and gson@.
2014-05-20 14:23:43 +00:00
joerg
8883847bdf For the moment, don't complain about const casts. 2014-05-20 12:23:47 +00:00
zafer
508d44a007 Add version 1 device of SMC 2862WG accordingly. 2014-05-20 10:04:38 +00:00
martin
b179bc7a0f Switch powerpc64 architectures over to gcc 4.8.
OK: mrg@
2014-05-20 09:59:20 +00:00
zafer
b2956588b3 regen 2014-05-20 09:56:26 +00:00
zafer
6d63516dc9 Add version 1 of SMC 2862WG adapter which is USB 1.0 2014-05-20 09:55:06 +00:00
ozaki-r
492b37065c Pad 0 to align outputs 2014-05-20 03:24:19 +00:00
rmind
eb664c40a7 Move ipi_sysinit() after configure2(); we want secondary CPUs attached.
Might revisit if the there will be a need to use this interface earlier.
2014-05-19 23:33:19 +00:00
rmind
4eb9b121a4 s/cpu_send_ipi/cpu_ipi/ 2014-05-19 23:13:46 +00:00