58760 Commits

Author SHA1 Message Date
Augustin Cavalier
be117bfaa0 demangle/gcc2: Do not trust inputs.
We do not know anything about the symbols we are being asked to demangle;
it is entirely possible they are malformed, or that we parse them incorrectly,
which previously led to buffer overflows. E.g. the "2","8" in "SetTo__Q28_GLOBAL_"
is presently incorrectly parsed as a length, leading to an access 21 bytes past
the end of the string.

This caused a page fault under the guarded heap, a fact I had the misfortune
to discover when trying to attach Debugger to a guarded-heap'd application
which somehow ran the demangler under the guarded heap also, and that symbol
above was in runtime_loader, so it crashed while loading its symbols.

So now we do what the GCC3+ demangler does here, and keep track of the input
buffer through the use of a state class, which will prevent us from incrementing
past the buffer's end.

I've tested this patch using the new haikuc++filt utility against libtracker
(indeed, it took multiple rounds of testing to get the diff to be 0 bytes)
and it seems to work exactly as before, though now without out-of-bounds
accesses.

As this demangler is also used in the kernel, it's possible that some
triple-faults on x86_gcc2[h] are caused by this bug (although that would
be rare; one of the incorrectly-parsed symbols would have to be in the
stack trace, and then it would have to read past the end of the buffer
containing the symbol.)

Change-Id: I343991cebd7d2887812c8c6b3dc2e0df2fcd79fa
Reviewed-on: https://review.haiku-os.org/579
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 6668f401f8bf3eb077737e4c939699c5166cff2b)
Reviewed-on: https://review.haiku-os.org/580
2018-09-18 02:19:33 +00:00
Alexander von Gluck IV
3066e6bb4e UEFI: Greasy edition
* This is a last minute hack to get UEFI into R1 Beta 1
* This is extremely greasy and not that great

Change-Id: I3519dba7c97e3e01fe1d7f23d7b06f61f2ffedb7
Reviewed-on: https://review.haiku-os.org/578
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
2018-09-17 18:19:34 +00:00
Augustin Cavalier
9396f1649f Tracker: Eliminate the double border in the OpenWithWindow.
Change-Id: I903c50d95a8f33798985c2a3f4f3c0acd32f3de3
Reviewed-on: https://review.haiku-os.org/577
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-16 23:21:28 +00:00
Augustin Cavalier
d60cdf9452 BString: Treat NULL passed as replaceWith as an empty string.
Fixes the tests added in the previous commit, and also #8552.

Change-Id: Idf9459474bc66054f94cf66065ed6fcf9c60cece
Reviewed-on: https://review.haiku-os.org/572
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit e5b17738bcd57325aa16a53c8f129d5bd7f053f8)
Reviewed-on: https://review.haiku-os.org/573
2018-09-16 17:57:16 +00:00
Augustin Cavalier
ed2098b992 iprowifi4965: Add -100 firmware.
Should fix #14492.

Change-Id: If755bc1dc37f84da85cb0377a5e3105b89729735
Reviewed-on: https://review.haiku-os.org/570
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-16 00:09:10 +00:00
Augustin Cavalier
b94118ef25 determine_haiku_revision: Rework "no tag on HEAD" output.
When HEAD is tagged, the output will be identical to what it was
before (the latest hrev tag and nothing else.) When HEAD is not tagged,
and the most recent tag is further back, we now use a format like this:

hrevXXXXX+N(+dirty)

... where N is the number of commits since hrevXXXXX, and +dirty is added
if the working tree is dirty. This is significantly shorter than the
previous model (as it does not have the Git revision.)

Fixes #14445.

Change-Id: I66d4c7c57538a88a5fa13cfceebb65835ca53c7c
Reviewed-on: https://review.haiku-os.org/569
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-16 00:08:57 +00:00
Augustin Cavalier
812f406645 src/tests: Fix some incorrect filemodes.
Change-Id: Id8628116ddd58bf6286512f3532abc193dcfb6e7
Reviewed-on: https://review.haiku-os.org/568
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-16 00:08:41 +00:00
Michael Lotz
03411d58bf kernel: Apply user iframe determination logic to SMAP/SMEP.
Change-Id: I394492a289f01303ac28e6d6670fbfdb326fa4db
Reviewed-on: https://review.haiku-os.org/561
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
(cherry picked from commit 99888f6b696f3bf5e10adc3822e146ffe7098bf0)
Reviewed-on: https://review.haiku-os.org/564
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-15 00:08:57 +00:00
Michael Lotz
35b6396bc3 kernel: Determine kernel vs. user page fault depending on iframe.
The action vm_page_fault takes should depend on whether the iframe to be
handled is a user iframe or not. The check for the user flag in the
error code does however only check if the fault happend in user or
kernel space. Use IFRAME_IS_USER() instead which checks the privilege
level of the iframe. Under 32 bit x86 this also handles vm86
compatibility mode properly.

