pebble/src/fw/drivers/qemu/qemu_accel.h
Josh Soref 4a26ea9f66 spelling: callback
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-01-28 21:19:00 -05:00

25 lines
850 B
C

/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <inttypes.h>
void qemu_accel_init(void);
//! Handler called by qemu_serial driver when we receive a QemuProtocol_Accel message
//! over the qemu serial connection.
void qemu_accel_msg_callback(const uint8_t *data, uint32_t len);