hcall_common.h 430 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __GH_HCALL_COMMON_H
  6. #define __GH_HCALL_COMMON_H
  7. #include <linux/types.h>
  8. struct gh_hcall_args {
  9. unsigned long arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7;
  10. };
  11. struct gh_hcall_resp {
  12. unsigned long resp0, resp1, resp2, resp3, resp4, resp5, resp6, resp7;
  13. };
  14. typedef u16 gh_hcall_fnid_t;
  15. #endif