Merge pull request #330 from vDorst/SRAM-easy-changes

Sram easy changes
This commit is contained in:
René van Dorst
2026-08-29 18:33:29 +00:00
committed by GitHub
5 changed files with 22 additions and 20 deletions
+3 -3
View File
@@ -157,7 +157,7 @@ __xdata u16_t uip_len, uip_slen;
__xdata u8_t uip_flags; /* The uip_flags variable is used for
communication between the TCP/IP stack
and the application program. */
__xdata struct uip_conn *uip_conn; /* uip_conn always points to the current
__xdata struct uip_conn * __xdata uip_conn; /* uip_conn always points to the current
connection. */
__xdata struct uip_conn uip_conns[UIP_CONNS];
@@ -167,7 +167,7 @@ __xdata u16_t uip_listenports[UIP_LISTENPORTS];
/* The uip_listenports list all currently
listning ports. */
#if UIP_UDP
__xdata struct uip_udp_conn *uip_udp_conn;
__xdata struct uip_udp_conn * __xdata uip_udp_conn;
__xdata struct uip_udp_conn uip_udp_conns[UIP_UDP_CONNS];
#endif /* UIP_UDP */
@@ -466,7 +466,7 @@ uip_connect(__xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banked
/*---------------------------------------------------------------------------*/
#if UIP_UDP
__xdata struct uip_udp_conn *
uip_udp_new(__xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banked
uip_udp_new(__xdata uip_ipaddr_t * __xdata ripaddr, __xdata u16_t rport) __banked
{
__xdata struct uip_udp_conn *conn;
+3 -3
View File
@@ -763,7 +763,7 @@ void uip_send(__xdata const void *data, __xdata uint16_t len) __banked;
* \return The uip_udp_conn structure for the new connection or NULL
* if no connection could be allocated.
*/
__xdata struct uip_udp_conn *uip_udp_new(__xdata uip_ipaddr_t *ripaddr, __xdata u16_t rport) __banked;
__xdata struct uip_udp_conn *uip_udp_new(__xdata uip_ipaddr_t * __xdata ripaddr, __xdata u16_t rport) __banked;
/**
* Removed a UDP connection.
@@ -1193,7 +1193,7 @@ struct uip_conn {
* The uip_conn pointer can be used to access the current TCP
* connection.
*/
extern __xdata struct uip_conn *uip_conn;
extern __xdata struct uip_conn * __xdata uip_conn;
/* The array containing all uIP connections. */
extern __xdata struct uip_conn uip_conns[UIP_CONNS];
/**
@@ -1226,7 +1226,7 @@ struct uip_udp_conn {
/**
* The current UDP connection.
*/
extern __xdata struct uip_udp_conn *uip_udp_conn;
extern __xdata struct uip_udp_conn * __xdata uip_udp_conn;
extern __xdata struct uip_udp_conn uip_udp_conns[UIP_UDP_CONNS];
#endif /* UIP_UDP */
+1 -1
View File
@@ -175,7 +175,7 @@ uip_arp_timer(void) __banked
}
/*-----------------------------------------------------------------------------------*/
static void
uip_arp_update(__xdata u16_t *ipaddr, __xdata struct uip_eth_addr *ethaddr)
uip_arp_update(__xdata u16_t * __xdata ipaddr, __xdata struct uip_eth_addr * __xdata ethaddr)
{
uint8_t i;
/* Walk through the ARP mapping table and try to find an entry to