!631 C库性能优化

Merge pull request !631 from Zhaotianyu/0314libc_opt
This commit is contained in:
openharmony_ci 2022-03-14 14:13:08 +00:00 committed by Gitee
commit 21ee0b2c1d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 2 deletions

View File

@ -604,6 +604,7 @@ config SECURE_TRUSTZONE
bool "Enable ARM TrustZone" bool "Enable ARM TrustZone"
default n default n
depends on ARCH_ARM depends on ARCH_ARM
select ARCH_ARM_V8M
config SECURE_HEAP_SIZE config SECURE_HEAP_SIZE
int "TrustZone Heap Size (bytes)" int "TrustZone Heap Size (bytes)"
default 2048 default 2048

View File

@ -16,12 +16,16 @@ config ARCH_ARM_AARCH32
config ARCH_ARM_V7M config ARCH_ARM_V7M
bool bool
config ARCH_ARM_V8M
bool
config ARCH_ARM_V5TE config ARCH_ARM_V5TE
bool bool
config ARCH_ARM_VER config ARCH_ARM_VER
string string
default "armv7-m" if ARCH_ARM_V7M default "armv7-m" if ARCH_ARM_V7M
default "armv8-m" if ARCH_ARM_V8M
default "armv5te" if ARCH_ARM_V5TE default "armv5te" if ARCH_ARM_V5TE
# #
@ -96,7 +100,7 @@ config ARCH_CORTEX_M33
config ARCH_CORTEX_M55 config ARCH_CORTEX_M55
bool bool
select ARCH_ARM_V7M select ARCH_ARM_V8M
select ARCH_ARM_AARCH32 select ARCH_ARM_AARCH32
select ARCH_FPU_VFP_V4 select ARCH_FPU_VFP_V4
select ARCH_FPU_VFP_D32 select ARCH_FPU_VFP_D32

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2021-2021 Huawei Device Co., Ltd. All rights reserved. * Copyright (c) 2021-2022 Huawei Device Co., Ltd. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without modification, * Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met: * are permitted provided that the following conditions are met: