diff options
author | Diana Z <dzigterman@chromium.org> | 2023-01-16 16:13:58 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-01-25 20:35:07 +0000 |
commit | a86aff466a6d672fe5141eb3e16dddfeb9be8794 (patch) | |
tree | 489f7411e48153c8f7365753bd8fe5fefa7cca1f /test | |
parent | c7d5e1da9ade15854ce1779a9ca4b906fb3f13a1 (diff) | |
download | chrome-ec-a86aff466a6d672fe5141eb3e16dddfeb9be8794.tar.gz |
TCPMv2: Queue Attention messages for consumption
Set up a queue within the DPM to hold VDM:Attention messages which the
AP will be able to deplete at its leisure.
BRANCH=None
BUG=b:208884535
TEST=builds with and without AP VDM control
Change-Id: Ia73ac3c6164251ab021776fdca252033646797dd
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4171490
Code-Coverage: Aaron Massey <aaronmassey@google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/fake_usbc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fake_usbc.c b/test/fake_usbc.c index d4bd1e8393..19e14ba5c8 100644 --- a/test/fake_usbc.c +++ b/test/fake_usbc.c @@ -304,6 +304,10 @@ void dpm_set_mode_exit_request(int port) { } +void dpm_notify_attention(int port, size_t vdo_objects, uint32_t *buf) +{ +} + void dpm_run(int port, int evt, int enable) { } |