[roll] Roll fuchsia [uart] Introduce SyncPolicy

A SyncPolicy provides the mechanisms required for
synchronization. That is:
    * Lock Type: Opaque capability
    * Guard Type: Opaque RAII for acquiring the lock
    * Waiter Type: Mechanism for waiting on
                   Tx Hw Fifo becoming non full.
    * AssertHeld: Assert a Lock instance is held.
    * DefaultLockPolicy: Default Lock Policy for methods.

The Guard type is allowed to have one template argument, which is called
LockPolicy. A LockPolicy is defined on the driver methods, such that
the same object can use different flavors. This allows for the
kernel environment to implement:
    * IrqSave
    * NoIrqSave
    * NoopLocking (Panic Shell)
See following patch for details.

Original-Bug: 89182
Test: fx test uart-unittests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/803047
Original-Revision: 3cc670d3ae655f2f6bae0fc2816eaf61de8ac9fd
GitOrigin-RevId: c3591fbf24c8c4f21f5affebea6a1ee0bbf1934c
Change-Id: I8f8feb6ba27b095d7cd3af61bab7765190796e9a
1 file changed
tree: 144e3b3a5cc9fc9279512ebf1a381de93bd09faf
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.