This is the same logic as used on FreeBSD (TRAPF_USERMODE).

Fixes #13930.

Change-Id: I9c348b6ab4c60daaaaa2c0fe33bcc3336aa29f7b
Reviewed-on: https://review.haiku-os.org/560
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
(cherry picked from commit 8c005190c455f3722c64a6ffc7dece9020da7258)
Reviewed-on: https://review.haiku-os.org/563
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-15 00:08:33 +00:00
Michael Lotz
46f5676786 Cleanup: Use symbolic names, compare != 0 and whitespace.
Change-Id: I34c60b3ab8387fe57dbcd91f9b5d278468455cf6
Reviewed-on: https://review.haiku-os.org/559
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 0de5a83940e56b9f9b910e8550d0f64c45362cff)
Reviewed-on: https://review.haiku-os.org/562
2018-09-15 00:08:23 +00:00
Augustin Cavalier
16f483e022 BNetworkDevice: Fix memory leaks and address comments.
Thanks Axel and Jerome for the reviews!

Change-Id: I4f116c540cf59ba74b79d9d2f95ed40edc9c4174
Reviewed-on: https://review.haiku-os.org/557
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 67f692f306f383db512ac0b077fffcc9798499d9)
Reviewed-on: https://review.haiku-os.org/558
2018-09-13 19:53:49 +00:00
Augustin Cavalier
7ff0296cbc libroot: Use RETURN_AND_SET_ERRNO from the utils header in ioctl.
No functional change intended.

Change-Id: I5e6a060fe8e036bc4d4b8b8cc95a4e8d0ea00f81
Reviewed-on: https://review.haiku-os.org/549
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 38a9853e5092fcb982b9456b870fbbf3ab4d1782)
Reviewed-on: https://review.haiku-os.org/553
2018-09-13 04:14:21 +00:00
Augustin Cavalier
a0cb3e066a network/ethernet: ioctl returns -1 and stores the error in errno.
Previously, if a device driver returned an error of any kind, -1 was
propagated the rest of the way up through the stack instead of the
actual error code.

Change-Id: I6839763c6b2eb86d6112d3732e6cb80d022f1fe8
Reviewed-on: https://review.haiku-os.org/550
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit e9073260a7054be876ec67bfefbfdaba05ea3142)
Reviewed-on: https://review.haiku-os.org/554
2018-09-13 04:14:13 +00:00
Augustin Cavalier
549b4453f0 BNetworkDevice: Implement Scan().
This depends on the previous commit to return the correct error code
from ioctl().

If there are no VAPs running (which is the case after a forced disconnect
from an access point), scans will fail. In that case, we call
IEEE80211_IOC_HAIKU_COMPAT_WLAN_UP, which will restart a VAP, and then
initiate the scan.

Change-Id: I732aefe67e386dbb0ed3d232ed9deda678132601
Reviewed-on: https://review.haiku-os.org/551
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 4e5aaaa700f4f6911514e7f469ba14201a66581c)
Reviewed-on: https://review.haiku-os.org/555
2018-09-13 04:14:07 +00:00
Augustin Cavalier
8e0d3fe3ea ifconfig & Network preferences: Actually trigger scans using BNetworkDevice.
Fixes #12034, and a variety of other strange "no wireless networks
appear" bugs that have plagued Haiku for years.

Change-Id: I734cb8084e8a626b8e03511519609bf80c1559eb
Reviewed-on: https://review.haiku-os.org/552
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 45bc01d2f71686b254d97ce04701c413d31cc76b)
Reviewed-on: https://review.haiku-os.org/556
2018-09-13 04:14:00 +00:00
JackBurton79
719ccf77e9 FlattenPictureTest: Fix DrawStringsWithOffset test
fixes #14481

Change-Id: I7aee0f9e1ed088d2b5253f22a55228b0fc8f16ec
Reviewed-on: https://review.haiku-os.org/546
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
(cherry picked from commit b070314f50636b69267f3e4c7a0a1b6d2d4fbfbf)
Reviewed-on: https://review.haiku-os.org/547
2018-09-12 16:02:02 +00:00
Janus
b367ca28fc BColumnListView: hscrollbar matches visible columns
* _VirtualWidth() ignores invisible columns
   This makes the horizontal scrollbar match the width of the visible columns.
   Also trigger an initial update of the scrollbars.
