mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 21:10:20 +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
84 lines
1.8 KiB
Plaintext
84 lines
1.8 KiB
Plaintext
/*
|
|
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
esp_rom_newlib_init_common_mutexes = 0x40000484;
|
|
memset = 0x40000488;
|
|
strlen = 0x400004a8;
|
|
strstr = 0x400004ac;
|
|
bzero = 0x400004b0;
|
|
sbrk = 0x400004b8;
|
|
isalnum = 0x400004bc;
|
|
isalpha = 0x400004c0;
|
|
isascii = 0x400004c4;
|
|
isblank = 0x400004c8;
|
|
iscntrl = 0x400004cc;
|
|
isdigit = 0x400004d0;
|
|
islower = 0x400004d4;
|
|
isgraph = 0x400004d8;
|
|
isprint = 0x400004dc;
|
|
ispunct = 0x400004e0;
|
|
isspace = 0x400004e4;
|
|
isupper = 0x400004e8;
|
|
toupper = 0x400004ec;
|
|
tolower = 0x400004f0;
|
|
toascii = 0x400004f4;
|
|
memccpy = 0x400004f8;
|
|
memchr = 0x400004fc;
|
|
memrchr = 0x40000500;
|
|
strcasecmp = 0x40000504;
|
|
strcasestr = 0x40000508;
|
|
strcat = 0x4000050c;
|
|
strchr = 0x40000514;
|
|
strcspn = 0x40000518;
|
|
strcoll = 0x4000051c;
|
|
strlcat = 0x40000520;
|
|
strlcpy = 0x40000524;
|
|
strlwr = 0x40000528;
|
|
strncasecmp = 0x4000052c;
|
|
strncat = 0x40000530;
|
|
strnlen = 0x40000538;
|
|
strrchr = 0x4000053c;
|
|
strsep = 0x40000540;
|
|
strspn = 0x40000544;
|
|
strtok_r = 0x40000548;
|
|
strupr = 0x4000054c;
|
|
longjmp = 0x40000550;
|
|
setjmp = 0x40000554;
|
|
abs = 0x40000558;
|
|
div = 0x4000055c;
|
|
labs = 0x40000560;
|
|
ldiv = 0x40000564;
|
|
qsort = 0x40000568;
|
|
utoa = 0x40000578;
|
|
itoa = 0x4000057c;
|
|
__match = 0x400005dc;
|
|
__hexnan = 0x400005e0;
|
|
__hexdig_fun = 0x400005e4;
|
|
__gethex = 0x400005e8;
|
|
_Balloc = 0x400005ec;
|
|
_Bfree = 0x400005f0;
|
|
__multadd = 0x400005f4;
|
|
__s2b = 0x400005f8;
|
|
__hi0bits = 0x400005fc;
|
|
__lo0bits = 0x40000600;
|
|
__i2b = 0x40000604;
|
|
__multiply = 0x40000608;
|
|
__pow5mult = 0x4000060c;
|
|
__lshift = 0x40000610;
|
|
__mcmp = 0x40000614;
|
|
__mdiff = 0x40000618;
|
|
__ulp = 0x4000061c;
|
|
__b2d = 0x40000620;
|
|
__d2b = 0x40000624;
|
|
__ratio = 0x40000628;
|
|
_mprec_log10 = 0x4000062c;
|
|
__copybits = 0x40000630;
|
|
__any_on = 0x40000634;
|
|
nan = 0x40000668;
|
|
nanf = 0x4000066c;
|
|
/* Data (.data, .bss, .rodata) */
|
|
syscall_table_ptr = 0x3fcdffd8;
|
|
_global_impure_ptr = 0x3fcdffd4;
|