#
47ee44f5 |
|
19-Jun-2018 |
Petr Hosek <phosek@google.com> |
[acpica] Set alignment on acpi_table_facs to appease Clang The acpi_table_facs, like many other ACPI structs, uses byte-packing to match ACPI specification, but that means Clang insists on generating a call to __atomic_compare_exchange_n intrisic to satistfy alignment requirements when trying to atomically set the value for GlobalLock. This is undesirable, especially since acpi_table_facs does not need one byte alignment. So to appease Clang, we explicitly set the 4 byte alignment for this struct, and enable -Wpadded error for this struct to ensure we catch any potential future regressions. Change-Id: I638bd500ba01d5a6f38ccd598e66a6ba65460e84
|
#
a0672e5d |
|
02-May-2018 |
Roland McGrath <mcgrathr@google.com> |
[public][ulib][dev] Add __FALLTHROUGH macro for warning suppression GCC 7 enables -Wimplicit-fallthrough with -Wextra, so we'll get it. Clang has it available, so start using it and clean up code accordingly. The GCC feature will actually recognize some formulaic comments to suppress the warning. But there's also an explicit syntax, and C++17 added a standard one. So use that instead, via the new macro __FALLTHROUGH in <zircon/compiler.h>. TC-36 #comment Clean up code in preparation for more -Wimplicit-fallthrough Change-Id: I28309c91c32db1313d52f4255836c5ea687e141f
|
#
4fe99d70 |
|
02-Nov-2017 |
Todd Eisenberger <teisenbe@google.com> |
[acpica] Export AcpiHwSetFirmwareWakingVector This is the internal function used to implement AcpiSetFirmwareWakingVector, the usual API for setting the wake-from-suspend address. That API makes assumptions about how much of the ACPICA environment is setup that aren't true for our kernelmode, so we expose the inner mechanism that bypasses those assumptions. ZX-1184 Change-Id: I8367fbaf9f51fc93446aa7c8e05b0947073ab887
|
#
f7fd0c47 |
|
06-Oct-2017 |
Todd Eisenberger <teisenbe@google.com> |
[powerctl][acpi] Partially implement S-state transition This implements enough of the S-state transition code to be used for the shutdown codepath, and for suspending-to-RAM (but not resuming). ZX-1184 Change-Id: I88aa959db1a77e903e1f98c8d5ea83a825ff24fe
|
#
a7877209 |
|
09-Oct-2017 |
Jake Ehrlich <jakehehrlich@google.com> |
[prebuilt] Update Clang toolchain This change also fixes errors caused by -Wnull-pointer-arithmetic. Change-Id: Id4ee4e1c6308a03508061a5a3ebe2817ee05b109
|
#
565aa852 |
|
26-Sep-2017 |
Todd Eisenberger <teisenbe@google.com> |
[kernel][acpica] Trim out some unused source files Change-Id: I3a2f750ebea24de28149aa43c65695cde8ee1f7a
|
#
f3e2126c |
|
12-Sep-2017 |
Roland McGrath <mcgrathr@google.com> |
[zx] Magenta -> Zircon The Great Renaming is here! Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94
|
#
5bdacaa0 |
|
05-Jul-2017 |
Todd Eisenberger <teisenbe@google.com> |
[acpi] Use more conservative CFLAGS ACPICA and the ACPI service were building with -Wno-strict-aliasing, which silences warnings about strict aliasing violations. This takes the more conservative approach of disabling strict-aliasing-based optimizations. Change-Id: I42c4a4d4fd121a20ee19437ae31779ee6a011297
|
#
34148bf1 |
|
26-Apr-2017 |
Todd Eisenberger <teisenbe@google.com> |
[kernel][acpica] Convert osmagenta.c to C++ Change-Id: I58a0bf6eb1037199672ab36580ee0288a6191f41
|
#
aaa4e63a |
|
10-Nov-2016 |
Roland McGrath <mcgrathr@google.com> |
[lib][acpica] Fix Clang warnings The -Wno-incompatible-pointer-types-discards-qualifiers switch silences a large number of warnings in this third-party library. -Wno-format-signedness is understood by GCC but not by Clang, so don't use it for Clang. Change-Id: Ifbff3aa8abd560fcc89583170f7fff0a54fda2a3
|
#
53388989 |
|
04-Oct-2016 |
Travis Geiselbrecht <travisg@google.com> |
[kernel][acpi] Fix build without linker gc Needed to add and remove some components to get the no-linker-gc build to be satisfied. Change-Id: I7233080ea9d60d076971c5e4dc7d6b8d1496f248
|
#
030d64ef |
|
04-Oct-2016 |
Travis Geiselbrecht <travisg@google.com> |
[kernel] enable stricter printf warnings Change-Id: I02347b0716cec4e3e147318d37415d194b0affe4
|
#
ae7910c0 |
|
30-Sep-2016 |
Petr Hosek <phosek@google.com> |
[build] Use boolean flags to enable Clang This is to match other flags used by the build. Change-Id: Idd1c1714aff3d03dbc58b92a2cbe0ee0a75d8089
|
#
2fe462a2 |
|
29-Aug-2016 |
Todd Eisenberger <teisenbe@google.com> |
[acpi] Reduce the amount of ACPICA built for the kernel This also removes the suspend-to-RAM stub for x86, which broke when we moved ACPI out of the kernel anyway. Change-Id: Iece785ce429c11a00a1489340fc55d2e645b5b6f
|
#
41bca5f5 |
|
28-Jul-2016 |
James Robinson <jamesr@google.com> |
[build] Rename GLOBAL_INCLUDES to KERNEL_INCLUDES as it only applies in kernel The confusingly named GLOBAL_INCLUDES variable only applies to kernel targets, not userspace targets. This renames the variable so we can add a GLOBAL_INCLUDES that actually applies to both. This also moves the exported variable to kernel-config.mk as it is kernel-internal. Change-Id: I22edd603a9970d621b270e8dfbe7192676e65b47
|
#
bf5fa085 |
|
27-Jun-2016 |
Todd Eisenberger <teisenbe@google.com> |
[acpica] Contain ACPICA include path better Previously acpica was cluttering the global include path. This diff contains its includes into an acpica directory. Change-Id: I75bba0ede99259cfb40366ab6170e5281304405f
|
#
53b9e1c8 |
|
15-Jun-2016 |
The Fuchsia Authors <authors@fuchsia.local> |
[magenta] Initial commit
|