blob: b7d89b3a8c64f2bf768bdaa832dd5f496d590b0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* 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 <linux/types.h>
#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__*/
|