/* * Copyright (C) 2015 Samsung Electronics, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef __TZ_MMAP_TEST_H__ #define __TZ_MMAP_TEST_H__ #include #define TZ_MMAP_IOC_MAGIC 'c' #define TZ_MMAP_GET_PADDR_STATIC _IO(TZ_MMAP_IOC_MAGIC, 0) #define TZ_MMAP_GET_PADDR_DYNAMIC _IO(TZ_MMAP_IOC_MAGIC, 1) #define TZ_MMAP_FILL_STATIC _IOW(TZ_MMAP_IOC_MAGIC, 2, int) #define TZ_MMAP_FILL_DYNAMIC _IOW(TZ_MMAP_IOC_MAGIC, 3, int) #endif /*!__TZ_MMAP_TEST_H__*/