commit | 8ab1a4dbadeb3fee5afffd33d08b9842a1fed695 | [log] [tgz] |
---|---|---|
author | Christopher Anderson <cja@fuchsia.infra.roller.google.com> | Mon Apr 22 22:21:30 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 22 15:23:15 2024 -0700 |
tree | 6e25f5bd1180d73d6148ebc40425fa587473ab19 | |
parent | da7333db75873673c3831f6f8763b4e366307751 [diff] |
[roll] Roll fuchsia [lib][mock-mmio-reg] Fix MmioBuffer size calculation in MockMmioRegRegion In https://fxrev.dev/896221 a typo was introduced that added rather than multiplied the number of registers used by the MmioBuffer created using MockMmioRegRegion::GetMmioBuffer(). In practice this has no effect on the usage outside of buffer's get_size() returning the incorrect value because all of the MmioOps of the crafted MmioBuffer are handled by the MockMmioRegRegion's own vector and indexing, rather than a mapped VMO. This CL fixes that math so get_size() should always match the intended size of the register region. Additionally, I added a quick non-functional cleanup in fake-mmio-reg that I saw. Original-Fixed: 315010319 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1028861 Original-Revision: 03cbaede365af27af95b496df92cd30c3cbca9ec GitOrigin-RevId: 0148dda6f78d17db03dd286aafd7c156b09436df Change-Id: I5533efe58ff5094a5189fab40d48f49e9c4f5e7b
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.