* Fixes #14480

Change-Id: I7d4b27a8fdca58c150ac47f9b948b127fb275fdf
Reviewed-on: https://review.haiku-os.org/543
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
(cherry picked from commit aa39f874dcadea54c634aa226f7ce7b817812ecd)
Reviewed-on: https://review.haiku-os.org/548
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-12 15:34:38 +00:00
Augustin Cavalier
e46d17d066 BMenuItem: Remove ourselves from the super menu on destruct.
This fixes the (intermittently) crashing test added in the previous commit,
and should also fix #12024 and #14348.

Note that this is a slight behavioral departure from BeOS, though since
BeOS crashed when this was done previously, it shouldn't cause any
other problems.

Change-Id: I7ac271258afaf1bcf649e0e44ab31184b6dc92f1
Reviewed-on: https://review.haiku-os.org/542
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-12 01:15:39 +00:00
David Murphy
0f3c9d48cc BColumnListView: Always update the reference rect in ::FindVisibleRect...
...if the row is present in the list, but continue to return false if the
row is not currently visible on the screen.

Part of #11675. Cherry-picked from https://review.haiku-os.org/442.
2018-09-11 16:51:27 -04:00
Augustin Cavalier
bd52d1ed4f pkgman: Suppress the erroneous "aborted: No Error" messages on no internet.
Here's what happens:
 * BPackageManager created a BRefreshRepositoryRequest with a BContext
   of an empty DecisionProvider and itself.
 * Since there is no internet access, the FetchFileJobs that the refresh
   class queued fail. Specifically, the first one does, but then as the
   subsequent ones depend on it, they are all aborted.
 * As some jobs were aborted, the StateListener is notified.
 * The state listener of course has the BPackageManager class as one of
   the listeners, and so calls it, because even though the handler methods
   of BRefreshRepositoryRequest, they are powerless to stop event propagation.
 * The BPackageManager's highest subclass' implementation gets called, which is
   of course pkgman's.
 * pkgman decides to DIE() upon receiving word that a job was aborted.

There are thus four potential solutions to this issue:
 * Rewrite the package kit's event & job handling systems to not be so
   screwed up in terms of propagation. Seriously, there is way too much
   stuff that we send to the "user" in here, and as you can see, it can
   get *extremely* convoluted even for supposedly "simple" tasks. This
   is probably the best "long-term" solution; but obviously is far too
   involved for the present.
 * Only partially rework event handling; specifically in the SupportKit to
   allow JobStateListeners to stop further propagation. This is probably
   the best "medium-term" solution.
 * Do not pass the package manager as the JobStateListener to the
   RefreshRepositoryRequest. This would have the downside that the
   regular notifications about download state, etc. would not be returned
   at all, which we don't want. We could make a shim ... but that would be
   a lot of code for little benefit. The prior solution makes more sense.
 * Completely ignore "JobAborted" notices in pkgman. In fact, this is the
   solution that virtually all other consumers of this API take (although
   some of them seem to have TODOs about it), including package_daemon,
   HaikuDepot, etc., and so it's the one I've taken here. If a "job aborted"
   error is actually fatal, then it's the Package Kit's problem.

Fixes #13075.
2018-09-11 16:34:25 -04:00
Augustin Cavalier
b174c5f846 mime_db: Add entries with sniff rules for DjVu and XPS.
These formats are supported by DocumentViewer.
2018-09-11 16:34:06 -04:00
Augustin Cavalier
d9bbf389ad Remove the "Haiku" screensaver from the tree.
As discussed in #14447.
2018-09-11 16:33:37 -04:00
Augustin Cavalier
55abd72ac4 AboutSystem Credits: Some updates.
* Move nielx back into Contributors
 * Move hamishm into Past Contributors
 * Add some new translation contributors
2018-09-11 16:33:15 -04:00
Augustin Cavalier
bd949e1c02 Installer: Rework status message view sizing logic.
* Make the status message view have a minimum height of the logo
   view's height.
 * Properly add the views to the BGroupView layout.
 * Instead of trying to set the explicit minimum size from the status
   view information, just invalidate the GroupLayout. This seems to fix
   a number of bugs relating to text overflowing the view, while it doesn't
   fix others (e.g. orphan words on their own lines are still not drawn
   in some cases, which appears to be a BTextView bug.)
 * Use BString::SetToFormat instead of snprintf in some places.

