123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- #ifndef _out_riscv_include_generated_conf_h_
- #define _out_riscv_include_generated_conf_h_
- #define CFG_AES_GCM_TABLE_BASED 1
- #define CFG_BOOT_SECONDARY_REQUEST 1
- #define CFG_CC_OPT_LEVEL 0
- #define CFG_COMPAT_GP10_DES 1
- /* CFG_CORE_ASLR is not set */
- /* CFG_CORE_BGET_BESTFIT is not set */
- #define CFG_CORE_BIGNUM_MAX_BITS 4096
- #define CFG_CORE_CLUSTER_SHIFT 2
- /* CFG_CORE_DEBUG_CHECK_STACKS is not set */
- /* CFG_CORE_DUMP_OOM is not set */
- #define CFG_CORE_DYN_SHM 1
- #define CFG_CORE_HEAP_SIZE 65536
- #define CFG_CORE_HUK_SUBKEY_COMPAT 1
- /* CFG_CORE_LARGE_PHYS_ADDR is not set */
- #define CFG_CORE_MAX_SYSCALL_RECURSION 4
- #define CFG_CORE_MBEDTLS_MPI 1
- #define CFG_CORE_NEX_HEAP_SIZE 16384
- /* CFG_CORE_PAGE_TAG_AND_IV is not set */
- #define CFG_CORE_RESERVED_SHM 1
- #define CFG_CORE_RISCV64_PA_BITS 32
- /* CFG_CORE_RODATA_NOEXEC is not set */
- #define CFG_CORE_RWDATA_NOEXEC 1
- /* CFG_CORE_SANITIZE_KADDRESS is not set */
- /* CFG_CORE_SANITIZE_UNDEFINED is not set */
- #define CFG_CORE_THREAD_SHIFT 0
- /* CFG_CORE_TPM_EVENT_LOG is not set */
- #define CFG_CORE_TZSRAM_EMUL_SIZE 458752
- /* CFG_CORE_UNMAP_CORE_AT_EL0 is not set */
- /* CFG_CORE_WORKAROUND_NSITR_CACHE_PRIME is not set */
- /* CFG_CORE_WORKAROUND_SPECTRE_BP is not set */
- /* CFG_CORE_WORKAROUND_SPECTRE_BP_SEC is not set */
- #define CFG_CRYPTO 1
- #define CFG_CRYPTOLIB_DIR core/lib/libtomcrypt
- #define CFG_CRYPTOLIB_NAME tomcrypt
- #define CFG_CRYPTOLIB_NAME_tomcrypt 1
- #define CFG_CRYPTO_AES 1
- /* CFG_CRYPTO_AES_GCM_FROM_CRYPTOLIB is not set */
- #define CFG_CRYPTO_CBC 1
- #define CFG_CRYPTO_CBC_MAC 1
- #define CFG_CRYPTO_CBC_MAC_BUNDLE_BLOCKS 64
- #define CFG_CRYPTO_CCM 1
- #define CFG_CRYPTO_CMAC 1
- #define CFG_CRYPTO_CONCAT_KDF 1
- #define CFG_CRYPTO_CTR 1
- #define CFG_CRYPTO_CTS 1
- #define CFG_CRYPTO_DES 1
- #define CFG_CRYPTO_DH 1
- #define CFG_CRYPTO_DSA 1
- #define CFG_CRYPTO_ECB 1
- #define CFG_CRYPTO_ECC 1
- #define CFG_CRYPTO_GCM 1
- #define CFG_CRYPTO_HKDF 1
- #define CFG_CRYPTO_HMAC 1
- #define CFG_CRYPTO_MD5 1
- #define CFG_CRYPTO_PBKDF2 1
- #define CFG_CRYPTO_RSA 1
- #define CFG_CRYPTO_RSASSA_NA1 1
- #define CFG_CRYPTO_SHA1 1
- #define CFG_CRYPTO_SHA224 1
- #define CFG_CRYPTO_SHA256 1
- #define CFG_CRYPTO_SHA384 1
- #define CFG_CRYPTO_SHA512 1
- #define CFG_CRYPTO_SHA512_256 1
- #define CFG_CRYPTO_SIZE_OPTIMIZATION 1
- #define CFG_CRYPTO_SM2_DSA 1
- #define CFG_CRYPTO_SM2_KEP 1
- #define CFG_CRYPTO_SM2_PKE 1
- #define CFG_CRYPTO_SM3 1
- #define CFG_CRYPTO_SM4 1
- #define CFG_CRYPTO_XTS 1
- #define CFG_DEBUG_INFO 1
- #define CFG_DEVICE_ENUM_PTA 1
- #define CFG_DT 1
- #define CFG_DTB_MAX_SIZE 0x100000
- #define CFG_DT_ADDR 0x1f00000
- /* CFG_EARLY_TA is not set */
- #define CFG_EARLY_TA_COMPRESS 1
- /* CFG_EMBED_DTB is not set */
- #define CFG_ENABLE_EMBEDDED_TESTS 1
- #define CFG_ENABLE_SCTLR_Z 1
- /* CFG_EXTERNAL_DTB_OVERLAY is not set */
- #define CFG_FTRACE_BUF_WHEN_FULL shift
- /* CFG_FTRACE_SUPPORT is not set */
- #define CFG_FTRACE_US_MS 10000
- /* CFG_GENERATE_DTB_OVERLAY is not set */
- /* CFG_GP_SOCKETS is not set */
- /* CFG_HWRNG_PTA is not set */
- #define CFG_HWSUPP_MEM_PERM_PXN 1
- #define CFG_HWSUPP_MEM_PERM_WXN 1
- #define CFG_IOPMP 1
- #define CFG_KERN_LINKER_ARCH riscv
- #define CFG_KERN_LINKER_FORMAT elf64-littleriscv
- #define CFG_LIBUTILS_WITH_ISOC 1
- #define CFG_LIGHT_UART 1
- /* CFG_LOCKDEP is not set */
- #define CFG_LOCKDEP_RECORD_STACK 1
- #define CFG_LPAE_ADDR_SPACE_BITS 32
- #define CFG_LTC_OPTEE_THREAD 1
- #define CFG_MMAP_REGIONS 13
- #define CFG_MSG_LONG_PREFIX_MASK 0x1a
- #define CFG_NUM_THREADS 4
- #define CFG_OPTEE_REVISION_MAJOR 3
- #define CFG_OPTEE_REVISION_MINOR 15
- #define CFG_OS_REV_REPORTS_GIT_SHA1 1
- /* CFG_PAGED_USER_TA is not set */
- #define CFG_PKCS11_TA_ALLOW_DIGEST_KEY 1
- #define CFG_PKCS11_TA_AUTH_TEE_IDENTITY 1
- #define CFG_PKCS11_TA_HEAP_SIZE (16 * 1024)
- #define CFG_PKCS11_TA_TOKEN_COUNT 3
- /* CFG_PL011 is not set */
- #define CFG_PLIC 1
- #define CFG_PREALLOC_RPC_CACHE 1
- #define CFG_PSCI_RV32 1
- #define CFG_REE_FS 1
- /* CFG_REE_FS_ALLOW_RESET is not set */
- #define CFG_REE_FS_TA 1
- /* CFG_REE_FS_TA_BUFFERED is not set */
- #define CFG_RESERVED_VASPACE_SIZE (1024 * 1024 * 10)
- /* CFG_RISCV32_core is not set */
- #define CFG_RISCV32_ta_riscv32 1
- #define CFG_RISCV64_core 1
- #define CFG_RISCV64_ldelf 1
- #define CFG_RISCV64_ta_riscv64 1
- /* CFG_RPMB_FS is not set */
- #define CFG_RPMB_FS_CACHE_ENTRIES 0
- /* CFG_RPMB_FS_DEBUG_DATA is not set */
- #define CFG_RPMB_FS_DEV_ID 0
- #define CFG_RPMB_FS_RD_ENTRIES 8
- /* CFG_RPMB_RESET_FAT is not set */
- /* CFG_RPMB_TESTKEY is not set */
- /* CFG_RPMB_WRITE_KEY is not set */
- /* CFG_SCMI_MSG_CLOCK is not set */
- /* CFG_SCMI_MSG_DRIVERS is not set */
- /* CFG_SCMI_MSG_RESET_DOMAIN is not set */
- /* CFG_SCMI_MSG_SMT is not set */
- /* CFG_SCMI_MSG_VOLTAGE_DOMAIN is not set */
- /* CFG_SCMI_PTA is not set */
- /* CFG_SCTLR_ALIGNMENT_CHECK is not set */
- #define CFG_SECSTOR_TA 1
- #define CFG_SECSTOR_TA_MGMT_PTA 1
- /* CFG_SECURE_DATA_PATH is not set */
- /* CFG_SECURE_PARTITION is not set */
- /* CFG_SECURE_TIME_SOURCE_CNTPCT is not set */
- #define CFG_SECURE_TIME_SOURCE_REE 1
- #define CFG_SHMEM_SIZE 0x00200000
- #define CFG_SHMEM_START 0xfee00000
- /* CFG_SHOW_CONF_ON_BOOT is not set */
- #define CFG_SM_NO_CYCLE_COUNTING 1
- #define CFG_STACK_THREAD_EXTRA 0
- #define CFG_STACK_TMP_EXTRA 0
- /* CFG_SYSCALL_FTRACE is not set */
- /* CFG_SYSCALL_WRAPPERS_MCOUNT is not set */
- #define CFG_SYSTEM_PTA 1
- #define CFG_TA_ASLR 1
- #define CFG_TA_ASLR_MAX_OFFSET_PAGES 128
- #define CFG_TA_ASLR_MIN_OFFSET_PAGES 0
- #define CFG_TA_BGET_TEST 1
- #define CFG_TA_BIGNUM_MAX_BITS 2048
- /* CFG_TA_FLOAT_SUPPORT is not set */
- /* CFG_TA_GPROF_SUPPORT is not set */
- #define CFG_TA_MBEDTLS 1
- #define CFG_TA_MBEDTLS_MPI 1
- #define CFG_TA_MBEDTLS_SELF_TEST 1
- #define CFG_TA_STRICT_ANNOTATION_CHECKS 1
- #define CFG_TEE_API_VERSION GPD-1.1-dev
- /* CFG_TEE_BENCHMARK is not set */
- #define CFG_TEE_CORE_DEBUG 1
- #define CFG_TEE_CORE_EMBED_INTERNAL_TESTS 1
- #define CFG_TEE_CORE_LOG_LEVEL 3
- /* CFG_TEE_CORE_MALLOC_DEBUG is not set */
- #define CFG_TEE_CORE_NB_CORE 4
- #define CFG_TEE_CORE_TA_TRACE 1
- #define CFG_TEE_FW_IMPL_VERSION FW_IMPL_UNDEF
- #define CFG_TEE_FW_MANUFACTURER FW_MAN_UNDEF
- #define CFG_TEE_IMPL_DESCR OPTEE
- #define CFG_TEE_MANUFACTURER LINARO
- #define CFG_TEE_RAM_VA_SIZE 0x00200000
- #define CFG_TEE_SDP_MEM_SIZE 0x00400000
- #define CFG_TEE_TA_LOG_LEVEL 1
- /* CFG_TEE_TA_MALLOC_DEBUG is not set */
- #define CFG_TZDRAM_SIZE 0x01000000
- #define CFG_TZDRAM_START 0xff000000
- /* CFG_ULIBS_MCOUNT is not set */
- /* CFG_ULIBS_SHARED is not set */
- #define CFG_UNWIND 1
- /* CFG_VIRTUALIZATION is not set */
- #define CFG_WITH_ARM_TRUSTED_FW 1
- /* CFG_WITH_PAGER is not set */
- #define CFG_WITH_SOFTWARE_PRNG 1
- #define CFG_WITH_STACK_CANARIES 1
- #define CFG_WITH_STATS 1
- /* CFG_WITH_STMM_SP is not set */
- #define CFG_WITH_SV39 1
- #define CFG_WITH_USER_TA 1
- /* CFG_WITH_VFP is not set */
- #define PLATFORM_FLAVOR light
- #define PLATFORM_FLAVOR_light 1
- #define PLATFORM_light 1
- #define _CFG_CORE_LTC_ACIPHER 1
- #define _CFG_CORE_LTC_AES 1
- /* _CFG_CORE_LTC_AES_ACCEL is not set */
- #define _CFG_CORE_LTC_AES_DESC 1
- #define _CFG_CORE_LTC_ASN1 1
- #define _CFG_CORE_LTC_AUTHENC 1
- #define _CFG_CORE_LTC_BIGNUM_MAX_BITS 4096
- #define _CFG_CORE_LTC_CBC 1
- #define _CFG_CORE_LTC_CBC_MAC 1
- #define _CFG_CORE_LTC_CCM 1
- /* _CFG_CORE_LTC_CE is not set */
- #define _CFG_CORE_LTC_CIPHER 1
- #define _CFG_CORE_LTC_CMAC 1
- #define _CFG_CORE_LTC_CTR 1
- #define _CFG_CORE_LTC_CTS 1
- #define _CFG_CORE_LTC_DES 1
- #define _CFG_CORE_LTC_DH 1
- #define _CFG_CORE_LTC_DSA 1
- #define _CFG_CORE_LTC_ECB 1
- #define _CFG_CORE_LTC_ECC 1
- #define _CFG_CORE_LTC_HASH 1
- #define _CFG_CORE_LTC_HMAC 1
- /* _CFG_CORE_LTC_HWSUPP_PMULL is not set */
- #define _CFG_CORE_LTC_MAC 1
- #define _CFG_CORE_LTC_MD5 1
- #define _CFG_CORE_LTC_MPI 1
- #define _CFG_CORE_LTC_OPTEE_THREAD 1
- /* _CFG_CORE_LTC_PAGER is not set */
- #define _CFG_CORE_LTC_RSA 1
- #define _CFG_CORE_LTC_SHA1 1
- /* _CFG_CORE_LTC_SHA1_ACCEL is not set */
- #define _CFG_CORE_LTC_SHA224 1
- #define _CFG_CORE_LTC_SHA256 1
- /* _CFG_CORE_LTC_SHA256_ACCEL is not set */
- #define _CFG_CORE_LTC_SHA256_DESC 1
- #define _CFG_CORE_LTC_SHA384 1
- #define _CFG_CORE_LTC_SHA384_DESC 1
- #define _CFG_CORE_LTC_SHA512 1
- #define _CFG_CORE_LTC_SHA512_256 1
- #define _CFG_CORE_LTC_SHA512_DESC 1
- #define _CFG_CORE_LTC_SIZE_OPTIMIZATION 1
- #define _CFG_CORE_LTC_SM2_DSA 1
- #define _CFG_CORE_LTC_SM2_KEP 1
- #define _CFG_CORE_LTC_SM2_PKE 1
- /* _CFG_CORE_LTC_VFP is not set */
- #define _CFG_CORE_LTC_XTS 1
- #define _CFG_FTRACE_BUF_WHEN_FULL_shift 1
- /* _CFG_USE_DTB_OVERLAY is not set */
- #endif
|