mbox.h 453 B

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