Ver Fonte

Merge branch 'bugfix/update_esp_rom_lldesc_header' into 'master'

esp_rom: remove lldesc_xxx definitions since no actual function bodies

Closes IDFGH-8772

See merge request espressif/esp-idf!21289
Jiang Guang Ming há 3 anos atrás
pai
commit
0c4d5cfc51

+ 0 - 11
components/esp_rom/include/esp32c2/rom/lldesc.h

@@ -91,17 +91,6 @@ enum sbuf_mask_s  {
 
 #define LLDESC_ADDR_MASK                    0x000fffff
 
-void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner,
-                        lldesc_t **head,
-#ifdef TO_HOST_RESTART
-                        lldesc_t **one_before_tail,
-#endif
-                        lldesc_t **tail);
-
-lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks);
-
-lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner);
-
 static inline uint32_t lldesc_get_chain_length(lldesc_t *head)
 {
     lldesc_t *ds = head;

+ 0 - 11
components/esp_rom/include/esp32c3/rom/lldesc.h

@@ -91,17 +91,6 @@ enum sbuf_mask_s  {
 
 #define LLDESC_ADDR_MASK                    0x000fffff
 
-void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner,
-                        lldesc_t **head,
-#ifdef TO_HOST_RESTART
-                        lldesc_t **one_before_tail,
-#endif
-                        lldesc_t **tail);
-
-lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks);
-
-lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner);
-
 static inline uint32_t lldesc_get_chain_length(lldesc_t *head)
 {
     lldesc_t *ds = head;

+ 0 - 4
components/esp_rom/include/esp32c6/rom/lldesc.h

@@ -98,10 +98,6 @@ void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, ui
 #endif
                         lldesc_t **tail);
 
-lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks);
-
-lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner);
-
 static inline uint32_t lldesc_get_chain_length(lldesc_t *head)
 {
     lldesc_t *ds = head;

+ 0 - 11
components/esp_rom/include/esp32h4/rom/lldesc.h

@@ -91,17 +91,6 @@ enum sbuf_mask_s  {
 
 #define LLDESC_ADDR_MASK                    0x000fffff
 
-void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner,
-                        lldesc_t **head,
-#ifdef TO_HOST_RESTART
-                        lldesc_t **one_before_tail,
-#endif
-                        lldesc_t **tail);
-
-lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks);
-
-lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner);
-
 static inline uint32_t lldesc_get_chain_length(lldesc_t *head)
 {
     lldesc_t *ds = head;

+ 0 - 11
components/esp_rom/include/esp32s3/rom/lldesc.h

@@ -88,17 +88,6 @@ enum sbuf_mask_s  {
 
 #define LLDESC_ADDR_MASK                    0x000fffff
 
-void lldesc_build_chain(uint8_t *descptr, uint32_t desclen, uint8_t *mblkptr, uint32_t buflen, uint32_t blksz, uint8_t owner,
-                        lldesc_t **head,
-#ifdef TO_HOST_RESTART
-                        lldesc_t **one_before_tail,
-#endif
-                        lldesc_t **tail);
-
-lldesc_t *lldesc_num2link(lldesc_t *head, uint16_t nblks);
-
-lldesc_t *lldesc_set_owner(lldesc_t *head, uint16_t nblks, uint8_t owner);
-
 static inline uint32_t lldesc_get_chain_length(lldesc_t *head)
 {
     lldesc_t *ds = head;