Secure buffers provides a way to allow premium encrypted multimedia content to be decrypted in a secured memory area that does not allow for interception of the decrypted content. Add support for heap type that allow heap to be used for content protection. Introduce new content protection heap type and id's. Change-Id: Idd56aa8805b5b74d1b9ab3fe8964aacc218668c1 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
30 lines
764 B
C
30 lines
764 B
C
/**
|
|
*
|
|
* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* 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 __MACH_ION_H_
|
|
#define __MACH_ION_H_
|
|
|
|
enum ion_memory_types {
|
|
ION_EBI_TYPE,
|
|
ION_SMI_TYPE,
|
|
};
|
|
|
|
enum ion_permission_type {
|
|
IPT_TYPE_MM_CARVEOUT = 0,
|
|
IPT_TYPE_MFC_SHAREDMEM = 1,
|
|
IPT_TYPE_MDP_WRITEBACK = 2,
|
|
};
|
|
|
|
#endif
|