As far as I can make out, fixes #13608.
2018-09-11 16:32:57 -04:00
Augustin Cavalier
4a8634227e BUrl: Remove HAIKU_TARGET_PLATFORM_HAIKU from main header.
These are really only defined during the build of Haiku itself,
so we don't want them in a system header. Since none of these
functions are virtual, leaving them as declared but not defined
should be fine.
2018-09-11 16:32:44 -04:00
Augustin Cavalier
c392fee262 Deskbar: Add missing NULL check in SwitchWindow().
All other functions in this file that locate the TTeamGroup via FindTeam()
do a NULL check afterwards, so the fact that this one did not just looks
like an oversight.

Fixes #14457.
2018-09-11 16:32:34 -04:00
Jérôme Duval
dcb5519e5d radeon: fix copy/paste typo.
Change-Id: I669c73a990b0fff84cf5d37b5a4cc57ad97905ff
Reviewed-on: https://review.haiku-os.org/514
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
2018-09-11 16:31:20 -04:00
Jérôme Duval
2af8a66fc5 Make areas cloned by accelerants effectively cloneable.
Change-Id: I78046af6548e36571813ce516491c7fb64581967
Reviewed-on: https://review.haiku-os.org/513
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 16:31:08 -04:00
Andrew Lindesay
e20ca69585 Support : Fixes for Verbatim Regeneration of URL String Form
A URL in string form should be able to be parsed and then verbatim
regenerated according to 'UrlTest'.  This change fixes this ability
for the case where there is a '?' initiating a query or a '//'
initiating a host/authority section.

Partly Fixes #14377

Change-Id: I6547253c3cdc22d79514edf75284e9725d1a2d17
Reviewed-on: https://review.haiku-os.org/512
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2018-09-11 16:30:42 -04:00
Jérôme Duval
691ef6069c ZstdCompressionAlgorithm: handle ZSTD_error_dstSize_tooSmall.
Change-Id: Ib6dca7ac8457afae845fad24514945b4ecd521cc
Reviewed-on: https://review.haiku-os.org/509
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2018-09-11 16:30:15 -04:00
Augustin Cavalier
64e47d613c libroot: Fix handling of debugger() call in abort().
The kernel's handling of SIGABRT is just to terminate the application
immediately without doing anything else (it only notifies the debugger if
there's one installed for this application already.) More serious faults
(e.g. SIGSEGV) originate in the kernel and handle this logic before they
even invoke the signal handler.

So the correct solution is to do the same here in libroot. This incurs
a very, very slight performance penalty of the syscall time for sigaction(),
though I expect whatever applications are causing SIGABRT to be invoked more
than once a second will call raise() directly instead of abort()...
2018-09-11 16:29:56 -04:00
Augustin Cavalier
ca88166f3b drivers/poke: Fix for GCC7 & C++11. 2018-09-11 16:29:43 -04:00
Augustin Cavalier
843db8178b drivers/poke: Only allow root() to open.
This allows applications to theoretically open() the poke device but
then change their uid/euid to something more restrictive. The mem
device is not even this permissive; but I can think of some scenarios
in which this might be useful.
2018-09-11 16:29:26 -04:00
Augustin Cavalier
a617c3a5e8 drivers/poke: Access the user buffers correctly.
Untested (as it seems /bin/poke was never added?) but unless I messed
up some of the memcpy arguments, this should work.

Fixes #14429.
2018-09-11 16:29:12 -04:00
Augustin Cavalier
8ce0d82f4a drivers/poke: Compile as C++; some formatting cleanup. 2018-09-11 16:29:03 -04:00
Fredrik Holmqvist
8e84906583 Embedded Controller, sync with FreeBSD
* Tries to handle all pending events at once
 * Wait is now polling every mS while waiting
2018-09-11 16:27:33 -04:00
Augustin Cavalier
eb4397d7f6 kernel/fs: Flush the underlying device's write cache as part of sync().
BFS does this as part of journal management, but not as part of block
cache synchronization (which makes sense, as flushing it then would
defeat the purpose of the drive's write cache.) No other file system
seems to touch it at all, so we should do it as part of an explicit sync.

This may help with some of the filesystem corruption issues, as it seems
that on slow disks, the drive might not have enough time to flush the cache
before it is powered off (or on some SATA/AHCI based disks, it is not flushed
before close at all), so triggering it here and, as the ioctl is supposed to be
synchronous, waiting for it also, seems to make sense.

Change-Id: I7d9992c21ca4b59c839711dcc96c973b4b8df052
Reviewed-on: https://review.haiku-os.org/530
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit 864b868b262e56dabe45bbb3881564a4ff162582)
Reviewed-on: https://review.haiku-os.org/539
2018-09-11 20:07:17 +00:00
Kacper Kasper
f114f600be MediaPlayer: don't fill background for mute button
* The difference is visible when control background doesn't match
  panel background.

Change-Id: Ie3a034acaa52929becd6601520e0e05f32ecc8d8
Reviewed-on: https://review.haiku-os.org/537
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit f5ac1f07e20890e92adf8f7cee03413afbc9a4db)
Reviewed-on: https://review.haiku-os.org/538
2018-09-11 20:05:00 +00:00
Andrew Lindesay
059cfb28ea Support : Fixes for Relative URL Handling
When URLs combine a base URL with a relative part, the relative part's
path component was being pre-processed.  This removed any ".." from the
path and in some cases in the unit test cases, the ".." should have been
retained and then only later applied to the base URL.  This changes
fixes this so that the relative part is not pre-processed and is applied
with it's path in a raw state.

