mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 20:00:53 +00:00

This option replaces implementations of functions from ROM: - memcpy - memcmp - memmove - str[n]cpy - str[n]cmp The functions used in the firmware will be better optimized for misaligned memory. Here are some measurements in CPU cycles for 4096-byte buffers: memcpy: 28676 -> 4128 memcmp: 49147 -> 14259 memmove: 33896 -> 8086 strcpy: 32771 -> 17313 strcmp: 32775 -> 13191
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
/*
|
|
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
esp_rom_newlib_init_common_mutexes = 0x4000049c;
|
|
memset = 0x400004a0;
|
|
strlen = 0x400004c0;
|
|
strstr = 0x400004c4;
|
|
bzero = 0x400004c8;
|
|
sbrk = 0x400004d0;
|
|
isalnum = 0x400004d4;
|
|
isalpha = 0x400004d8;
|
|
isascii = 0x400004dc;
|
|
isblank = 0x400004e0;
|
|
iscntrl = 0x400004e4;
|
|
isdigit = 0x400004e8;
|
|
islower = 0x400004ec;
|
|
isgraph = 0x400004f0;
|
|
isprint = 0x400004f4;
|
|
ispunct = 0x400004f8;
|
|
isspace = 0x400004fc;
|
|
isupper = 0x40000500;
|
|
toupper = 0x40000504;
|
|
tolower = 0x40000508;
|
|
toascii = 0x4000050c;
|
|
memccpy = 0x40000510;
|
|
memchr = 0x40000514;
|
|
memrchr = 0x40000518;
|
|
strcasecmp = 0x4000051c;
|
|
strcasestr = 0x40000520;
|
|
strcat = 0x40000524;
|
|
strchr = 0x4000052c;
|
|
strcspn = 0x40000530;
|
|
strcoll = 0x40000534;
|
|
strlcat = 0x40000538;
|
|
strlcpy = 0x4000053c;
|
|
strlwr = 0x40000540;
|
|
strncasecmp = 0x40000544;
|
|
strncat = 0x40000548;
|
|
strnlen = 0x40000550;
|
|
strrchr = 0x40000554;
|
|
strsep = 0x40000558;
|
|
strspn = 0x4000055c;
|
|
strtok_r = 0x40000560;
|
|
strupr = 0x40000564;
|
|
longjmp = 0x40000568;
|
|
setjmp = 0x4000056c;
|
|
abs = 0x40000570;
|
|
div = 0x40000574;
|
|
labs = 0x40000578;
|
|
ldiv = 0x4000057c;
|
|
qsort = 0x40000580;
|
|
utoa = 0x40000590;
|
|
itoa = 0x40000594;
|
|
/* Data (.data, .bss, .rodata) */
|
|
syscall_table_ptr = 0x4084ffd4;
|
|
_global_impure_ptr = 0x4084ffd0;
|