- Feb 05, 2018
-
-
P.Y. Laligand authored
TO-733 Change-Id: I5b61eb3fd01335441c376c191ab90c4a176a1963
-
David Stevens authored
Change-Id: I58dd910fa9cef9c9e5435b88949a6621b0533b68
-
David Stevens authored
Change-Id: Ia8a95fd2fbcfd366bf02a8b9adb8192bc6bff139
-
- Feb 04, 2018
-
-
Ryan Macnak authored
Change-Id: I09578c0728c12fcfeb65081390fb91862ae20d5e
-
carlos pizano authored
Adds a periodic (every 2s) watch to the selected counters. With this CL the current command set is k counters view <counter-name or counter-prefix> k counters watch <counter-id> k counters watch --stop Change-Id: I523c04504ab934dbadcd047354ab3425802a4ad2
-
Abdulla Kamar authored
This moves the timer handling back to WFI/WFE events. Without this, we were injecting far too many timer interrupts, causing constant world switches between the guest and the host. Change-Id: Ic78c8d92943d52c4fdd90e3568f108843d00aa78
-
Abdulla Kamar authored
Many uses of InterruptTracker::Interrupt() simply ignore the signaled parameter, so allow it to be null. Change-Id: Icf8e11f3662b23e2792a5a932372308d430d5e15
-
Abdulla Kamar authored
This is to make it slightly clearer that the function is setting up the test and then signalling an interrupt. Change-Id: I6e268a2ba2e074ec4a5eb83484b7c006ff0ed6cd
-
- Feb 03, 2018
-
-
Abdulla Kamar authored
When we receive an unexpected EL2 exception, we should return back to host with an internal error, rather than halt. Change-Id: I31d549c0c2a61a10f931c5bd99cce5af4a2f288c
-
Abdulla Kamar authored
This allows us to skip injecting interrupts that are still being processed by the guest. Change-Id: I5986a4a99851ba35588bced593b140b79b604350
-
Abdulla Kamar authored
Restore timer registers when we re-enter the guest. We still need to do more to correctl handle timer interrupts, but that will come in a follow up change. Change-Id: Id8051ab164ddc2e1f83e476cf292a18b4ea323e2
-
Adam Barth authored
Previously, we generated a blank line with trailing whitespace for empty arrays. Now we keep more careful track of the whitespace in order to generate an empty array as []. Change-Id: I595b2e3b3673d5ef8ef73a977ea39975cba5955e
-
Abdulla Kamar authored
These are some cleanups from a forthcoming CL. Change-Id: Ide49fc77d6782f814b0f77680560186f69c41160
-
Adam Barth authored
Enum types are always integer types. We can just encode that directly into JSON without needing all the structure that's required to encode an arbitrary type. Change-Id: I31053c75c7afff2f7d60adb4065f26d74f4109a3
-
- Feb 02, 2018
-
-
Brett Wilson authored
Firms up the contract for zx_read|write_thread_state and makes the state more explicit for each platform. The general register struct has been made for the current platform which simplifies much fo the code. The sizes are converted to size_t for consistency with other object calls. Forwarding #defines and typedefs are included for downstream users until they can be updated. This will likely need to be revised somewhat again when we add more thread states, which I plan to do in a followup. Change-Id: I57e8e9979d073c8efdfaeb2683f9f83494d19abf
-
Mike Voydanoff authored
Not tested, but "should" work Change-Id: I444163068b80ed42f8a0b2d55f0249d7a705eaed
-
Mike Voydanoff authored
Gauss only uses I2C_A and I2C_B, so only initialize those two. This is what we used to do before the recent I2C refactoring Change-Id: I08f59cfebc3a73b20cc5393746a77fd36f78b2d1
-
Mike Voydanoff authored
Also integrate into the VIM board driver and add GPIO test driver that blinks the LED at the back of the board. Change-Id: I7e1f25cac5cb49347eaa7a3919c8791f97eea12b
-
Adam Barth authored
This JSON IR will be used by the various language backends to create language-specific bindings. Change-Id: I9555f43b7f7363a1adfbaf34d0a67eceeeb2a37d
-
Benjamin Lerman authored
Change-Id: I8c3fbe9f373adf2d94aa43b1d54819f657bb4ea0
-
Travis Geiselbrecht authored
This makes run-zircon -A -b work Change-Id: I8dab59cc522a292eaafeb46d5df8fd8e6dee0727
-
Travis Geiselbrecht authored
This particular function needs a return statement if the assert isn't implemented. Change-Id: I045e11b78ae6d86513ab28f5518be91fe52267bd
-
Brian Swetland authored
Change-Id: Ia69305910e09975bee222209aabdb81a2ba2ddc6
-
- Feb 01, 2018
-
-
Brian Swetland authored
iotxn_queue() is going away, which will break it, and it does a few things that are not really correct relative to the driver model, such that it'd be preferable to do a more significant cleanup than just hack around the iotxn change. Change-Id: Ica5574469cd26cd422f997bcc5e2b88f622a5983
-
P.Y. Laligand authored
Equivalent files are now automatically generated under public/. TO-562 Change-Id: Ibb79b6d83e06a2e2652897f46d141009ab0d2557
-
Mike Voydanoff authored
Change-Id: I32b9e068fd83cfdbe22804d8b86926173e1b196c
-
P.Y. Laligand authored
Otherwise the source detection mechanism kicks in and spurious sources may be included. Change-Id: I7fdca06020b715b34ccd0b663c638af805ba07ff
-
George Kulakowski authored
This also moves ownership of library-shared resources into the library. This includes data structures for tracking source information and for name resolution. Change-Id: I13c205dae445d0253d5ec84ae1ed580c42312300
-
Mike Voydanoff authored
The pin-muxing works differently on the S912 and S905X, so we will need a different GPIO driver for those SOCs. Renaming this since we will need multiple Amlogic GPIO drivers. Change-Id: I654c9556fc46d196a6a51a555966e1fedb1aa38f
-
Yvonne Yip authored
Change-Id: Iee44a66e5b02ab5e0e19d7d18c2cf499296d843d
-
Mark Seaborn authored
It is possible for the port packet to report both ZX_THREAD_RUNNING and ZX_THREAD_TERMINATED if the zx_port_wait() call is slow, which would cause a test failure. This can be reproduced by adding a sleep before read_exception() or by running Zircon with a single CPU. Fix by accepting combinations of port packet events. ZX-1463 #done Change-Id: Ie800f0121b51e910ee5da77685a63e90b138d4e7
-
Mike Voydanoff authored
Now we have a single system/dev/soc/amlogic directory with subdirectories of include/ for different Amlogic SOC variants. Other than the gauss board file, other modules now depend on this via MODULE_HEADER_DEPS. The gauss board file still needs to include this as a static library fora113-clocks.c, but eventually this will likely move to a separate driver and this will become a header-only module. Change-Id: I8c3cb5e39e9ed56d56c120e2de435ac020a0e54e
-
Travis Geiselbrecht authored
As threads are queued up on a mutex, boost the priority of the owner thread to the highest effective priority of all the queued threads. If a thread holds multiple mutexes, hold the highest boost for any of them. ZX-1643 #done Change-Id: Id73ee904ed3681b9fe96ca1e69bc74a3d0576c0b
-
Travis Geiselbrecht authored
Will now track blocked threads as a list of queues, sorted by priority. Threads are added/removed in FIFO order within their queues. Change-Id: I9ac10cc22cd2959b2731ab8559caf724c2dd5ffe
-
Josh Conner authored
Remove tftp_session_set_block_host_endianness() workaround for NET-186. Change-Id: I7b1ec1bb1aa4263cd59b9bb77ff863f04c43df2b
-
- Jan 31, 2018
-
-
Mark Seaborn authored
Add checks to make this more of a test. ZX-1617 Change-Id: Ieb67b5fbd47f8ccef722ca24dc0fd9ee8fe90565
-
Josh Conner authored
Rather than read a single rx entry every time we need one, read a group at a time. This reduces the number of syscalls we make and will make it easier to recognize when we are running short on rx entries, which will be useful if we ever want the ability to apply backpressure onto the device driver. NET-402 Change-Id: I4ac18f3667b46db6163784bd9477eb63fc1f0efb
-
Mark Seaborn authored
The return value of (vsn)printf() is now checked by the various test_printf() calls above. ZX-1617 Change-Id: I4c83ea3979a2f42459fe9d2de6bd1b7143298963
-
Aaron Green authored
This CL adds the actual driver and associated tests. The driver consists of the Device itself, extra fields used to associate I/O requests with pooled resources used to perform cryptographic transformations, and threaded workers used to perform that work asynchonously. Change-Id: Ib1ac05c6abda076359264b861946d23aba98d983
-
Josh Conner authored
Disallow tftp connections using netboot protocol earlier than v1.3. Change-Id: I3d142e8e8212d2cb2cfd76be0a72832e2bbc11a7
-