Commit Graph

216057 Commits

Author SHA1 Message Date
christos 9263138f08 fix compilation without -DEDIT 2013-01-22 22:40:31 +00:00
christos 1d7af1d4c0 use the definitions from lock.h 2013-01-22 22:10:22 +00:00
christos 25ad3883ce Allow for non inlined definitions for RUMP 2013-01-22 22:09:44 +00:00
jmcneill 75b5811f1b no need for TAILQ_FOREACH_SAFE in dwc_otg_softintr 2013-01-22 21:59:52 +00:00
jmcneill 980428363e since umidi and sequencer are mpsafe, mark umidi softint with SOFTINT_MPSAFE 2013-01-22 21:29:53 +00:00
wiz cefd6eea55 Bump date for previous. 2013-01-22 21:20:26 +00:00
jmcneill 6cda600484 umidi is mpsafe 2013-01-22 21:13:39 +00:00
jmcneill 6f856c0ad6 uhub is mpsafe 2013-01-22 21:12:32 +00:00
jmcneill bd47d92fb6 need to protect complete tailq with intr lock 2013-01-22 20:50:04 +00:00
christos 1d92830f7c Make the libfoo.so.X.Y.debug files actually contain debug symbols if MKDEBUG. 2013-01-22 20:43:17 +00:00
christos 5e9a2dddf3 Add a little libedit front end. Could be used as someone's pet project to
learn how to program. It is not enabled in the Makefile, and it states why
there.
2013-01-22 20:35:29 +00:00
christos 824de0c143 bump libedit 2013-01-22 20:25:16 +00:00
christos 40b42dfe79 provide an el_init_fd function. 2013-01-22 20:23:21 +00:00
christos cd0ed5aa5a Remove alloc builtin, it did not work anyway since most modern malloc
implementation use a combination of sbrk/mmap.
2013-01-22 19:28:00 +00:00
wiz 2a316cb9b8 Use correct macro. 2013-01-22 15:52:17 +00:00
tsutsui bcc38be16f Whitespace cleanup. 2013-01-22 15:44:25 +00:00
jmcneill e488b1d802 document USBD_MPSAFE and USB_TASKQ_MPSAFE 2013-01-22 15:35:08 +00:00
jmcneill 7d3926a123 add USB_TASKQ_MPSAFE to usb_init_task args 2013-01-22 15:19:48 +00:00
jmcneill fd5ba180eb use usbdevices.config 2013-01-22 14:03:43 +00:00
jmcneill eff74c4958 add missing flags param to usb_task_init 2013-01-22 14:03:19 +00:00
jmcneill 2125e3121e default pipe is mpsafe, deal with it 2013-01-22 14:01:19 +00:00
christos 387f092185 print only the version as the full version confuses pkgconfig. 2013-01-22 13:51:45 +00:00
jmcneill 1d8777d5b3 usbd_open_pipe and usbd_open_pipe_intr take different flags! Make sure
the value of USBD_MPSAFE doesn't conflict with flags for either of them, as
it can be passed to both.
2013-01-22 13:27:59 +00:00
jmcneill 5ef315ab5e Use usbd_setup_pipe_flags instead of usbd_setup_pipe so the supplied flags
get passed through.
2013-01-22 13:18:47 +00:00
skrll 126a99a5a8 Simplify dwc_otg_standard_done and always call dwc_host_channel_free on
the last (attempted) TD. We were leaking channels before.

Remove dwc_otg_device_done in the process.
2013-01-22 13:06:41 +00:00
skrll 6342507205 Remove unneeded semi-colons 2013-01-22 13:03:25 +00:00
jmcneill 8bdabafe8e make USBD_TASKQ_MPSAFE the same value as USBD_MPSAFE, just in case 2013-01-22 12:48:07 +00:00
jmcneill 7c64a30e85 - Add a USBD_MPSAFE flag to usbd_open_pipe. If not set, acquire KERNEL_LOCK
before invoking xfer callbacks on this pipe.
- Add an extra flags parameter to usb_init_task. If USBD_TASKQ_MPSAFE is not
  present, acquire KERNEL_LOCK before invoking the task callback.
2013-01-22 12:40:42 +00:00
jmcneill 8a15da7ada simplify the locking in urtwn_start 2013-01-22 12:04:58 +00:00
isaki 50aab03cd0 Detect emulators (and display it on dmesg). 2013-01-22 11:58:39 +00:00
dholland dcd34a91c5 Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
2013-01-22 09:39:11 +00:00
matt cb9b8472f6 Don't "sync" atomic ops.
Do sync after each range op.
2013-01-22 09:04:12 +00:00
skrll 172ff46798 Improve a DIAGNOSTIC so it doesn't confuse people who need more coffee,
e.g. me.
2013-01-22 08:33:18 +00:00
dholland 76ad4067c2 spelling 2013-01-22 06:24:11 +00:00
christos 985c770dc8 We need more defines for this to actually work! 2013-01-22 01:50:25 +00:00
christos d558641cdd No need to wrap each version with a separate conditional. 2013-01-22 01:48:34 +00:00
christos 8a8a278a1c Simplify the ifdef mess. No functional context. 2013-01-22 01:47:20 +00:00
christos 131cc4df10 It is useless to check for sigcontext_vec and compat module loading for
PK_32 processes. The correct modules are already loaded, otherwise how
is the process running?
2013-01-22 01:45:59 +00:00
jmcneill c6a2bb6666 some more urtwn fixes:
- support manual roaming (used by wpa_supplicant)
 - simplify ioctl handler
 - add our own reset callback
 - acquire KERNEL_LOCK before using net80211 or the network stack
 - clear IFF_OACTIVE even in the event of an endpoint stall
2013-01-21 23:42:45 +00:00
christos 8fb7bb9693 When abusing enums, please at least use valid constants... 2013-01-21 21:38:02 +00:00
jakllsch 4b2ef59e15 Assume the first ld@sdmmc to attach is the booted device until
possibily-otherwise specified during evbarm cpu_rootconf().
2013-01-21 20:42:22 +00:00
christos aed35c482d Split the make fs portion into a function; do argument tests inside the
function.
2013-01-21 20:28:38 +00:00
jakllsch 6d0f2e64cf Correct off-by-one in validation of booted partition number. 2013-01-21 20:20:32 +00:00
mlelstv b054bec0e9 Make internal functions static 2013-01-21 19:49:15 +00:00
mlelstv f9a45eb9c5 force chip into serial mode
add 232RL product id
2013-01-21 19:08:42 +00:00
jakllsch 05b3b9d385 Specify the root device in cmdline.txt, also, it's 'Pi', not 'PI'. 2013-01-21 17:14:23 +00:00
skrll bc399b5b4e kernel.img is for rpi only 2013-01-21 16:59:23 +00:00
christos b4b144b944 remove trailing lines 2013-01-21 16:52:56 +00:00
skrll a4ac7e4aff More usage updates 2013-01-21 16:49:49 +00:00
christos f2c1b6f8ac remove trailing line 2013-01-21 16:48:23 +00:00