- Mar 14, 2018
-
-
Shai Barack authored
Change-Id: I04a68ad9c265af7b2519e4b5b33d31d8d9140df8
-
Mike Voydanoff authored
- Remove i2c_channel_t. Now the i2c protocol ops use a uint32_t index to specify the i2c channel - Remove i2c_set_bitrate() from the high level i2c protocol. None of our drivers actually implement this, and if they did this would be something set by the platform board driver, not the client. - Remove the "actual" parameter from i2c_complete_cb. i2c read transfers either return the amount requested or fail, so this parameter is not needed. Change-Id: I2dc2499ba1218d9bfd3501a43982279a3c534157
-
Mike Voydanoff authored
- Add new protocol ZX_PROTOCOL_I2C_IMPL for i2c drivers to implement This is a simpler protocol to implement than the existing ZX_PROTOCOL_I2C protocol - Convert the aml-i2c and dw-i2c drivers to implement ZX_PROTOCOL_I2C_IMPL instead of the higher level ZX_PROTOCOL_I2C protocol - Move logic for queueing i2c transactions from the i2c drivers to the platform bus driver Change-Id: Ic16d18ec331f73cfccce560c1423a1db78472670
-
Petr Hosek authored
SafeStack is now enabled automatically by the toolchain driver. Change-Id: Ic4e3e437baf2fe3569385c46e328f7bdc62ffe0a
-
Abdulla Kamar authored
This reverts commit 1229a100. Reason for revert: This breaks use of the software framebuffer. Original change's description: > [vim][display] Implement display ioctls > > The get_fb ioctl can grab the real framebuffer, so an unnecessary copy > is avoided. This code is mostly temporary until the real GPU display API > is implemented. > > Change-Id: Ib57999a96ca50851c531aaf1dd5157e1d3c3cc2f TBR=voydanoff@google.com,jbauman@google.com,payamm@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I50a0d81bdc146fac15282f509316f06f57a8555c
-
Mike Voydanoff authored
We now use a global all-boards.list file instead Change-Id: I4da0ed7bf70a13b0b43f71f007891b5c1c9fbc48
-
Travis Geiselbrecht authored
A path exists where in the LL_DEBUG case a uart puts happens before the driver has had a chance to run its early init hook. This add a test to make sure the driver is initialized before trying to write the string. Change-Id: Ia2d8e790d4fbfc1ecc7a052468644fcd2d5b706b
-
Todd Eisenberger authored
Change-Id: If81c1f6e3441524479c191ae52037fb9c777781c
-
Todd Eisenberger authored
Change-Id: Ie1d4db1290c1b0e303b862a133a4beeee43b4659
-
Todd Eisenberger authored
Change-Id: Ibdc3d91040114c1483b094b015ac233a0d6ca9ea
-
Todd Eisenberger authored
Change-Id: I0a22b9ec61e1e4083e89c4ce43b2549fff052cf4
-
Mike Voydanoff authored
instead of the deprecated io_buffer_init_physical() in the vim, hikey960 and gauss platform board drivers Change-Id: Ice59d6b890c1118ce15b104d2ac673bd6119114d
-
Todd Eisenberger authored
Change-Id: I376b21d74595471ef73fd39215988df2a38fdd50
-
- Mar 13, 2018
-
-
Alex Legg authored
Use interrupt 32 as the test vector. Previously 0 was used, which is counted as an NMI and injected into the guest before it has set up the IDT. Also, a slight change to interrupt injection code. Vectors 0-31 are exceptions and so should by labeled as hardware exceptions when passed to the guest. However, breakpoint and overflow exceptions should be software exceptions. Previously all vectors up to the max Intel defined vector were reported as hardware exceptions (and also considered to be NMIs), here we lower that to only include vectors below the user defined base (32). Change-Id: I067a7befac3a65b2aede692aefcfc79b74536de0
-
John Grossman authored
When a user is using the CreateAndMap functionality of the VmoMapper class, allow them to specify the cache policy applied to the created VMO if they need to. Change-Id: I86ce4541dc5880fa1d3e1419ac696d0669f14948
-
Todd Eisenberger authored
Change-Id: Ia1ef472aad298d643ef46008d1109f2a48c36ace
-
David Stevens authored
ZX-1567 #comment Change-Id: I6fd8aab6b71ded97f641e1a50e0f93c3ec1103ba
-
George Kulakowski authored
Change-Id: Id8231aad2cc8603d7c431b3999740534bcbccd7b
-
George Kulakowski authored
Change-Id: I1c910162540209a1c46ebe3e8d68939e54bf2ab5
-
Adam Barth authored
Change-Id: I97512904c20ccb0a3f6af7a11f02a4c48ee91fcd
-
Mark Seaborn authored
Remove an unnecessary assertion. 100usec is often enough that timer_set() returns before the timer has run, but it's not always enough, in which case the EXPECT_EQ() would fail. Rather than increasing the wait time that we pass to timer_set(), we can just remove this assertion, which I had originally added just to make sure that the "while (!timer_ran)" loop works properly. ZX-1690 ZX-1820 Change-Id: I133e1996a519e8f74075043c73ddb012a254fdc8
-
Todd Eisenberger authored
This will let us retrieve system information such as product names, SKUs, and firmware revisions that may be useful for logging in bug reports. Change-Id: Ia42d1ec715a5f8898165070e243ec163bfe89a98
-
James Tucker authored
`fx mkzedboot -i` now creates zedboot keys with minfs partitions in a GPT with the special installer type GUID and containing a binary for paving a copy of the system from that key. Change-Id: I9ab879d34a1b2483815313da1b815b0826b5e15c
-
- Mar 12, 2018
-
-
Tricia Landers authored
Change-Id: Ie73e190293dc0676a66def8d30c0dbe289bdcff5
-
Tricia Landers authored
Change-Id: I4c1c0d56f673c141170f96e9f14590d574941130
-
Jaeheon Yi authored
Change-Id: I23ccdc66760f66c78ec666b8acfe6be3a5e4341b
-
Abdulla Kamar authored
When there are many interrupts pending from devices, there may not be any spare list registers for the timer interrupt. If the timer interrupt isn't fired on time, Linux's RCU handling becomes unhappy. Therefore always give preference to timer interrupts. PD-88 #done Change-Id: I2bad326f82805b10a19a4208b6c7729f358ad3b4
-
Brian Swetland authored
Under the new rules you cannot bind a path below a path that has a remote bind point. So, for example: create(ns) OK bind(ns, "/dev/foo", 1) OK bind(ns, "/dev/bar", 2) OK bind(ns, "/dev", 3) FAIL bind(ns, "/tmp", 4) OK bind(ns, "/tmp/tmp", 5) FAIL create(ns2) OK bind(ns2, "/", 6) OK bind(ns2, "/tmp", 7) FAIL And when you open something via the namespace you either get a pure virtual directory (like "/" or "/dev" in the above example) that you can readdir() and open_at() but cannot otherwise interact with, or you get a clone of the bound directory ("/dev/foo, "/dev/bar", or "/tmp" in the example) which you can pass to another process, do all the usual directory operations on, etc. Change-Id: Ifc88718c532a7cf24fbbb7bdd728978cc8382304
-
Mark Seaborn authored
Change the preempt_disable field to be a counter instead of a bool, and check preempt_pending only when preempt_disable is decremented to zero. ZX-1690 Change-Id: If1adefe53a23e7fb3cb4bae3a3421bb08fcb7af2
-
George Kulakowski authored
This will be needed to compile a library along with all its dependencies. TO-863 Change-Id: I6eaa1b8abf2dd6da8c0a0a46ad54614671e5d937
-
Shai Barack authored
In preparation for changing the zx_vmo_read() and write() syscalls, introduce aliases (zx_vmo_read_old() and write_old()) for the existing behaviour, migrate zircon callers to the aliases, and mark the original syscalls as deprecated. Once the garnet and above layers have been migrated, the original syscalls will be adjusted to remove the "actual" argument, and the temporary _old() versions will be deprecated, and then removed. ZX-1802 Change-Id: I2fab9a59caf4093fb585ada6015197017767aba2
-
John Bauman authored
The get_fb ioctl can grab the real framebuffer, so an unnecessary copy is avoided. This code is mostly temporary until the real GPU display API is implemented. Change-Id: Ib57999a96ca50851c531aaf1dd5157e1d3c3cc2f
-
George Kulakowski authored
In particular, generate fidl_types in dependency order. With this patch, types.fidl2's coding tables compile. This patch also rationalizes the names of RequestHandle and InterfaceHandle with those used in the backend. TO-856 #done Change-Id: I11e380856ca6968bfbcf20e5bcc03770bf424260
-
Adam Barth authored
We don't use these files. Change-Id: I2b86b321738f0d8b7f647ea96c104604c4892622
-
Mark Seaborn authored
The "msg" argument is optional in C++. A number of instances of empty-string "msg" arguments have appeared since I last removed them. This cleanup was automated. ZX-905 Change-Id: I434d129836642216588f110d1cb161859ff3efea
-
Arman Uguray authored
bthost was not able to bind to the bt-hci device because the driver held on to its command channel after becoming visible. The command channel now gets closed before making the device visible. NET-367 Change-Id: I78e1710e95d176b5b476dbd90695d3b8c2118801
-
Mike Voydanoff authored
Move the enum listing the gauss I2C ports into the gauss board driver and stop using it in the aml-i2c driver. Change-Id: Ic634a62fcb4108106ee3939b6c4bd72f732cdb11
-
Eric Holland authored
add support for get_bti to ddktl ethernet interface. Also added for tests and tapdevice. Change-Id: I826c606d3db15d91ed7c4376ce58fbe86f1352d2
-
P.Y. Laligand authored
Change-Id: I8da227d3e18eeadd417a4bd99d176e36cd871923
-
Abdulla Kamar authored
With the recent cleanup, we forgot to adjust the pointer being memset, which subsequently caused the virtio-gpu driver in a Zircon guest to crash. PD-92 #done Change-Id: I40100af06b04fd9a3e3b468c1f30153a3eb85de0
-