1/* ROM function interface esp32h2.rom.ld for esp32h2 2 * 3 * 4 * Generated from ./interface-esp32b1z.yml md5sum a8cce65aa1422e5781ad0d729ef0a0a6 5 * 6 * Compatible with ROM where ECO version equal or greater to 0. 7 * 8 * THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT. 9 */ 10 11 12PROVIDE ( SPIWrite = esp_rom_spiflash_write); 13PROVIDE ( SPI_read_status_high = esp_rom_spiflash_read_statushigh); 14PROVIDE ( SPI_write_status = esp_rom_spiflash_write_status); 15PROVIDE ( SPIRead = esp_rom_spiflash_read); 16PROVIDE ( SPIParamCfg = esp_rom_spiflash_config_param); 17PROVIDE ( SPIEraseChip = esp_rom_spiflash_erase_chip); 18PROVIDE ( SPIEraseSector = esp_rom_spiflash_erase_sector); 19PROVIDE ( SPIEraseBlock = esp_rom_spiflash_erase_block); 20PROVIDE ( SPI_Write_Encrypt_Enable = esp_rom_spiflash_write_encrypted_enable); 21PROVIDE ( SPI_Write_Encrypt_Disable = esp_rom_spiflash_write_encrypted_disable); 22PROVIDE ( SPI_Encrypt_Write = esp_rom_spiflash_write_encrypted); 23 24 25/*************************************** 26 Group common 27 ***************************************/ 28 29/* Functions */ 30rtc_get_reset_reason = 0x40000018; 31analog_super_wdt_reset_happened = 0x4000001c; 32jtag_cpu_reset_happened = 0x40000020; 33rtc_get_wakeup_cause = 0x40000024; 34rtc_select_apb_bridge = 0x40000028; 35rtc_unhold_all_pads = 0x4000002c; 36ets_is_print_boot = 0x40000030; 37ets_printf = 0x40000034; 38ets_install_putc1 = 0x40000038; 39ets_install_uart_printf = 0x4000003c; 40ets_install_putc2 = 0x40000040; 41PROVIDE( ets_delay_us = 0x40000044 ); 42ets_get_stack_info = 0x40000048; 43ets_install_lock = 0x4000004c; 44ets_backup_dma_copy = 0x40000050; 45ets_apb_backup_init_lock_func = 0x40000054; 46UartRxString = 0x40000058; 47uart_tx_one_char = 0x4000005c; 48uart_tx_one_char2 = 0x40000060; 49uart_rx_one_char = 0x40000064; 50uart_rx_one_char_block = 0x40000068; 51uart_rx_readbuff = 0x4000006c; 52uartAttach = 0x40000070; 53uart_tx_flush = 0x40000074; 54uart_tx_wait_idle = 0x40000078; 55uart_div_modify = 0x4000007c; 56multofup = 0x40000080; 57software_reset = 0x40000084; 58software_reset_cpu = 0x40000088; 59assist_debug_clock_enable = 0x4000008c; 60assist_debug_record_enable = 0x40000090; 61clear_super_wdt_reset_flag = 0x40000094; 62disable_default_watchdog = 0x40000098; 63esp_rom_set_rtc_wake_addr = 0x4000009c; 64esp_rom_get_rtc_wake_addr = 0x400000a0; 65send_packet = 0x400000a4; 66recv_packet = 0x400000a8; 67GetUartDevice = 0x400000ac; 68GetSecurityInfoProc = 0x400120b2; 69UartDwnLdProc = 0x400000b0; 70Uart_Init = 0x400000b4; 71ets_set_user_start = 0x400000b8; 72/* Data (.data, .bss, .rodata) */ 73ets_rom_layout_p = 0x3ff1fffc; 74ets_ops_table_ptr = 0x3fcdfffc; 75 76 77/*************************************** 78 Group miniz 79 ***************************************/ 80 81/* Functions */ 82mz_adler32 = 0x400000bc; 83mz_crc32 = 0x400000c0; 84mz_free = 0x400000c4; 85tdefl_compress = 0x400000c8; 86tdefl_compress_buffer = 0x400000cc; 87tdefl_compress_mem_to_heap = 0x400000d0; 88tdefl_compress_mem_to_mem = 0x400000d4; 89tdefl_compress_mem_to_output = 0x400000d8; 90tdefl_get_adler32 = 0x400000dc; 91tdefl_get_prev_return_status = 0x400000e0; 92tdefl_init = 0x400000e4; 93tdefl_write_image_to_png_file_in_memory = 0x400000e8; 94tdefl_write_image_to_png_file_in_memory_ex = 0x400000ec; 95tinfl_decompress = 0x400000f0; 96tinfl_decompress_mem_to_callback = 0x400000f4; 97tinfl_decompress_mem_to_heap = 0x400000f8; 98tinfl_decompress_mem_to_mem = 0x400000fc; 99 100 101/*************************************** 102 Group tjpgd 103 ***************************************/ 104 105/* Functions */ 106jd_prepare = 0x40000100; 107jd_decomp = 0x40000104; 108 109 110/*************************************** 111 Group esp-dsp 112 ***************************************/ 113 114/* Data (.data, .bss, .rodata) */ 115dsps_fft2r_w_table_fc32_1024 = 0x3fcdfff8; 116 117 118/*************************************** 119 Group spiflash_legacy 120 ***************************************/ 121 122/* Functions */ 123PROVIDE( esp_rom_spiflash_wait_idle = 0x40000108 ); 124PROVIDE( esp_rom_spiflash_write_encrypted = 0x4000010c ); 125PROVIDE( esp_rom_spiflash_write_encrypted_dest = 0x40000110 ); 126PROVIDE( esp_rom_spiflash_write_encrypted_enable = 0x40000114 ); 127PROVIDE( esp_rom_spiflash_write_encrypted_disable = 0x40000118 ); 128PROVIDE( esp_rom_spiflash_erase_chip = 0x4000011c ); 129PROVIDE( esp_rom_spiflash_erase_block = 0x40000120 ); 130PROVIDE( esp_rom_spiflash_erase_sector = 0x40000124 ); 131PROVIDE( esp_rom_spiflash_write = 0x40000128 ); 132PROVIDE( esp_rom_spiflash_read = 0x4000012c ); 133PROVIDE( esp_rom_spiflash_config_param = 0x40000130 ); 134PROVIDE( esp_rom_spiflash_read_user_cmd = 0x40000134 ); 135PROVIDE( esp_rom_spiflash_select_qio_pins = 0x40000138 ); 136PROVIDE( esp_rom_spiflash_unlock = 0x4000013c ); 137PROVIDE( esp_rom_spi_flash_auto_sus_res = 0x40000140 ); 138PROVIDE( esp_rom_spi_flash_send_resume = 0x40000144 ); 139PROVIDE( esp_rom_spi_flash_update_id = 0x40000148 ); 140PROVIDE( esp_rom_spiflash_config_clk = 0x4000014c ); 141PROVIDE( esp_rom_spiflash_config_readmode = 0x40000150 ); 142PROVIDE( esp_rom_spiflash_read_status = 0x40000154 ); 143PROVIDE( esp_rom_spiflash_read_statushigh = 0x40000158 ); 144PROVIDE( esp_rom_spiflash_write_status = 0x4000015c ); 145PROVIDE( spi_flash_attach = 0x40000160 ); 146PROVIDE( spi_flash_get_chip_size = 0x40000164 ); 147PROVIDE( spi_flash_guard_set = 0x40000168 ); 148PROVIDE( spi_flash_guard_get = 0x4000016c ); 149PROVIDE( spi_flash_write_config_set = 0x40000170 ); 150PROVIDE( spi_flash_write_config_get = 0x40000174 ); 151PROVIDE( spi_flash_safe_write_address_func_set = 0x40000178 ); 152PROVIDE( spi_flash_unlock = 0x4000017c ); 153PROVIDE( spi_flash_erase_range = 0x40000180 ); 154PROVIDE( spi_flash_erase_sector = 0x40000184 ); 155PROVIDE( spi_flash_write = 0x40000188 ); 156PROVIDE( spi_flash_read = 0x4000018c ); 157PROVIDE( spi_flash_write_encrypted = 0x40000190 ); 158PROVIDE( spi_flash_read_encrypted = 0x40000194 ); 159PROVIDE( spi_flash_mmap_os_func_set = 0x40000198 ); 160PROVIDE( spi_flash_mmap_page_num_init = 0x4000019c ); 161PROVIDE( spi_flash_mmap = 0x400001a0 ); 162PROVIDE( spi_flash_mmap_pages = 0x400001a4 ); 163PROVIDE( spi_flash_munmap = 0x400001a8 ); 164PROVIDE( spi_flash_mmap_dump = 0x400001ac ); 165PROVIDE( spi_flash_check_and_flush_cache = 0x400001b0 ); 166PROVIDE( spi_flash_mmap_get_free_pages = 0x400001b4 ); 167PROVIDE( spi_flash_cache2phys = 0x400001b8 ); 168PROVIDE( spi_flash_phys2cache = 0x400001bc ); 169PROVIDE( spi_flash_disable_cache = 0x400001c0 ); 170PROVIDE( spi_flash_restore_cache = 0x400001c4 ); 171PROVIDE( spi_flash_cache_enabled = 0x400001c8 ); 172PROVIDE( spi_flash_enable_cache = 0x400001cc ); 173PROVIDE( spi_cache_mode_switch = 0x400001d0 ); 174PROVIDE( spi_common_set_dummy_output = 0x400001d4 ); 175PROVIDE( spi_common_set_flash_cs_timing = 0x400001d8 ); 176PROVIDE( esp_enable_cache_flash_wrap = 0x400001dc ); 177PROVIDE( SPIEraseArea = 0x400001e0 ); 178PROVIDE( SPILock = 0x400001e4 ); 179PROVIDE( SPIMasterReadModeCnfig = 0x400001e8 ); 180PROVIDE( SPI_Common_Command = 0x400001ec ); 181PROVIDE( SPI_WakeUp = 0x400001f0 ); 182PROVIDE( SPI_block_erase = 0x400001f4 ); 183PROVIDE( SPI_chip_erase = 0x400001f8 ); 184PROVIDE( SPI_init = 0x400001fc ); 185PROVIDE( SPI_page_program = 0x40000200 ); 186PROVIDE( SPI_read_data = 0x40000204 ); 187PROVIDE( SPI_sector_erase = 0x40000208 ); 188PROVIDE( SPI_write_enable = 0x4000020c ); 189PROVIDE( SelectSpiFunction = 0x40000210 ); 190PROVIDE( SetSpiDrvs = 0x40000214 ); 191PROVIDE( Wait_SPI_Idle = 0x40000218 ); 192PROVIDE( spi_dummy_len_fix = 0x4000021c ); 193PROVIDE( Disable_QMode = 0x40000220 ); 194PROVIDE( Enable_QMode = 0x40000224 ); 195/* Data (.data, .bss, .rodata) */ 196PROVIDE( rom_spiflash_legacy_funcs = 0x3fcdfff0 ); 197PROVIDE( rom_spiflash_legacy_data = 0x3fcdffec ); 198PROVIDE( g_flash_guard_ops = 0x3fcdfff4 ); 199 200 201/*************************************** 202 Group hal_soc 203 ***************************************/ 204 205/* Functions */ 206PROVIDE( spi_flash_hal_poll_cmd_done = 0x40000228 ); 207PROVIDE( spi_flash_hal_device_config = 0x4000022c ); 208PROVIDE( spi_flash_hal_configure_host_io_mode = 0x40000230 ); 209PROVIDE( spi_flash_hal_common_command = 0x40000234 ); 210PROVIDE( spi_flash_hal_read = 0x40000238 ); 211PROVIDE( spi_flash_hal_erase_chip = 0x4000023c ); 212PROVIDE( spi_flash_hal_erase_sector = 0x40000240 ); 213PROVIDE( spi_flash_hal_erase_block = 0x40000244 ); 214PROVIDE( spi_flash_hal_program_page = 0x40000248 ); 215PROVIDE( spi_flash_hal_set_write_protect = 0x4000024c ); 216PROVIDE( spi_flash_hal_host_idle = 0x40000250 ); 217 218 219/*************************************** 220 Group spi_flash_chips 221 ***************************************/ 222 223/* Functions */ 224PROVIDE( spi_flash_chip_generic_probe = 0x40000254 ); 225PROVIDE( spi_flash_chip_generic_detect_size = 0x40000258 ); 226PROVIDE( spi_flash_chip_generic_write = 0x4000025c ); 227PROVIDE( spi_flash_chip_generic_write_encrypted = 0x40000260 ); 228PROVIDE( spi_flash_chip_generic_set_write_protect = 0x40000264 ); 229PROVIDE( spi_flash_common_write_status_16b_wrsr = 0x40000268 ); 230PROVIDE( spi_flash_chip_generic_reset = 0x4000026c ); 231PROVIDE( spi_flash_chip_generic_erase_chip = 0x40000270 ); 232PROVIDE( spi_flash_chip_generic_erase_sector = 0x40000274 ); 233PROVIDE( spi_flash_chip_generic_erase_block = 0x40000278 ); 234PROVIDE( spi_flash_chip_generic_page_program = 0x4000027c ); 235PROVIDE( spi_flash_chip_generic_get_write_protect = 0x40000280 ); 236PROVIDE( spi_flash_common_read_status_16b_rdsr_rdsr2 = 0x40000284 ); 237PROVIDE( spi_flash_chip_generic_read_reg = 0x40000288 ); 238PROVIDE( spi_flash_chip_generic_yield = 0x4000028c ); 239PROVIDE( spi_flash_generic_wait_host_idle = 0x40000290 ); 240PROVIDE( spi_flash_chip_generic_wait_idle = 0x40000294 ); 241PROVIDE( spi_flash_chip_generic_config_host_io_mode = 0x40000298 ); 242PROVIDE( spi_flash_chip_generic_read = 0x4000029c ); 243PROVIDE( spi_flash_common_read_status_8b_rdsr2 = 0x400002a0 ); 244PROVIDE( spi_flash_chip_generic_get_io_mode = 0x400002a4 ); 245PROVIDE( spi_flash_common_read_status_8b_rdsr = 0x400002a8 ); 246PROVIDE( spi_flash_common_write_status_8b_wrsr = 0x400002ac ); 247PROVIDE( spi_flash_common_write_status_8b_wrsr2 = 0x400002b0 ); 248PROVIDE( spi_flash_common_set_io_mode = 0x400002b4 ); 249PROVIDE( spi_flash_chip_generic_set_io_mode = 0x400002b8 ); 250PROVIDE( spi_flash_chip_gd_get_io_mode = 0x400002bc ); 251PROVIDE( spi_flash_chip_gd_probe = 0x400002c0 ); 252PROVIDE( spi_flash_chip_gd_set_io_mode = 0x400002c4 ); 253/* Data (.data, .bss, .rodata) */ 254PROVIDE( spi_flash_chip_generic_config_data = 0x3fcdffe8 ); 255 256 257/*************************************** 258 Group memspi_host 259 ***************************************/ 260 261/* Functions */ 262PROVIDE( memspi_host_read_id_hs = 0x400002c8 ); 263PROVIDE( memspi_host_read_status_hs = 0x400002cc ); 264PROVIDE( memspi_host_flush_cache = 0x400002d0 ); 265PROVIDE( memspi_host_erase_chip = 0x400002d4 ); 266PROVIDE( memspi_host_erase_sector = 0x400002d8 ); 267PROVIDE( memspi_host_erase_block = 0x400002dc ); 268PROVIDE( memspi_host_program_page = 0x400002e0 ); 269PROVIDE( memspi_host_read = 0x400002e4 ); 270PROVIDE( memspi_host_set_write_protect = 0x400002e8 ); 271PROVIDE( memspi_host_set_max_read_len = 0x400002ec ); 272PROVIDE( memspi_host_read_data_slicer = 0x400002f0 ); 273PROVIDE( memspi_host_write_data_slicer = 0x400002f4 ); 274 275 276/*************************************** 277 Group esp_flash 278 ***************************************/ 279 280/* Functions */ 281PROVIDE( esp_flash_chip_driver_initialized = 0x400002f8 ); 282PROVIDE( esp_flash_read_id = 0x400002fc ); 283PROVIDE( esp_flash_get_size = 0x40000300 ); 284PROVIDE( esp_flash_erase_chip = 0x40000304 ); 285PROVIDE( esp_flash_erase_region = 0x40000308 ); 286PROVIDE( esp_flash_get_chip_write_protect = 0x4000030c ); 287PROVIDE( esp_flash_set_chip_write_protect = 0x40000310 ); 288PROVIDE( esp_flash_get_protectable_regions = 0x40000314 ); 289PROVIDE( esp_flash_get_protected_region = 0x40000318 ); 290PROVIDE( esp_flash_set_protected_region = 0x4000031c ); 291PROVIDE( esp_flash_read = 0x40000320 ); 292PROVIDE( esp_flash_write = 0x40000324 ); 293PROVIDE( esp_flash_write_encrypted = 0x40000328 ); 294PROVIDE( esp_flash_read_encrypted = 0x4000032c ); 295PROVIDE( esp_flash_get_io_mode = 0x40000330 ); 296PROVIDE( esp_flash_set_io_mode = 0x40000334 ); 297PROVIDE( spi_flash_boot_attach = 0x40000338 ); 298PROVIDE( spi_flash_dump_counters = 0x4000033c ); 299PROVIDE( spi_flash_get_counters = 0x40000340 ); 300PROVIDE( spi_flash_op_counters_config = 0x40000344 ); 301PROVIDE( spi_flash_reset_counters = 0x40000348 ); 302PROVIDE( esp_flash_read_chip_id = 0x4000034c ); 303PROVIDE( detect_spi_flash_chip = 0x40000350 ); 304PROVIDE( esp_rom_spiflash_write_disable = 0x40000354 ); 305/* Data (.data, .bss, .rodata) */ 306PROVIDE( esp_flash_default_chip = 0x3fcdffe4 ); 307PROVIDE( esp_flash_api_funcs = 0x3fcdffe0 ); 308 309 310/*************************************** 311 Group cache 312 ***************************************/ 313 314/* Functions */ 315PROVIDE( Cache_Get_ICache_Line_Size = 0x400004b8 ); 316PROVIDE( Cache_Get_Mode = 0x400004bc ); 317PROVIDE( Cache_Address_Through_IBus = 0x400004c0 ); 318PROVIDE( Cache_Address_Through_DBus = 0x400004c4 ); 319PROVIDE( Cache_Set_Default_Mode = 0x400004c8 ); 320PROVIDE( Cache_Enable_Defalut_ICache_Mode = 0x400004cc ); 321PROVIDE( ROM_Boot_Cache_Init = 0x400004d0 ); 322PROVIDE( Cache_Invalidate_ICache_Items = 0x400004d4 ); 323PROVIDE( Cache_Op_Addr = 0x400004d8 ); 324PROVIDE( Cache_Invalidate_Addr = 0x400004dc ); 325PROVIDE( Cache_Invalidate_ICache_All = 0x400004e0 ); 326PROVIDE( Cache_Mask_All = 0x400004e4 ); 327PROVIDE( Cache_UnMask_Dram0 = 0x400004e8 ); 328PROVIDE( Cache_Suspend_ICache_Autoload = 0x400004ec ); 329PROVIDE( Cache_Resume_ICache_Autoload = 0x400004f0 ); 330PROVIDE( Cache_Start_ICache_Preload = 0x400004f4 ); 331PROVIDE( Cache_ICache_Preload_Done = 0x400004f8 ); 332PROVIDE( Cache_End_ICache_Preload = 0x400004fc ); 333PROVIDE( Cache_Config_ICache_Autoload = 0x40000500 ); 334PROVIDE( Cache_Enable_ICache_Autoload = 0x40000504 ); 335PROVIDE( Cache_Disable_ICache_Autoload = 0x40000508 ); 336PROVIDE( Cache_Enable_ICache_PreLock = 0x4000050c ); 337PROVIDE( Cache_Disable_ICache_PreLock = 0x40000510 ); 338PROVIDE( Cache_Lock_ICache_Items = 0x40000514 ); 339PROVIDE( Cache_Unlock_ICache_Items = 0x40000518 ); 340PROVIDE( Cache_Lock_Addr = 0x4000051c ); 341PROVIDE( Cache_Unlock_Addr = 0x40000520 ); 342PROVIDE( Cache_Disable_ICache = 0x40000524 ); 343PROVIDE( Cache_Enable_ICache = 0x40000528 ); 344PROVIDE( Cache_Suspend_ICache = 0x4000052c ); 345PROVIDE( Cache_Resume_ICache = 0x40000530 ); 346PROVIDE( Cache_Freeze_ICache_Enable = 0x40000534 ); 347PROVIDE( Cache_Freeze_ICache_Disable = 0x40000538 ); 348PROVIDE( Cache_Pms_Lock = 0x4000053c ); 349PROVIDE( Cache_Ibus_Pms_Set_Addr = 0x40000540 ); 350PROVIDE( Cache_Ibus_Pms_Set_Attr = 0x40000544 ); 351PROVIDE( Cache_Dbus_Pms_Set_Addr = 0x40000548 ); 352PROVIDE( Cache_Dbus_Pms_Set_Attr = 0x4000054c ); 353PROVIDE( Cache_Set_IDROM_MMU_Size = 0x40000550 ); 354PROVIDE( Cache_Get_IROM_MMU_End = 0x40000554 ); 355PROVIDE( Cache_Get_DROM_MMU_End = 0x40000558 ); 356PROVIDE( Cache_Owner_Init = 0x4000055c ); 357PROVIDE( Cache_Occupy_ICache_MEMORY = 0x40000560 ); 358PROVIDE( Cache_MMU_Init = 0x40000564 ); 359PROVIDE( Cache_Ibus_MMU_Set = 0x40000568 ); 360PROVIDE( Cache_Dbus_MMU_Set = 0x4000056c ); 361PROVIDE( Cache_Count_Flash_Pages = 0x40000570 ); 362PROVIDE( Cache_Travel_Tag_Memory = 0x40000574 ); 363PROVIDE( Cache_Get_Virtual_Addr = 0x40000578 ); 364PROVIDE( Cache_Get_Memory_BaseAddr = 0x4000057c ); 365PROVIDE( Cache_Get_Memory_Addr = 0x40000580 ); 366PROVIDE( Cache_Get_Memory_value = 0x40000584 ); 367/* Data (.data, .bss, .rodata) */ 368PROVIDE( rom_cache_op_cb = 0x3fcdffd4 ); 369PROVIDE( rom_cache_internal_table_ptr = 0x3fcdffd0 ); 370 371 372/*************************************** 373 Group clock 374 ***************************************/ 375 376/* Functions */ 377ets_get_apb_freq = 0x40000588; 378ets_get_cpu_frequency = 0x4000058c; 379ets_update_cpu_frequency = 0x40000590; 380ets_get_printf_channel = 0x40000594; 381ets_get_xtal_div = 0x40000598; 382ets_set_xtal_div = 0x4000059c; 383ets_get_xtal_freq = 0x400005a0; 384 385 386/*************************************** 387 Group gpio 388 ***************************************/ 389 390/* Functions */ 391gpio_input_get = 0x400005a4; 392gpio_matrix_in = 0x400005a8; 393gpio_matrix_out = 0x400005ac; 394gpio_output_disable = 0x400005b0; 395gpio_output_enable = 0x400005b4; 396gpio_output_set = 0x400005b8; 397gpio_pad_hold = 0x400005bc; 398gpio_pad_input_disable = 0x400005c0; 399gpio_pad_input_enable = 0x400005c4; 400gpio_pad_pulldown = 0x400005c8; 401gpio_pad_pullup = 0x400005cc; 402gpio_pad_select_gpio = 0x400005d0; 403gpio_pad_set_drv = 0x400005d4; 404gpio_pad_unhold = 0x400005d8; 405gpio_pin_wakeup_disable = 0x400005dc; 406gpio_pin_wakeup_enable = 0x400005e0; 407gpio_bypass_matrix_in = 0x400005e4; 408 409 410/*************************************** 411 Group interrupts 412 ***************************************/ 413 414/* Functions */ 415esprv_intc_int_set_priority = 0x400005e8; 416esprv_intc_int_set_threshold = 0x400005ec; 417esprv_intc_int_enable = 0x400005f0; 418esprv_intc_int_disable = 0x400005f4; 419esprv_intc_int_set_type = 0x400005f8; 420intr_matrix_set = 0x400005fc; 421ets_intr_lock = 0x40000600; 422ets_intr_unlock = 0x40000604; 423PROVIDE( intr_handler_set = 0x40000608 ); 424ets_isr_attach = 0x4000060c; 425ets_isr_mask = 0x40000610; 426ets_isr_unmask = 0x40000614; 427 428 429/*************************************** 430 Group crypto 431 ***************************************/ 432 433/* Functions */ 434md5_vector = 0x40000618; 435MD5Init = 0x4000061c; 436MD5Update = 0x40000620; 437MD5Final = 0x40000624; 438hmac_md5_vector = 0x40000628; 439hmac_md5 = 0x4000062c; 440crc32_le = 0x40000630; 441crc32_be = 0x40000634; 442crc16_le = 0x40000638; 443crc16_be = 0x4000063c; 444crc8_le = 0x40000640; 445crc8_be = 0x40000644; 446esp_crc8 = 0x40000648; 447ets_sha_enable = 0x4000064c; 448ets_sha_disable = 0x40000650; 449ets_sha_get_state = 0x40000654; 450ets_sha_init = 0x40000658; 451ets_sha_process = 0x4000065c; 452ets_sha_starts = 0x40000660; 453ets_sha_update = 0x40000664; 454ets_sha_finish = 0x40000668; 455ets_sha_clone = 0x4000066c; 456ets_hmac_enable = 0x40000670; 457ets_hmac_disable = 0x40000674; 458ets_hmac_calculate_message = 0x40000678; 459ets_hmac_calculate_downstream = 0x4000067c; 460ets_hmac_invalidate_downstream = 0x40000680; 461ets_jtag_enable_temporarily = 0x40000684; 462ets_aes_enable = 0x40000688; 463ets_aes_disable = 0x4000068c; 464ets_aes_setkey = 0x40000690; 465ets_aes_block = 0x40000694; 466ets_bigint_enable = 0x40000698; 467ets_bigint_disable = 0x4000069c; 468ets_bigint_multiply = 0x400006a0; 469ets_bigint_modmult = 0x400006a4; 470ets_bigint_modexp = 0x400006a8; 471ets_bigint_wait_finish = 0x400006ac; 472ets_bigint_getz = 0x400006b0; 473ets_ds_enable = 0x400006b4; 474ets_ds_disable = 0x400006b8; 475ets_ds_start_sign = 0x400006bc; 476ets_ds_is_busy = 0x400006c0; 477ets_ds_finish_sign = 0x400006c4; 478ets_ds_encrypt_params = 0x400006c8; 479ets_aes_setkey_dec = 0x400006cc; 480ets_aes_setkey_enc = 0x400006d0; 481ets_mgf1_sha256 = 0x400006d4; 482 483 484/*************************************** 485 Group efuse 486 ***************************************/ 487 488/* Functions */ 489ets_efuse_read = 0x400006d8; 490ets_efuse_program = 0x400006dc; 491ets_efuse_clear_program_registers = 0x400006e0; 492ets_efuse_write_key = 0x400006e4; 493ets_efuse_get_read_register_address = 0x400006e8; 494ets_efuse_get_key_purpose = 0x400006ec; 495ets_efuse_key_block_unused = 0x400006f0; 496ets_efuse_find_unused_key_block = 0x400006f4; 497ets_efuse_rs_calculate = 0x400006f8; 498ets_efuse_count_unused_key_blocks = 0x400006fc; 499ets_efuse_secure_boot_enabled = 0x40000700; 500ets_efuse_secure_boot_aggressive_revoke_enabled = 0x40000704; 501ets_efuse_cache_encryption_enabled = 0x40000708; 502ets_efuse_download_modes_disabled = 0x4000070c; 503ets_efuse_find_purpose = 0x40000710; 504ets_efuse_flash_opi_5pads_power_sel_vddspi = 0x40000714; 505ets_efuse_force_send_resume = 0x40000718; 506ets_efuse_get_flash_delay_us = 0x4000071c; 507ets_efuse_get_mac = 0x40000720; 508ets_efuse_get_spiconfig = 0x40000724; 509ets_efuse_usb_print_is_disabled = 0x40000728; 510ets_efuse_get_uart_print_channel = 0x4000072c; 511ets_efuse_get_uart_print_control = 0x40000730; 512ets_efuse_get_wp_pad = 0x40000734; 513ets_efuse_direct_boot_mode_disabled = 0x40000738; 514ets_efuse_security_download_modes_enabled = 0x4000073c; 515ets_efuse_set_timing = 0x40000740; 516ets_efuse_jtag_disabled = 0x40000744; 517ets_efuse_usb_download_mode_disabled = 0x40000748; 518ets_efuse_usb_module_disabled = 0x4000074c; 519ets_efuse_usb_device_disabled = 0x40000750; 520ets_efuse_secure_boot_fast_wake_enabled = 0x40000754; 521 522 523/*************************************** 524 Group secureboot 525 ***************************************/ 526 527/* Functions */ 528ets_emsa_pss_verify = 0x40000758; 529ets_rsa_pss_verify = 0x4000075c; 530ets_secure_boot_verify_bootloader_with_keys = 0x40000760; 531ets_secure_boot_verify_signature = 0x40000764; 532ets_secure_boot_read_key_digests = 0x40000768; 533ets_secure_boot_revoke_public_key_digest = 0x4000076c; 534 535 536/*************************************** 537 Group usb_uart 538 ***************************************/ 539 540/* Functions */ 541PROVIDE( usb_uart_device_rx_one_char = 0x400008d8 ); 542PROVIDE( usb_uart_device_rx_one_char_block = 0x400008dc ); 543PROVIDE( usb_uart_device_tx_flush = 0x400008e0 ); 544PROVIDE( usb_uart_device_tx_one_char = 0x400008e4 ); 545/* Data (.data, .bss, .rodata) */ 546PROVIDE( g_uart_print = 0x3fcdffcd ); 547PROVIDE( g_usb_print = 0x3fcdffcc ); 548 549 550/*************************************** 551 Group rom_phy 552 ***************************************/ 553 554/* Functions */ 555phy_get_romfuncs = 0x400008e8; 556rom_abs_temp = 0x400008ec; 557rom_bb_bss_cbw40_dig = 0x400008f0; 558rom_bb_wdg_test_en = 0x400008f4; 559rom_bb_wdt_get_status = 0x400008f8; 560rom_bb_wdt_int_enable = 0x400008fc; 561rom_bb_wdt_rst_enable = 0x40000900; 562rom_bb_wdt_timeout_clear = 0x40000904; 563rom_cbw2040_cfg = 0x40000908; 564rom_check_noise_floor = 0x4000090c; 565rom_chip_i2c_readReg = 0x40000910; 566rom_chip_i2c_writeReg = 0x40000914; 567rom_correct_rf_ana_gain = 0x40000918; 568rom_dc_iq_est = 0x4000091c; 569rom_disable_agc = 0x40000920; 570rom_en_pwdet = 0x40000924; 571rom_enable_agc = 0x40000928; 572rom_get_bbgain_db = 0x4000092c; 573rom_get_data_sat = 0x40000930; 574rom_get_i2c_read_mask = 0x40000934; 575rom_get_pwctrl_correct = 0x40000938; 576rom_get_rf_gain_qdb = 0x4000093c; 577rom_i2c_readReg = 0x40000940; 578rom_i2c_readReg_Mask = 0x40000944; 579rom_i2c_writeReg = 0x40000948; 580rom_i2c_writeReg_Mask = 0x4000094c; 581rom_index_to_txbbgain = 0x40000950; 582rom_iq_est_disable = 0x40000954; 583rom_iq_est_enable = 0x40000958; 584rom_linear_to_db = 0x4000095c; 585rom_loopback_mode_en = 0x40000960; 586rom_mhz2ieee = 0x40000964; 587rom_noise_floor_auto_set = 0x40000968; 588rom_pbus_debugmode = 0x4000096c; 589rom_pbus_force_mode = 0x40000970; 590rom_pbus_force_test = 0x40000974; 591rom_pbus_rd = 0x40000978; 592rom_pbus_rd_addr = 0x4000097c; 593rom_pbus_rd_shift = 0x40000980; 594rom_pbus_set_dco = 0x40000984; 595rom_pbus_set_rxgain = 0x40000988; 596rom_pbus_workmode = 0x4000098c; 597rom_pbus_xpd_rx_off = 0x40000990; 598rom_pbus_xpd_rx_on = 0x40000994; 599rom_pbus_xpd_tx_off = 0x40000998; 600rom_pbus_xpd_tx_on = 0x4000099c; 601rom_phy_byte_to_word = 0x400009a0; 602rom_phy_disable_cca = 0x400009a4; 603rom_phy_enable_cca = 0x400009a8; 604rom_phy_get_noisefloor = 0x400009ac; 605rom_phy_get_rx_freq = 0x400009b0; 606rom_phy_set_bbfreq_init = 0x400009b4; 607rom_pow_usr = 0x400009b8; 608rom_pwdet_sar2_init = 0x400009bc; 609rom_read_hw_noisefloor = 0x400009c0; 610rom_read_sar_dout = 0x400009c4; 611rom_set_cal_rxdc = 0x400009c8; 612rom_set_chan_cal_interp = 0x400009cc; 613rom_set_loopback_gain = 0x400009d0; 614rom_set_noise_floor = 0x400009d4; 615rom_set_rxclk_en = 0x400009d8; 616rom_set_tx_dig_gain = 0x400009dc; 617rom_set_txcap_reg = 0x400009e0; 618rom_set_txclk_en = 0x400009e4; 619rom_spur_cal = 0x400009e8; 620rom_spur_reg_write_one_tone = 0x400009ec; 621rom_target_power_add_backoff = 0x400009f0; 622rom_tx_pwctrl_bg_init = 0x400009f4; 623rom_txbbgain_to_index = 0x400009f8; 624rom_wifi_11g_rate_chg = 0x400009fc; 625rom_write_gain_mem = 0x40000a00; 626chip726_phyrom_version = 0x40000a04; 627rom_disable_wifi_agc = 0x40000a08; 628rom_enable_wifi_agc = 0x40000a0c; 629rom_set_tx_gain_table = 0x40000a10; 630rom_bt_index_to_bb = 0x40000a14; 631rom_bt_bb_to_index = 0x40000a18; 632rom_wr_bt_tx_atten = 0x40000a1c; 633rom_wr_bt_tx_gain_mem = 0x40000a20; 634rom_spur_coef_cfg = 0x40000a24; 635rom_bb_bss_cbw40 = 0x40000a28; 636rom_set_cca = 0x40000a2c; 637rom_tx_paon_set = 0x40000a30; 638rom_i2cmst_reg_init = 0x40000a34; 639rom_iq_corr_enable = 0x40000a38; 640rom_fe_reg_init = 0x40000a3c; 641rom_agc_reg_init = 0x40000a40; 642rom_bb_reg_init = 0x40000a44; 643rom_mac_enable_bb = 0x40000a48; 644rom_bb_wdg_cfg = 0x40000a4c; 645rom_force_txon = 0x40000a50; 646rom_fe_txrx_reset = 0x40000a54; 647rom_set_rx_comp = 0x40000a58; 648rom_set_pbus_reg = 0x40000a5c; 649rom_write_chan_freq = 0x40000a60; 650rom_phy_xpd_rf = 0x40000a64; 651rom_set_xpd_sar = 0x40000a68; 652rom_write_dac_gain2 = 0x40000a6c; 653rom_rtc_sar2_init = 0x40000a70; 654rom_get_target_power_offset = 0x40000a74; 655rom_write_txrate_power_offset = 0x40000a78; 656rom_get_rate_fcc_index = 0x40000a7c; 657rom_get_rate_target_power = 0x40000a80; 658rom_write_wifi_dig_gain = 0x40000a84; 659rom_bt_correct_rf_ana_gain = 0x40000a88; 660rom_pkdet_vol_start = 0x40000a8c; 661rom_read_sar2_code = 0x40000a90; 662rom_get_sar2_vol = 0x40000a94; 663rom_get_pll_vol = 0x40000a98; 664rom_get_phy_target_power = 0x40000a9c; 665rom_temp_to_power = 0x40000aa0; 666rom_phy_track_pll_cap = 0x40000aa4; 667rom_phy_pwdet_always_en = 0x40000aa8; 668rom_phy_pwdet_onetime_en = 0x40000aac; 669rom_get_i2c_mst0_mask = 0x40000ab0; 670rom_get_i2c_hostid = 0x40000ab4; 671rom_enter_critical_phy = 0x40000ab8; 672rom_exit_critical_phy = 0x40000abc; 673rom_chip_i2c_readReg_org = 0x40000ac0; 674rom_i2c_paral_set_mst0 = 0x40000ac4; 675rom_i2c_paral_set_read = 0x40000ac8; 676rom_i2c_paral_read = 0x40000acc; 677rom_i2c_paral_write = 0x40000ad0; 678rom_i2c_paral_write_num = 0x40000ad4; 679rom_i2c_paral_write_mask = 0x40000ad8; 680rom_bb_bss_cbw40_ana = 0x40000adc; 681rom_chan_to_freq = 0x40000ae0; 682rom_open_i2c_xpd = 0x40000ae4; 683rom_dac_rate_set = 0x40000ae8; 684rom_tsens_read_init = 0x40000aec; 685rom_tsens_code_read = 0x40000af0; 686rom_tsens_index_to_dac = 0x40000af4; 687rom_tsens_index_to_offset = 0x40000af8; 688rom_tsens_dac_cal = 0x40000afc; 689rom_code_to_temp = 0x40000b00; 690rom_write_pll_cap_mem = 0x40000b04; 691rom_pll_correct_dcap = 0x40000b08; 692rom_phy_en_hw_set_freq = 0x40000b0c; 693rom_phy_dis_hw_set_freq = 0x40000b10; 694rom_pll_vol_cal = 0x40000b14; 695rom_wrtie_pll_cap = 0x40000b18; 696rom_set_tx_gain_mem = 0x40000b1c; 697rom_bt_tx_dig_gain = 0x40000b20; 698rom_bt_get_tx_gain = 0x40000b24; 699rom_get_chan_target_power = 0x40000b28; 700rom_get_tx_gain_value = 0x40000b2c; 701rom_wifi_tx_dig_gain = 0x40000b30; 702rom_wifi_get_tx_gain = 0x40000b34; 703rom_fe_i2c_reg_renew = 0x40000b38; 704rom_wifi_agc_sat_gain = 0x40000b3c; 705rom_i2c_master_reset = 0x40000b40; 706rom_bt_filter_reg = 0x40000b44; 707rom_phy_bbpll_cal = 0x40000b48; 708rom_i2c_sar2_init_code = 0x40000b4c; 709rom_phy_param_addr = 0x40000b50; 710rom_phy_reg_init = 0x40000b54; 711rom_set_chan_reg = 0x40000b58; 712rom_phy_wakeup_init = 0x40000b5c; 713rom_phy_i2c_init1 = 0x40000b60; 714rom_tsens_temp_read = 0x40000b64; 715rom_bt_track_pll_cap = 0x40000b68; 716rom_wifi_track_pll_cap = 0x40000b6c; 717rom_wifi_set_tx_gain = 0x40000b70; 718rom_txpwr_cal_track = 0x40000b74; 719rom_tx_pwctrl_background = 0x40000b78; 720rom_bt_set_tx_gain = 0x40000b7c; 721rom_noise_check_loop = 0x40000b80; 722rom_phy_close_rf = 0x40000b84; 723rom_phy_xpd_tsens = 0x40000b88; 724rom_phy_freq_mem_backup = 0x40000b8c; 725rom_phy_ant_init = 0x40000b90; 726rom_bt_track_tx_power = 0x40000b94; 727rom_wifi_track_tx_power = 0x40000b98; 728rom_phy_dig_reg_backup = 0x40000b9c; 729chip726_phyrom_version_num = 0x40000ba0; 730/* Data (.data, .bss, .rodata) */ 731phy_param_rom = 0x3fcdffc8; 732