- May 11, 2018
-
-
P.Y. Laligand authored
It will soon host generated GN rules for FIDL libraries. BLD-16 Change-Id: I32887ae0a2bdca9580cb9d2b5f4628fb525fdb06
-
George Kulakowski authored
FIDL-175 #done Change-Id: I18c9dc8b418566e56c78f3478427b7186210506f
-
David Stevens authored
Also change the address type in read_pci_config_16 to uint16_t, to match the underlying pci API. Change-Id: Ic16e79939ea5114c545809f993ff7ad1e2e93d86
-
Mark Seaborn authored
On a single-CPU system (booting with kernel.smp.maxcpus=1), this reduces the number of context switches per run from 4 to 2 for the following performance tests in zircon_benchmarks: RoundTrip_BasicChannel_* RoundTrip_ChannelPort_* RoundTrip_ChannelCall_* RoundTrip_Fidl_* The context switch counts for the other tests are unaffected. This change will allow some cleanup in follow-on changes: plumbing such as kWokeThreads can be removed, because it's replaced by using AutoReschedDisable. ZX-1472 Change-Id: I5206a71063f7bd3aacb97399748be0e8e68ec151
-
David Stevens authored
Change-Id: Ic512b89645b512629eb42b7b54563c7369b2060b
-
David Stevens authored
Change-Id: I22f833b7d8c1941db7772f80050b793744d2638f
-
Gary Miguel authored
In order to do this I changed the interface to allow the caller to specify the entirety of argv. I think the benefit in testability is worth the slight added interface complexity. Bug: IN-223 Change-Id: I6d5a7f0a17d335f90eddf108b7b0acc9ae596768
-
Sean Klein authored
This patch reduces the dependency on global "/tmp". ZX-1939 #comment Done Change-Id: I2f6103398b73705dc6e3b97e42fc400dc63496cd
-
Sean Klein authored
This patch reduces the dependency on global "/tmp". ZX-1722 #comment Done ZX-1939 #comment In Progress Change-Id: Ic0ec2e1fe52fafc0e0edb65fa2884af970d9571f
-
Sean Klein authored
This patch reduces the dependency on global "/tmp". ZX-1722 #comment In Progress ZX-1939 #comment In Progress Change-Id: If95419b34818a0c6fa033e584cd611b75277d252
-
Jocelyn Dang authored
Allocate a new usb request if we don't have any matching ones in the pool. We now set the device as writable if there are free trbs left on the transfer ring, rather than if we have usb requests left. Change-Id: I4e5902445a40e206c132feca5f324337cf7a8fe4
-
P.Y. Laligand authored
ZX-2000 Change-Id: Iaa4106971fca1242839b2161d3a73f405590c71a
-
- May 10, 2018
-
-
Mark Seaborn authored
Many of these functions already have the runtime check "DEBUG_ASSERT(spin_lock_held(&thread_lock))". Adding a static check using Clang lock annotations should help detect problems earlier and should make the code more self-documenting. Change-Id: I44b6eba34a3f90846a2703e604f76d3735d25902
-
David Stevens authored
Change-Id: If15b1f9fff7ea9165d9d141e2f64822818556163
-
Brijen Raval authored
ZX-2138 #done Change-Id: Id1289510cfe9191483c7c863799ac17dbad1c592
-
Adam Barth authored
We're not quite ready for the fuchsia prefix in Garnet yet. Change-Id: I9c672b02af3397f6233960064b96a74f3a9f48c6
-
Adam Barth authored
These libraries should be in directories that match their library names and their library names should be prefixed with fuchsia. Change-Id: Ie2ed132b9b634d248a5134eb35369e8ddcab955d
-
Doug Evans authored
Change-Id: I830e224293beb9c3e64b9e7893353db26ec3f7b1
-
Jocelyn Dang authored
pool. Change-Id: I03a5dacd085880b8707c4e04482100e5ee9c5dc2
-
George Kulakowski authored
Change-Id: Ic06e27c39248dbebe2c00f47e7e635ddea6c8566
-
Mark Seaborn authored
The packet will no longer be in the queue when RemoveInterruptPacket() returns, so "was_in_queue" is more appropriate. Also, the variable can be declared in a narrower scope. Change-Id: Ia5ed730116906d9a2511ef3da94ab58c542b56a7
-
Sean Klein authored
When extending the block bitmap, indicating the pool of usable blocks, be sure to actually write zeroes to the block bitmap itself, and not a random spot in the data blocks. ZX-2135 #done Change-Id: I53d76f8047f4d59b7fecdf13b3dc88a19b4b8d62
-
Tricia Landers authored
Change-Id: I8b9cdc5514159d94694fa7a9e02e18e3c7921c6c
-
Mark Seaborn authored
Change-Id: Ie360805be45e314011166dd929588d045ef1a723
-
Mark Seaborn authored
The median is useful because it's more robust against outliers than the mean. (On the other hand, the median is not so robust if the running times have a multimodal distribution.) ZX-1472 Change-Id: Ia2b6e02ceadfd4b777b0f2c67a0083c22c1efaec
-
Eric Holland authored
Change-Id: I4698beb977236357fcef1e06e17208a2cc449b33
-
Adam Barth authored
This binary exposes a FIDL process launching service. Nothing currently runs the process. Change-Id: I8b60a5ba40ec3f4f406855c53f59e8c178122047
-
Brijen Raval authored
Breaking down the fan-control thermal prototype driver into 3 parts. 1st layer would be the Mailbox driver which would provide communication between the two on-board processors. 2nd layer would be the SCPI driver (System Control and Power Interface) which would use the mailbox protocol to set/get system configuration such as frequency/voltage and thermal parameters. 3rd layer would be the Fan-control driver which uses the SCPI protocol to get the temperature and controls the fan via the GPIO protocol based on it. (TODO): Expose the fan-ctl & SCPI interface as IOCTL's in a later CL Change-Id: Ia0175fdfe76048d7cb789e3898e50d9cffb3cee3
-
- May 09, 2018
-
-
Tricia Landers authored
To avoid a race condition where a transaction is completed but the correct counts are not reflected for the client, update all counts before calling complete. ZX-2078 #done Change-Id: I57a9f23ca3b61b7c26f2c2e21fa7b5df6b9c4331
-
Adam Barth authored
This CL contains the build integration for the process-launcher binary. Change-Id: I6550f80fbfe3e5a3fb035bf53e14f97e80d4220e
-
Jocelyn Dang authored
Currently only handling small transfers and no multiplexing. Change-Id: I62ce2a5d57f7fbdfa69682ad3760577bba352272
-
Nick Maniscalco authored
.. where subsequent assertions trigger a panic. ZX-2130 Change-Id: I83b107c53336a1a86e711f2b8cb52abd40687356
-
Nick Maniscalco authored
Tested by allocating 50MB in 1KB chunks, freeing it all, and checking heap size via "k heap info". ZX-2134 #done Change-Id: Id3260ad3bc8173e523e1a09cb726b72cbf7073e7
-
Gary Miguel authored
Main changes: * CamelCase instead of snake_case names, in accordance with our C++ style guide. * Use fbl::Vector instead of list_node. * Use fbl::MakeAutoCall and objects that clean themselves up on destruction instead of "goto fail". * Potential bug fix: check if get_info() return val != ZX_OK, rather than previously checking if it was negative. * Behavior improvement: insert a TestRun into the tests vector for all failure modes. Previously we would only do this if we got to launchpad_go(). There's no reason for the result to not be saved if the failure comes earlier than that. Bug: IN-223 Change-Id: Ib6cce2682c1ed5b2d15c13d5c193558eae2f8e88
-
Travis Geiselbrecht authored
Change-Id: I57e2a2bf647476166217eca3953abb9b697f781b
-
Arve Hjønnevåg authored
If the device tree has a memory base and size, the old code would use the size from the device tree even if the base is different than the entry than this size will overwrite. Save and use the base address as well. Overriding a non-zero base address with zero is not currently supported. Change-Id: Id1a301b84702a98abb0d41f2da44efedefaca53c
-
Travis Geiselbrecht authored
ARM64 post-indexed ldr/str instructions only have a 9 bit signed reach, unlike the regular non indexed which has a 12 bit reach. Reduce the max stride to <256 to fix a too-long stride problem that showed up with -O0 builds. Doesn't seem to hurt x86 builds since pretty much all strides were calculating to <64 in all cases anyway. Change-Id: I26158ce22e91e7c45c627b6ce1d55385136e1dea
-
Mark Seaborn authored
These are mostly left over from the mx->zx renaming. Change-Id: Iad6c38e83106b007fa2cbf76aa54806ae15bedae
-
Nick Kralevich authored
Modify the setter functions for ZX_PROP_NAME to disregard data from userspace which occurs after the trailing NUL character. Additional data beyond NUL is garbage from userspace and shouldn't be stored in the kernel. Modify the getter functions to completely sanitize passed in memory before returning it to userspace or other parts of the kernel. Add additional tests to exercise this code and prevent regressions. Fixup unittests (added in commit 22efc1d7) which asserts that the buffers aren't cleared. Fixes ZX-2048, which appears to have been introduced in commit 22efc1d7. Change-Id: Ifd29767bb4ab7b1866ad90503fab8fd1f36ca543
-
Mark Seaborn authored
Change-Id: I7469a32240d780ac1099af2d1bb2139c2703688c
-