mbox.h 453 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2016, NVIDIA CORPORATION.
  4. */
  5. #ifndef __SANDBOX_MBOX_H
  6. #define __SANDBOX_MBOX_H
  7. #include <common.h>
  8. #define SANDBOX_MBOX_PING_XOR 0x12345678
  9. struct udevice;
  10. int sandbox_mbox_test_get(struct udevice *dev);
  11. int sandbox_mbox_test_send(struct udevice *dev, uint32_t msg);
  12. int sandbox_mbox_test_recv(struct udevice *dev, uint32_t *msg);
  13. int sandbox_mbox_test_free(struct udevice *dev);
  14. #endif