Revert "securemsm-kernel: exposing smcinvoke headers"
This reverts commit 796ae71391
.
This commit is being reverted due to build conflicts
with other teams
CRS-Fixed: 3354563
Change-Id: I915cc5bd0e718a1b82641ac02d2f0184f2fa1f37
This commit is contained in:
16
Android.bp
16
Android.bp
@@ -1,13 +1,13 @@
|
|||||||
headers_src = [
|
headers_src = [
|
||||||
"include/linux/smc*ke.h",
|
"linux/smc*ke.h",
|
||||||
"include/linux/smc*_object.h",
|
"linux/smc*_object.h",
|
||||||
"include/linux/IClientE*v.h",
|
"linux/IClientE*v.h",
|
||||||
]
|
]
|
||||||
|
|
||||||
smcinvoke_headers_out = [
|
smcinvoke_headers_out = [
|
||||||
"include/linux/smcinvoke.h",
|
"linux/smcinvoke.h",
|
||||||
"include/linux/smcinvoke_object.h",
|
"linux/smcinvoke_object.h",
|
||||||
"include/linux/IClientEnv.h",
|
"linux/IClientEnv.h",
|
||||||
]
|
]
|
||||||
|
|
||||||
smcinvoke_kernel_headers_verbose = "--verbose "
|
smcinvoke_kernel_headers_verbose = "--verbose "
|
||||||
@@ -25,7 +25,7 @@ genrule {
|
|||||||
smcinvoke_kernel_headers_verbose +
|
smcinvoke_kernel_headers_verbose +
|
||||||
"--header_arch arm64 " +
|
"--header_arch arm64 " +
|
||||||
"--gen_dir $(genDir) " +
|
"--gen_dir $(genDir) " +
|
||||||
"--smcinvoke_headers_to_expose $(locations include/linux/smc*ke.h) $(locations include/linux/smc*_object.h) $(locations include/linux/IClientE*v.h) " +
|
"--smcinvoke_headers_to_expose $(locations linux/smc*ke.h) $(locations linux/smc*_object.h) $(locations linux/IClientE*v.h) " +
|
||||||
"--unifdef $(location unifdef) " +
|
"--unifdef $(location unifdef) " +
|
||||||
"--headers_install $(location headers_install.sh)",
|
"--headers_install $(location headers_install.sh)",
|
||||||
out: smcinvoke_headers_out,
|
out: smcinvoke_headers_out,
|
||||||
@@ -34,7 +34,7 @@ genrule {
|
|||||||
|
|
||||||
cc_library_headers {
|
cc_library_headers {
|
||||||
name: "smcinvoke_kernel_headers",
|
name: "smcinvoke_kernel_headers",
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["."],
|
||||||
generated_headers: ["qti_generate_smcinvoke_kernel_headers"],
|
generated_headers: ["qti_generate_smcinvoke_kernel_headers"],
|
||||||
export_generated_headers: ["qti_generate_smcinvoke_kernel_headers"],
|
export_generated_headers: ["qti_generate_smcinvoke_kernel_headers"],
|
||||||
vendor: true,
|
vendor: true,
|
||||||
|
@@ -16,8 +16,6 @@ DLKM_DIR := $(TOP)/device/qcom/common/dlkm
|
|||||||
|
|
||||||
SEC_KERNEL_DIR := $(TOP)/vendor/qcom/opensource/securemsm-kernel
|
SEC_KERNEL_DIR := $(TOP)/vendor/qcom/opensource/securemsm-kernel
|
||||||
|
|
||||||
LOCAL_EXPORT_KO_INCLUDE_DIRS := $(LOCAL_PATH)/include/
|
|
||||||
|
|
||||||
SSG_SRC_FILES := \
|
SSG_SRC_FILES := \
|
||||||
$(wildcard $(LOCAL_PATH)/*) \
|
$(wildcard $(LOCAL_PATH)/*) \
|
||||||
$(wildcard $(LOCAL_PATH)/*/*) \
|
$(wildcard $(LOCAL_PATH)/*/*) \
|
||||||
|
3
Kbuild
3
Kbuild
@@ -1,6 +1,5 @@
|
|||||||
LINUXINCLUDE += -I$(SSG_MODULE_ROOT)/ \
|
LINUXINCLUDE += -I$(SSG_MODULE_ROOT)/ \
|
||||||
-I$(SSG_MODULE_ROOT)/linux/ \
|
-I$(SSG_MODULE_ROOT)/linux/
|
||||||
-I$(SSG_MODULE_ROOT)/include/linux/
|
|
||||||
|
|
||||||
ifneq ($(CONFIG_ARCH_QTI_VM), y)
|
ifneq ($(CONFIG_ARCH_QTI_VM), y)
|
||||||
LINUXINCLUDE += -include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig.h
|
LINUXINCLUDE += -include $(SSG_MODULE_ROOT)/config/sec-kernel_defconfig.h
|
||||||
|
@@ -12,8 +12,6 @@
|
|||||||
#define IClientEnv_OP_notifyDomainChange 4
|
#define IClientEnv_OP_notifyDomainChange 4
|
||||||
#define IClientEnv_OP_registerWithCredentials 5
|
#define IClientEnv_OP_registerWithCredentials 5
|
||||||
|
|
||||||
#include "smcinvoke_object.h"
|
|
||||||
|
|
||||||
static inline int32_t
|
static inline int32_t
|
||||||
IClientEnv_release(struct Object self)
|
IClientEnv_release(struct Object self)
|
||||||
{
|
{
|
Reference in New Issue
Block a user