hab_grantable.h 512 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef __HAB_GRANTABLE_H
  7. #define __HAB_GRANTABLE_H
  8. /* Grantable should be common between exporter and importer */
  9. struct grantable {
  10. unsigned long pfn;
  11. };
  12. struct compressed_pfns {
  13. unsigned long first_pfn;
  14. int nregions;
  15. struct region {
  16. int size;
  17. int space;
  18. } region[];
  19. };
  20. #endif /* __HAB_GRANTABLE_H */