- Feb 26, 2019
-
-
Adam Barth authored
This header is deprecated and will be removed soon. Change-Id: I9cbaf283dee8b43b14adb4ee35d67829d265ce2f
-
Venkatesh Srinivas authored
* Add an enumeration entry for when we're not running under a hypervisor; today UNKNOWN is used for 'all non-KVM and all physical'. This allows code elsewhere in the kernel to see whether we're running under a hypervisor or not, so we can apply certain workarounds if needed. * Modify select_microarch_config to take the x86 uarch enum by parameter rather than global and have it return the selected config operations table. I'd like to move towards an interface for code throughout the kernel to query decoded CPUID feature bits/synthetic feature bits/family-model- stepping data. The interface would allow writing tests for particular F/M/S targets. Marking the globals as such is a start towards that. Change-Id: Ic94d7661c8051fbda3ec9eef6e31750e0c53a08d
-
Bryan Henry authored
All existing users have been migrated to 'deprecated-global-persistent-storage', which is protected by a whitelist. New users must use 'isolated-persistent-storage' instead. Fuzzing tests have been broken for a while now because of assumptions made about /data across namespaces, and this wasn't caught because they don't run continuously (and no one complained). SEC-200 filed to fix them. CF-28 #progress Test: CQ Change-Id: Ibadb12f76012e4ed8eaa297b60d243c46e508faa
-
James Tucker authored
The unit tests were being run from /pkgfs directly, relying on libz from /system/lib. Adding a component manifest results in a migration to the package loader service. Bug: PKG-494 #comment fix trace_tests Change-Id: I0017ee3091c24193b0c137186bbfd30ffbeb3f49
-
Tricia Landers authored
Separate "WritebackBuffer" into an in-memory buffer, and an asynchronous processing WritebackQueue. Test: fs-test Change-Id: I49f82e76c0c352459b262bd24c8d33b0a9a1a2c8
-
Yifei Teng authored
TEST: runtests Change-Id: I07d9051383695a6035ec155bcb3ccb1813cacb0e
-
Adam Barth authored
This change is part of a LSC migrating all clients of lib/component/cpp to lib/sys/cpp. Change-Id: I101c632af6e16156f742317fe25f27c16baefbda
-
Eric Wang authored
Change-Id: I98914df3a650febcccc224656ac7b8ba141bafbe
-
James Tucker authored
fx-error prints ERROR: and it's arguemnts to stderr, with the prefix colored red if stderr is a terminal. fx-warn prints WARNING: and it's arguemnts to stderr, with the prefix colored yellow if stderr is a terminal. test -t is known to be imperfect, however, it should be sufficiently portable to be usable for now without otherwise going off the deep end. This should help to make errors and warnings stand out in output for a large group of users. Change-Id: Ib7fdee3ca677bfd27e4a3a64d39ecc9a812bfeab
-
Jeff Belgum authored
TEST=CQ Change-Id: Id81c9a8481679720b5a9eeb256e04f0612cdb626
-
Tricia Landers authored
When writing to a data block, always allocate a new block, even if one has been previously allocated. The data txn is sent out to disk before the inode metadata is updated to point to the new blocks. ZX-1284 #done Change-Id: I466ec9967a2361288061093b49acbbb845bd34d6
-
Nick Pollard authored
The 'Type' enum class in common::DeviceAddress has only 4 options, but defaults to a 32bit int, which due to alignment causes DeviceAddress to be 12 bytes. Switching to an explicit uint16_t allows the entire class to be packed into 8 bytes, which will allow it to fit in a 64-bit register and is likely to generally improve memory usage and performance. Change-Id: I6b1af5bde495bc57ee41db4f6b7e664d056f24cc
-
Joshua Seaton authored
This enables host-target interaction tests, allowing a linux test to target a NUC environment, for example (which would mean that it would run on the attached controller machine). Bug: IN-816 Change-Id: I7e338de21130d24dadf300c1f8a324316dd55811
-
Braden Kell authored
Test: I7bcc11f98e5d72ef814981b120ece96bfbb3ed75 Change-Id: Iaefc57502d86095b618d5bf4bd5847b9d9d85671
-
Joshua Liebow-Feeser authored
- Remove commented-out code accidentally left in a previous commit Change-Id: Iac6649a5758861877f96de79400b8c7c81ec84a4
-
Adam Barth authored
This change is part of a LSC migrating all clients of lib/component/cpp to lib/sys/cpp. Change-Id: I83398da73a5af9fbb04475fd5973573f96ee8833
-
Doug Evans authored
Tested: CQ Change-Id: I0223558585a92c968240d7c72aa158359b7cb887
-
Adam Barth authored
This change is part of a LSC migrating all clients of lib/component/cpp to lib/sys/cpp. Change-Id: I5bd2b5942a129c643567e2b1467e8580d591fdb6
-
Nathan Rogers authored
Apply cleanups discussed in the hello_touch_colors change to hello_base_view. Test: CQ Change-Id: Ia84833571073d82c822447e914301376615e0874
-
Adam Barth authored
This library is being replaced by //sdk/lib/sys/cpp. This starts limiting who can use the old library. As we migrate clients to the new library, we can tighten down the broad allow patterns in this initial list. Change-Id: Ic1e5ca2097f7fd5da327fccb9f3cd1ad4526407b
-
Christopher R. Johnson authored
This is a temporary workaround for ZX-3284, which is causing iquery operations to hang occasionally. The problem is that components who are resumed from a suspended state occasionally miss events waiting on a channel. This change adds a new FilePoker class that takes the path of a directory that will soon be opened. If the operation to open that file happens to hang, a thread wrapped by FilePoker will attempt to open the directory, which unsticks the process. This hack uncovered a possible additional problem with thread suspension, but it is far more rare than the original issue. ZX-3284: #comment CF-255: #done Change-Id: I74263679f19446c11e0999a5e522a21fe43c1e71
-
Jaeheon Yi authored
SCN-1280 #comment TEST=CQ Change-Id: I9f42d63a0b632ab31d1e2cf6fe1b4f1504a3d05f
-
Leo Lung authored
TEST=fx run-test-component component_manager_tests CF-536 #comment "Despite its stocky shape and short legs, it can easily outrun most humans. Hippos have been clocked at 30 km/h over short distances" Change-Id: I157e83298f2437982068c272c08527bb6ab7c570
-
- Feb 25, 2019
-
-
Mohan Srinivasan authored
Cosmetic changes. Cleanup some code, naming changes in the x86 board driver. Test: CQ, boot NUC and make sure ACPI and other x86 drivers load fine. Change-Id: I1378c64cc00026f541ef57d114627fa6b4131d32
-
Elsa Zuckerman authored
TESTED= build Change-Id: I6e93ea1ec7cf7e3bf7dfb6c94f7d644c2ea2c8b0
-
Doug Evans authored
Tested: run suspend_stress with --verbosity=2 and verify output Change-Id: I5a1509d677288f7336720d5958dca95137df3d31
-
Derek Gonyeo authored
Modify the RunnerError to derive failure::Fail and for each enum option to contain an inner failure::Error. Update the error handling in the ELF runner to reflect this. Change-Id: I5b7d092a2503b2a3a93928c07e70ca40cddc2ccb
-
Adam Barth authored
This change is part of a LSC migrating all clients of lib/component/cpp to lib/sys/cpp. Change-Id: Ica94c0402b95980d51315024dc60ba52ba1e796f
-
James Tucker authored
Change-Id: Idecc24b76492c775bcc51a6d756a0d71b0014358
-
James Tucker authored
Change-Id: I70feb9970c7ebd44935a75241f77c20803cb1906
-
Dave Schuyler authored
This CL adds sampling for memory stats. These are system-wide samples (not per process or thread). Test: //fuchsia/out/x64/host_x64/system_monitor_tests Change-Id: Icaf818ba2b58992d53d9a43668426e8e6049874c
-
James Robinson authored
This consolidates the package definition files for many command line tools in the garnet directory to the //garnet/packages/tools directory and includes them in //bundles/tools so it's easier to build them as unit. This leaves a few forwarding declarations behind for packages referenced from topaz.git. Change-Id: Iabc053af938493e2671c4b7694ff27bb287ac48e
-
Christopher R. Johnson authored
This change replaces iquery's manual traversal code with the new inspect/reader.h interface. To simplify iquery path handling and to make parts of the path more clear, this change also introduces a delimiter between the file part and inspect part of a particular path. Consider the inspect tree: objects: table-0x0: row-0x1: table-0x2: Previously we would write: $ iquery --ls --full_paths objects/table-0x0 objects/table-0x0/row-0x1 Now we write: $ iquery --ls --full_paths objects#table-0x0 objects#table-0x0/row-0x1 The delimiter '#' separates the file part of the path from the inspect part, which makes the meaning more clear ("open inspect at this location, then traverse to this child" vs. "expect to find an inspect endpoint along this path and once that is open continue traversing to the proper location"). CF-218: #progress Change-Id: I31df97351aca4e3df5f53df4aa842c7207c2e18d
-
Jeremy Manson authored
Test: Added tests to fidl-compiler-test. make && fidl-compiler-test Change-Id: I9980184e92c4f45b6ebd3e13c7129a6e79160f14
-
Emircan Uysaler authored
This CL add a number of flows to communicate between scenic and the thread running a BaseView. Note that BaseView::PresentScene relies on https://fuchsia-review.googlesource.com/c/fuchsia/+/254250 PT-86 Test: hello_touch_colors Change-Id: I12e110ed57ec74a031ac65365babf2c23d23cff4
-
Doug Evans authored
... plus rename io_thread_ to port_thread_. "io_thread_" clashes with the I/O thread that servers run. Tested: CQ Change-Id: Ib4f746c28b2ea468f84eeb62e6855980a46ba7af
-
Pascal Perez authored
* Adding warning, will turn into an error on 3/4/2019 * Adjusting a few test files to avoid generating warnings in tests * Fixing a use of interface in the SDK Test: ninja -C build-zircon system/utest:host && ./build-zircon/host-x64-linux-clang/obj/system/utest/fidl-compiler/fidl-compiler-test Change-Id: Ic9fca96f5122bac20c2e64c2e0c6eccdfaba19d0
-
Dave Schuyler authored
Primarily clarified "one blank line (two consecutive newline characters)" rather than "one newline" (which is doesn't create a blank line). There are other formatting changes for consistency as well. Test: none Change-Id: I31aa64b762daf2b10d07580fea3589f5c32e1ba6
-
Dustin Green authored
For now, work around a bug in SoftAAC2.cpp where it can editItemAt(0) and dereference the returned reference despite the vector being empty. For now, we let SoftAAC2.cpp have a reference to a dummy_. MTWN-236 #done Tested: use_aac_decoder_test (asan) Change-Id: Ic8effb3ca703530133f98f40bb79bc973594166c
-
Ed Coyne authored
We create a standalone(ish) service that lives in svchost that will handle kernel-debug related things (kerneldebug commands and ktrace). This also update the "dm" tool to talk directly to this new service. This is a re-commit of I5afd3e7bc366debf7b4819dfe62d66cfc665a9dc with support for the "k" cmdline tool. Test: Tested 'dm' tool and 'runtests' on qemu-x86. Issue: ZX-3403 Change-Id: I5121346af4d24d479872c8655258b8cf4abb9957
-