Debian Codegraph @

flasher_stub/ld/rom_32c6.ld

raw
1 /* ROM function interface esp32c6.rom.ld for esp32c6
2 *
3 *
4 * Generated from ./target/esp32c6/interface-esp32c6.yml md5sum 626e7f1bf23e87c38db8c3f22a53407b
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 /***************************************
12 Group common
13 ***************************************/
14
15 PROVIDE ( SPIWrite = esp_rom_spiflash_write);
16 PROVIDE ( SPI_read_status_high = esp_rom_spiflash_read_statushigh);
17 PROVIDE ( SPI_write_status = esp_rom_spiflash_write_status);
18 PROVIDE ( SPIRead = esp_rom_spiflash_read);
19 PROVIDE ( SPIParamCfg = esp_rom_spiflash_config_param);
20 PROVIDE ( SPIEraseChip = esp_rom_spiflash_erase_chip);
21 PROVIDE ( SPIEraseSector = esp_rom_spiflash_erase_sector);
22 PROVIDE ( SPIEraseBlock = esp_rom_spiflash_erase_block);
23 PROVIDE ( SPI_Write_Encrypt_Enable = esp_rom_spiflash_write_encrypted_enable);
24 PROVIDE ( SPI_Write_Encrypt_Disable = esp_rom_spiflash_write_encrypted_disable);
25 PROVIDE ( SPI_Encrypt_Write = esp_rom_spiflash_write_encrypted);
26
27 /***************************************
28 Group common
29 ***************************************/
30
31 /* Functions */
32 rtc_get_reset_reason = 0x40000018;
33 analog_super_wdt_reset_happened = 0x4000001c;
34 rtc_get_wakeup_cause = 0x40000020;
35 rtc_unhold_all_pads = 0x40000024;
36 ets_printf = 0x40000028;
37 ets_install_putc1 = 0x4000002c;
38 ets_install_putc2 = 0x40000030;
39 ets_install_uart_printf = 0x40000034;
40 ets_install_usb_printf = 0x40000038;
41 ets_get_printf_channel = 0x4000003c;
42 ets_delay_us = 0x40000040;
43 ets_get_cpu_frequency = 0x40000044;
44 ets_update_cpu_frequency = 0x40000048;
45 ets_install_lock = 0x4000004c;
46 UartRxString = 0x40000050;
47 UartGetCmdLn = 0x40000054;
48 uart_tx_one_char = 0x40000058;
49 uart_tx_one_char2 = 0x4000005c;
50 uart_rx_one_char = 0x40000060;
51 uart_rx_one_char_block = 0x40000064;
52 uart_rx_intr_handler = 0x40000068;
53 uart_rx_readbuff = 0x4000006c;
54 uartAttach = 0x40000070;
55 uart_tx_flush = 0x40000074;
56 uart_tx_wait_idle = 0x40000078;
57 uart_div_modify = 0x4000007c;
58 ets_write_char_uart = 0x40000080;
59 uart_tx_switch = 0x40000084;
60 roundup2 = 0x40000088;
61 multofup = 0x4000008c;
62 software_reset = 0x40000090;
63 software_reset_cpu = 0x40000094;
64 ets_clk_assist_debug_clock_enable = 0x40000098;
65 clear_super_wdt_reset_flag = 0x4000009c;
66 disable_default_watchdog = 0x400000a0;
67 esp_rom_set_rtc_wake_addr = 0x400000a4;
68 esp_rom_get_rtc_wake_addr = 0x400000a8;
69 send_packet = 0x400000ac;
70 recv_packet = 0x400000b0;
71 GetUartDevice = 0x400000b4;
72 UartDwnLdProc = 0x400000b8;
73 GetSecurityInfoProc = 0x400000bc;
74 Uart_Init = 0x400000c0;
75 ets_set_user_start = 0x400000c4;
76 /* Data (.data, .bss, .rodata) */
77 ets_rom_layout_p = 0x4004fffc;
78 ets_ops_table_ptr = 0x4087fff8;
79 g_saved_pc = 0x4087fffc;
80
81
82 /***************************************
83 Group miniz
84 ***************************************/
85
86 /* Functions */
87 mz_adler32 = 0x400000c8;
88 mz_free = 0x400000cc;
89 tdefl_compress = 0x400000d0;
90 tdefl_compress_buffer = 0x400000d4;
91 tdefl_compress_mem_to_heap = 0x400000d8;
92 tdefl_compress_mem_to_mem = 0x400000dc;
93 tdefl_compress_mem_to_output = 0x400000e0;
94 tdefl_get_adler32 = 0x400000e4;
95 tdefl_get_prev_return_status = 0x400000e8;
96 tdefl_init = 0x400000ec;
97 tdefl_write_image_to_png_file_in_memory = 0x400000f0;
98 tdefl_write_image_to_png_file_in_memory_ex = 0x400000f4;
99 tinfl_decompress = 0x400000f8;
100 tinfl_decompress_mem_to_callback = 0x400000fc;
101 tinfl_decompress_mem_to_heap = 0x40000100;
102 tinfl_decompress_mem_to_mem = 0x40000104;
103
104
105 /***************************************
106 Group tjpgd
107 ***************************************/
108
109 /* Functions */
110 jd_prepare = 0x40000108;
111 jd_decomp = 0x4000010c;
112
113
114 /***************************************
115 Group spiflash_legacy
116 ***************************************/
117
118 /* Functions */
119 esp_rom_spiflash_wait_idle = 0x40000110;
120 esp_rom_spiflash_write_encrypted = 0x40000114;
121 esp_rom_spiflash_write_encrypted_dest = 0x40000118;
122 esp_rom_spiflash_write_encrypted_enable = 0x4000011c;
123 esp_rom_spiflash_write_encrypted_disable = 0x40000120;
124 esp_rom_spiflash_erase_chip = 0x40000124;
125 _esp_rom_spiflash_erase_sector = 0x40000128;
126 _esp_rom_spiflash_erase_block = 0x4000012c;
127 _esp_rom_spiflash_write = 0x40000130;
128 _esp_rom_spiflash_read = 0x40000134;
129 _esp_rom_spiflash_unlock = 0x40000138;
130 _SPIEraseArea = 0x4000013c;
131 _SPI_write_enable = 0x40000140;
132 esp_rom_spiflash_erase_sector = 0x40000144;
133 esp_rom_spiflash_erase_block = 0x40000148;
134 esp_rom_spiflash_write = 0x4000014c;
135 esp_rom_spiflash_read = 0x40000150;
136 esp_rom_spiflash_unlock = 0x40000154;
137 SPIEraseArea = 0x40000158;
138 SPI_write_enable = 0x4000015c;
139 esp_rom_spiflash_config_param = 0x40000160;
140 esp_rom_spiflash_read_user_cmd = 0x40000164;
141 esp_rom_spiflash_select_qio_pins = 0x40000168;
142 esp_rom_spi_flash_auto_sus_res = 0x4000016c;
143 esp_rom_spi_flash_send_resume = 0x40000170;
144 esp_rom_spi_flash_update_id = 0x40000174;
145 esp_rom_spiflash_config_clk = 0x40000178;
146 esp_rom_spiflash_config_readmode = 0x4000017c;
147 esp_rom_spiflash_read_status = 0x40000180;
148 esp_rom_spiflash_read_statushigh = 0x40000184;
149 esp_rom_spiflash_write_status = 0x40000188;
150 spi_cache_mode_switch = 0x4000018c;
151 spi_common_set_dummy_output = 0x40000190;
152 spi_common_set_flash_cs_timing = 0x40000194;
153 esp_rom_spi_set_address_bit_len = 0x40000198;
154 SPILock = 0x4000019c;
155 SPIMasterReadModeCnfig = 0x400001a0;
156 SPI_Common_Command = 0x400001a4;
157 SPI_WakeUp = 0x400001a8;
158 SPI_block_erase = 0x400001ac;
159 SPI_chip_erase = 0x400001b0;
160 SPI_init = 0x400001b4;
161 SPI_page_program = 0x400001b8;
162 SPI_read_data = 0x400001bc;
163 SPI_sector_erase = 0x400001c0;
164 SelectSpiFunction = 0x400001c4;
165 SetSpiDrvs = 0x400001c8;
166 Wait_SPI_Idle = 0x400001cc;
167 spi_dummy_len_fix = 0x400001d0;
168 Disable_QMode = 0x400001d4;
169 Enable_QMode = 0x400001d8;
170 spi_flash_attach = 0x400001dc;
171 spi_flash_get_chip_size = 0x400001e0;
172 spi_flash_guard_set = 0x400001e4;
173 spi_flash_guard_get = 0x400001e8;
174 spi_flash_read_encrypted = 0x400001ec;
175 /* Data (.data, .bss, .rodata) */
176 rom_spiflash_legacy_funcs = 0x4087fff0;
177 rom_spiflash_legacy_data = 0x4087ffec;
178 g_flash_guard_ops = 0x4087fff4;
179
180
181 /***************************************
182 Group hal_wdt
183 ***************************************/
184
185 /* Functions */
186 wdt_hal_init = 0x40000394;
187 wdt_hal_deinit = 0x40000398;
188 wdt_hal_config_stage = 0x4000039c;
189 wdt_hal_write_protect_disable = 0x400003a0;
190 wdt_hal_write_protect_enable = 0x400003a4;
191 wdt_hal_enable = 0x400003a8;
192 wdt_hal_disable = 0x400003ac;
193 wdt_hal_handle_intr = 0x400003b0;
194 wdt_hal_feed = 0x400003b4;
195 wdt_hal_set_flashboot_en = 0x400003b8;
196 wdt_hal_is_enabled = 0x400003bc;
197
198
199 /***************************************
200 Group hal_systimer
201 ***************************************/
202
203 /* Functions */
204 systimer_hal_init = 0x400003c0;
205 systimer_hal_deinit = 0x400003c4;
206 systimer_hal_set_tick_rate_ops = 0x400003c8;
207 systimer_hal_get_counter_value = 0x400003cc;
208 systimer_hal_get_time = 0x400003d0;
209 systimer_hal_set_alarm_target = 0x400003d4;
210 systimer_hal_set_alarm_period = 0x400003d8;
211 systimer_hal_get_alarm_value = 0x400003dc;
212 systimer_hal_enable_alarm_int = 0x400003e0;
213 systimer_hal_on_apb_freq_update = 0x400003e4;
214 systimer_hal_counter_value_advance = 0x400003e8;
215 systimer_hal_enable_counter = 0x400003ec;
216 systimer_hal_select_alarm_mode = 0x400003f0;
217 systimer_hal_connect_alarm_counter = 0x400003f4;
218 systimer_hal_counter_can_stall_by_cpu = 0x400003f8;
219
220
221 /***************************************
222 Group cache
223 ***************************************/
224
225 /* Functions */
226 Cache_Get_ICache_Line_Size = 0x40000628;
227 Cache_Get_Mode = 0x4000062c;
228 Cache_Address_Through_Cache = 0x40000630;
229 ROM_Boot_Cache_Init = 0x40000634;
230 MMU_Set_Page_Mode = 0x40000638;
231 MMU_Get_Page_Mode = 0x4000063c;
232 Cache_Invalidate_ICache_Items = 0x40000640;
233 Cache_Op_Addr = 0x40000644;
234 Cache_Invalidate_Addr = 0x40000648;
235 Cache_Invalidate_ICache_All = 0x4000064c;
236 Cache_Mask_All = 0x40000650;
237 Cache_UnMask_Dram0 = 0x40000654;
238 Cache_Suspend_ICache_Autoload = 0x40000658;
239 Cache_Resume_ICache_Autoload = 0x4000065c;
240 Cache_Start_ICache_Preload = 0x40000660;
241 Cache_ICache_Preload_Done = 0x40000664;
242 Cache_End_ICache_Preload = 0x40000668;
243 Cache_Config_ICache_Autoload = 0x4000066c;
244 Cache_Enable_ICache_Autoload = 0x40000670;
245 Cache_Disable_ICache_Autoload = 0x40000674;
246 Cache_Enable_ICache_PreLock = 0x40000678;
247 Cache_Disable_ICache_PreLock = 0x4000067c;
248 Cache_Lock_ICache_Items = 0x40000680;
249 Cache_Unlock_ICache_Items = 0x40000684;
250 Cache_Lock_Addr = 0x40000688;
251 Cache_Unlock_Addr = 0x4000068c;
252 Cache_Disable_ICache = 0x40000690;
253 Cache_Enable_ICache = 0x40000694;
254 Cache_Suspend_ICache = 0x40000698;
255 Cache_Resume_ICache = 0x4000069c;
256 Cache_Freeze_ICache_Enable = 0x400006a0;
257 Cache_Freeze_ICache_Disable = 0x400006a4;
258 Cache_Set_IDROM_MMU_Size = 0x400006a8;
259 Cache_Get_IROM_MMU_End = 0x400006ac;
260 Cache_Get_DROM_MMU_End = 0x400006b0;
261 Cache_MMU_Init = 0x400006b4;
262 Cache_MSPI_MMU_Set = 0x400006b8;
263 Cache_Travel_Tag_Memory = 0x400006bc;
264 Cache_Get_Virtual_Addr = 0x400006c0;
265 /* Data (.data, .bss, .rodata) */
266 rom_cache_op_cb = 0x4087ffcc;
267 rom_cache_internal_table_ptr = 0x4087ffc8;
268
269
270 /***************************************
271 Group clock
272 ***************************************/
273
274 /* Functions */
275 ets_clk_get_xtal_freq = 0x400006c4;
276 ets_clk_get_cpu_freq = 0x400006c8;
277 ets_clk_apb_wait_ready = 0x400006cc;
278 ets_clk_mspi_apb_wait_ready = 0x400006d0;
279
280
281 /***************************************
282 Group gpio
283 ***************************************/
284
285 /* Functions */
286 gpio_input_get = 0x400006d4;
287 gpio_matrix_in = 0x400006d8;
288 gpio_matrix_out = 0x400006dc;
289 gpio_output_disable = 0x400006e0;
290 gpio_output_enable = 0x400006e4;
291 gpio_output_set = 0x400006e8;
292 gpio_pad_hold = 0x400006ec;
293 gpio_pad_input_disable = 0x400006f0;
294 gpio_pad_input_enable = 0x400006f4;
295 gpio_pad_pulldown = 0x400006f8;
296 gpio_pad_pullup = 0x400006fc;
297 gpio_pad_select_gpio = 0x40000700;
298 gpio_pad_set_drv = 0x40000704;
299 gpio_pad_unhold = 0x40000708;
300 gpio_pin_wakeup_disable = 0x4000070c;
301 gpio_pin_wakeup_enable = 0x40000710;
302 gpio_bypass_matrix_in = 0x40000714;
303
304
305 /***************************************
306 Group interrupts
307 ***************************************/
308
309 /* Functions */
310 esprv_intc_int_set_priority = 0x40000718;
311 esprv_intc_int_set_threshold = 0x4000071c;
312 esprv_intc_int_enable = 0x40000720;
313 esprv_intc_int_disable = 0x40000724;
314 esprv_intc_int_set_type = 0x40000728;
315 PROVIDE( intr_handler_set = 0x4000072c );
316 intr_matrix_set = 0x40000730;
317 ets_intr_lock = 0x40000734;
318 ets_intr_unlock = 0x40000738;
319 ets_isr_attach = 0x4000073c;
320 ets_isr_mask = 0x40000740;
321 ets_isr_unmask = 0x40000744;
322
323
324 /***************************************
325 Group crypto
326 ***************************************/
327
328 /* Functions */
329 md5_vector = 0x40000748;
330 MD5Init = 0x4000074c;
331 MD5Update = 0x40000750;
332 MD5Final = 0x40000754;
333 crc32_le = 0x40000758;
334 crc16_le = 0x4000075c;
335 crc8_le = 0x40000760;
336 crc32_be = 0x40000764;
337 crc16_be = 0x40000768;
338 crc8_be = 0x4000076c;
339 esp_crc8 = 0x40000770;
340 ets_sha_enable = 0x40000774;
341 ets_sha_disable = 0x40000778;
342 ets_sha_get_state = 0x4000077c;
343 ets_sha_init = 0x40000780;
344 ets_sha_process = 0x40000784;
345 ets_sha_starts = 0x40000788;
346 ets_sha_update = 0x4000078c;
347 ets_sha_finish = 0x40000790;
348 ets_sha_clone = 0x40000794;
349 ets_hmac_enable = 0x40000798;
350 ets_hmac_disable = 0x4000079c;
351 ets_hmac_calculate_message = 0x400007a0;
352 ets_hmac_calculate_downstream = 0x400007a4;
353 ets_hmac_invalidate_downstream = 0x400007a8;
354 ets_jtag_enable_temporarily = 0x400007ac;
355 ets_aes_enable = 0x400007b0;
356 ets_aes_disable = 0x400007b4;
357 ets_aes_setkey = 0x400007b8;
358 ets_aes_block = 0x400007bc;
359 ets_aes_setkey_dec = 0x400007c0;
360 ets_aes_setkey_enc = 0x400007c4;
361 ets_bigint_enable = 0x400007c8;
362 ets_bigint_disable = 0x400007cc;
363 ets_bigint_multiply = 0x400007d0;
364 ets_bigint_modmult = 0x400007d4;
365 ets_bigint_modexp = 0x400007d8;
366 ets_bigint_wait_finish = 0x400007dc;
367 ets_bigint_getz = 0x400007e0;
368 ets_ds_enable = 0x400007e4;
369 ets_ds_disable = 0x400007e8;
370 ets_ds_start_sign = 0x400007ec;
371 ets_ds_is_busy = 0x400007f0;
372 ets_ds_finish_sign = 0x400007f4;
373 ets_ds_encrypt_params = 0x400007f8;
374 ets_mgf1_sha256 = 0x400007fc;
375 /* Data (.data, .bss, .rodata) */
376 crc32_le_table_ptr = 0x4004fff8;
377 crc16_le_table_ptr = 0x4004fff4;
378 crc8_le_table_ptr = 0x4004fff0;
379 crc32_be_table_ptr = 0x4004ffec;
380 crc16_be_table_ptr = 0x4004ffe8;
381 crc8_be_table_ptr = 0x4004ffe4;
382
383
384 /***************************************
385 Group efuse
386 ***************************************/
387
388 /* Functions */
389 ets_efuse_read = 0x40000800;
390 ets_efuse_program = 0x40000804;
391 ets_efuse_clear_program_registers = 0x40000808;
392 ets_efuse_write_key = 0x4000080c;
393 ets_efuse_get_read_register_address = 0x40000810;
394 ets_efuse_get_key_purpose = 0x40000814;
395 ets_efuse_key_block_unused = 0x40000818;
396 ets_efuse_find_unused_key_block = 0x4000081c;
397 ets_efuse_rs_calculate = 0x40000820;
398 ets_efuse_count_unused_key_blocks = 0x40000824;
399 ets_efuse_secure_boot_enabled = 0x40000828;
400 ets_efuse_secure_boot_aggressive_revoke_enabled = 0x4000082c;
401 ets_efuse_cache_encryption_enabled = 0x40000830;
402 ets_efuse_download_modes_disabled = 0x40000834;
403 ets_efuse_find_purpose = 0x40000838;
404 ets_efuse_force_send_resume = 0x4000083c;
405 ets_efuse_get_flash_delay_us = 0x40000840;
406 ets_efuse_get_mac = 0x40000844;
407 ets_efuse_get_uart_print_control = 0x40000848;
408 ets_efuse_direct_boot_mode_disabled = 0x4000084c;
409 ets_efuse_security_download_modes_enabled = 0x40000850;
410 ets_efuse_set_timing = 0x40000854;
411 ets_efuse_jtag_disabled = 0x40000858;
412 ets_efuse_usb_print_is_disabled = 0x4000085c;
413 ets_efuse_usb_download_mode_disabled = 0x40000860;
414 ets_efuse_usb_device_disabled = 0x40000864;
415 ets_efuse_secure_boot_fast_wake_enabled = 0x40000868;
416
417
418 /***************************************
419 Group secureboot
420 ***************************************/
421
422 /* Functions */
423 ets_emsa_pss_verify = 0x4000086c;
424 ets_rsa_pss_verify = 0x40000870;
425 ets_secure_boot_verify_bootloader_with_keys = 0x40000874;
426 ets_secure_boot_verify_signature = 0x40000878;
427 ets_secure_boot_read_key_digests = 0x4000087c;
428 ets_secure_boot_revoke_public_key_digest = 0x40000880;
429
430
431 /***************************************
432 Group usb_device_uart
433 ***************************************/
434
435 /* Functions */
436 usb_serial_device_rx_one_char = 0x40000a80;
437 usb_serial_device_rx_one_char_block = 0x40000a84;
438 usb_serial_device_tx_flush = 0x40000a88;
439 usb_serial_device_tx_one_char = 0x40000a8c;
440
441
442 /***************************************
443 Group lldesc
444 ***************************************/
445
446 /* Functions */
447 lldesc_build_chain = 0x40000a90;
448
449
450 /***************************************
451 Group sip
452 ***************************************/
453
454 /* Functions */
455 sip_after_tx_complete = 0x40000a94;
456 sip_alloc_to_host_evt = 0x40000a98;
457 sip_download_begin = 0x40000a9c;
458 sip_get_ptr = 0x40000aa0;
459 sip_get_state = 0x40000aa4;
460 sip_init_attach = 0x40000aa8;
461 sip_install_rx_ctrl_cb = 0x40000aac;
462 sip_install_rx_data_cb = 0x40000ab0;
463 sip_is_active = 0x40000ab4;
464 sip_post_init = 0x40000ab8;
465 sip_reclaim_from_host_cmd = 0x40000abc;
466 sip_reclaim_tx_data_pkt = 0x40000ac0;
467 sip_send = 0x40000ac4;
468 sip_to_host_chain_append = 0x40000ac8;
469 sip_to_host_evt_send_done = 0x40000acc;
470
471
472 /***************************************
473 Group slc
474 ***************************************/
475
476 /* Functions */
477 slc_add_credits = 0x40000ad0;
478 slc_enable = 0x40000ad4;
479 slc_from_host_chain_fetch = 0x40000ad8;
480 slc_from_host_chain_recycle = 0x40000adc;
481 slc_has_pkt_to_host = 0x40000ae0;
482 slc_init_attach = 0x40000ae4;
483 slc_init_credit = 0x40000ae8;
484 slc_reattach = 0x40000aec;
485 slc_send_to_host_chain = 0x40000af0;
486 slc_set_host_io_max_window = 0x40000af4;
487 slc_to_host_chain_recycle = 0x40000af8;