ashmem.h 545 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 OR Apache-2.0 */
  2. /*
  3. * include/linux/ashmem.h
  4. *
  5. * Copyright 2008 Google Inc.
  6. * Author: Robert Love
  7. */
  8. #ifndef _LINUX_ASHMEM_H
  9. #define _LINUX_ASHMEM_H
  10. #include <linux/limits.h>
  11. #include <linux/ioctl.h>
  12. #include <linux/compat.h>
  13. #include "uapi/ashmem.h"
  14. /* support of 32bit userspace on 64bit platforms */
  15. #ifdef CONFIG_COMPAT
  16. #define COMPAT_ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, compat_size_t)
  17. #define COMPAT_ASHMEM_SET_PROT_MASK _IOW(__ASHMEMIOC, 5, unsigned int)
  18. #endif
  19. #endif /* _LINUX_ASHMEM_H */