joerg
7ee9faea22
Checking the return value of an allocator works better, when looking at
...
the stored pointer.
2014-02-27 01:40:07 +00:00
joerg
636b9f2c58
abs on unsigned values is a nop.
2014-02-27 01:31:09 +00:00
joerg
fca01ac8d1
A member of a non-null struct pointer can't be null.
2014-02-27 01:30:18 +00:00
joerg
43287b2955
Retire sources from old build location.
2014-02-26 22:40:07 +00:00
joerg
a48c968746
Update compiler-rt glue for the new source layout.
2014-02-26 22:37:55 +00:00
joerg
156cd5872b
Import compiler-rt r202303. Extend 128bit support to all LP64 platforms.
2014-02-26 22:31:29 +00:00
christos
e7cf1ceb60
prefer __func__ instead of __FUNCTION__
2014-02-18 20:54:34 +00:00
christos
e7f41d7afa
- include <sys/cdefs.h> for compiler definitions
...
- add a lint comment
2014-02-18 20:53:44 +00:00
joerg
728bc80078
Fix builtin shadowing in PowerPC specific code. Implement clzdi/clzsi
...
for ARM.
2014-01-29 14:21:41 +00:00
joerg
f1ec592d28
Import compiler-rt r200007. Use .size on all assembler functions.
...
Reimplement ARM division based on Matt Thomas's common version.
2014-01-24 14:52:00 +00:00
apb
8f26fe44ec
Update ACPI_DATE to "18 Dec 2013", because acpica version 20131218
...
was imported on 27 Dec 2013.
2014-01-18 09:48:24 +00:00
apb
acf505fc16
Use ACPI_DATE instead of __DATE__ in a version string that
...
ends up in the iasl executable. ACPI_DATE is defined in
sys/external/bsd/acpica/dist/include/acapps.h.
2014-01-18 09:25:24 +00:00
joerg
c620e3c245
More sanitizers we are still not interested in.
2014-01-15 21:07:19 +00:00
joerg
b4b49684a3
Import compiler-rt r199273. Support libkern/libsa alternative headers.
...
Mark assembler functions as such to prevent ld snafu.
2014-01-15 21:06:10 +00:00
christos
27778cf9f8
PR/48494: Ryo Onodera: After ACPICA 20131218 update, uhub topology is
...
misanderstood on macbook air. Ryo by bisection found that the following
commit causes the problem: https://github.com/acpica/acpica/commit/ \
637accd073a205eb4acac935f34d0eaee0c301a8. This is tracked in:
https://bugs.acpica.org/show_bug.cgi?id=1016
2014-01-05 15:45:43 +00:00
skrll
08a9dbe8f5
Small bit of tidyup and remove a XXX now that it's possible.
2014-01-03 14:41:57 +00:00
skrll
cf1ea1842e
Call callout_reset on the xfer timeoute_handle before calling
...
dwc2_hcd_urb_enqueue
2014-01-03 12:20:26 +00:00
skrll
5755263612
Change a KASSERT to a KASSERTMSG and add a DPRINTFN.
2014-01-03 12:07:37 +00:00
skrll
197d83126f
Protect access of urb->hcpriv by adapting the following change from the
...
Raspberry PI dwc_otg driver.
38753ce72d
dwc_otg: prevent OOPSes during device disconnects
The dwc_otg_urb_enqueue function is thread-unsafe. In particular the
access of urb->hcpriv, usb_hcd_link_urb_to_ep, dwc_otg_urb->qtd and
friends does not occur within a critical section and so if a device
was unplugged during activity there was a high chance that the
usbcore hub_thread would try to disable the endpoint with partially-
formed entries in the URB queue. This would result in BUG() or null
pointer dereferences.
Fix so that access of urb->hcpriv, enqueuing to the hardware and
adding to usbcore endpoint URB lists is contained within a single
critical section.
2014-01-02 15:54:10 +00:00
skrll
ab8b74b3ab
KASSERT that the transfer callout is not pending.
...
Removes a XXX
2013-12-31 09:10:43 +00:00
christos
ad495e7046
Now that our yacc supports providing yytname[] and does the name protection
...
automatically (as it should, unlike bison), elide the name protection hacks.
2013-12-30 22:32:45 +00:00
christos
178126fa8a
Simplify previous, don't even set the variables if they are not going to
...
be used.
2013-12-29 23:26:00 +00:00
christos
5aa89cd133
ifdef unused variables
2013-12-29 23:07:34 +00:00
christos
8c78eb9844
fix debugging build.
2013-12-27 20:55:40 +00:00
christos
fcb25a8463
add missing debugger files.
2013-12-27 20:55:03 +00:00
christos
773b72577c
amend for new files
2013-12-27 18:51:08 +00:00
christos
a2c051a9b0
resolve conflicts
2013-12-27 18:50:56 +00:00
christos
ff4a156d7c
import new acpica
2013-12-27 18:45:57 +00:00
alnsn
ceb0a8f1ae
Turn on executable allocator an use module_map with UVM_KMF_EXEC flag.
...
This should fix execution of code generated by librumpkern_sljit.
Also enable global lock.
2013-12-17 22:39:23 +00:00
skrll
a07e26d1c4
Comment out unsed variable. Left for reference.
2013-12-14 10:00:42 +00:00
skrll
c329d2d44d
Remove unused variables.
2013-12-14 09:58:03 +00:00
wiz
d860f590d4
Fix typo ("then" instead of "than")
2013-12-09 09:35:16 +00:00
joerg
ac87a88380
remote_event_destroy is unused, mark it so.
2013-12-01 02:57:43 +00:00
skrll
9a784854f0
Drop the intr_lock when calling usb_schedsoftintr so that we don't lock
...
against ourself in dwc2_softintr in the polling case.
2013-11-28 06:56:36 +00:00
christos
f25c095d58
CID 976267: NULL deref check
2013-11-27 22:18:06 +00:00
alnsn
7ca7224ef5
Use __syncicache() in sljit on powerpc.
2013-11-25 23:53:44 +00:00
skrll
661a0168b5
Resolve conflicts.
2013-11-24 12:25:19 +00:00
skrll
33e89ce9f4
Zeroise the whole urb including the iso_descs array
2013-11-19 10:07:11 +00:00
skrll
ab5615267b
Correct the interval assignment for isoc and intr transfers.
2013-11-19 07:50:01 +00:00
skrll
7ed47d18d5
Use PRIxBUSADDR in DPRINTF. Problem pointed out by kiyohara.
2013-11-19 07:45:42 +00:00
alnsn
f192c5171a
Report an error if SLJIT_CACHE_FLUSH isn't defined by machine/sljitarch.h.
2013-11-18 07:13:13 +00:00
skrll
810860c8c1
Simplify variable assignment and avoid gcc warnings.
2013-11-14 12:41:46 +00:00
skrll
67d31eff3d
Remove unused variable.
2013-11-14 12:40:51 +00:00
skrll
f52524456d
Make CONFIG_USB_DWC2_DEBUG_PERIODIC compile.
2013-11-12 15:13:14 +00:00
skrll
735b653763
Don't always define DWC2_DEBUG
2013-11-01 15:03:39 +00:00
mrg
7ba5ff78a9
move variable definition/set inside the same #ifdef of the usage.
2013-11-01 06:42:23 +00:00
skrll
738c9dbd7c
Be strictly correct about chan->xfer_dma assignment and avoid calling
...
DMAADDR on fully transfered data phase of a control transfer.
Without this change the KASSERT(offset < dma->block->size) in usb_dmaaddr
would fire.
Found by anon when testing athn(4).
2013-10-22 16:37:08 +00:00
skrll
62e93a5632
Remove unused usbd_xfer_handle from dwc2_pipe. (missed commit)
2013-10-22 12:57:40 +00:00
skrll
cd79003d3d
Remove unused usbd_xfer_handle from dwc2_pipe.
2013-10-22 09:42:20 +00:00
skrll
ff3d395db7
Minor cleanup.
2013-10-22 09:30:04 +00:00