Completes Fixes for #14377
Change-Id: I9cebb8599889494e11f40a3b54c87ebca3ed1a21
Reviewed-on: https://review.haiku-os.org/529
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
(cherry picked from commit 1a5994981b4f568f04fef429ac962f78f10bfce2)
Reviewed-on: https://review.haiku-os.org/536
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 18:40:08 +00:00
JackBurton79
728c9e70ca Fix ClipToPicture() inside a BPicture
Mimic what is't done in clip_to_shape: call SetCanvasGeometry() and ResyncDrawState().

Change-Id: Ibbd77ec8cf90952d94ee35871736e145102a763e
Reviewed-on: https://review.haiku-os.org/535
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
2018-09-11 14:56:40 +00:00
JackBurton79
721a7fd8b8 PictureDataWriter: Fix invert rect.
Resetting the drawing mode to B_OP_COPY was not right, since the previous mode could be anything.
Use WritePush/PopState() instead.

Change-Id: If9cba2c46bf372fd0164d951fcc49696cf72d576
Reviewed-on: https://review.haiku-os.org/534
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
2018-09-11 14:56:40 +00:00
JackBurton79
48d21ece9c BPicture: uncomment (and fix build) of the clip_to_picture method.
Does not seem to work, though.

Change-Id: I309d8de79a71ab8e08f4ac2f2566080b67b84800
Reviewed-on: https://review.haiku-os.org/533
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
2018-09-11 14:56:40 +00:00
JackBurton79
e46eaecf00 app_server: make a copy of the passed BPicture
Like the AS_DRAW_PICTURE case, make a copy of the passed BPicture also for AS_CLIP_TO_PICTURE

Change-Id: Id9a0adc48d73e5ec9c0d37e2ed85e30aa48369ab
Reviewed-on: https://review.haiku-os.org/532
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
2018-09-11 14:56:40 +00:00
JackBurton79
8207beba39 app_server: local variable was shadowing the outer variable
In the AS_CLIP_TO_PICTURE case, the "picture" variable was shadowing the outer "picture" variable.

Change-Id: I3b9de2432f93a683aaccdb899051a14ebf9b7e6e
Reviewed-on: https://review.haiku-os.org/531
Reviewed-by: Stefano Ceccherini <stefano.ceccherini@gmail.com>
2018-09-11 14:56:40 +00:00
Autocommitter
9cadc2c2df Translations: Add Catalan, Greek and Korean
Change-Id: I65f677e59a1caf24cd2cc2574a1064bc2eb54180
Reviewed-on: https://review.haiku-os.org/528
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Autocommitter
374241d0e7 Translations: remove Croatian and Slovenian
Change-Id: Ic37bc951be461eb7cbf1f61d9fbbc2d91009e365
Reviewed-on: https://review.haiku-os.org/527
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Autocomitter
58a509d69b Update translations from Pootle
Change-Id: I59c14d092dc6987d4bc3e12219a4d9ae227b6046
Reviewed-on: https://review.haiku-os.org/526
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Autocomitter
18a62b7a42 Update translations from Pootle
Change-Id: Id2a0302da49bef25592721211b723d7c03456c6e
Reviewed-on: https://review.haiku-os.org/525
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-11 06:24:29 +00:00
Alexander von Gluck IV
cb97f36fe0 xhci: gcc2 buildfix from hrev52319
Change-Id: I5d82059bd002c26ba372d55f5a5538ce7d19ffb2
Reviewed-on: https://review.haiku-os.org/523
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-09 19:06:09 +00:00
Alexander von Gluck IV
bc3a6aa245 xhci: Turn OpsReg waits into common function
Change-Id: I52ada3447b638db07622fa51746e75ce6cce7a46
Reviewed-on: https://review.haiku-os.org/518
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>
Reviewed-on: https://review.haiku-os.org/522
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2018-09-09 19:06:09 +00:00