- 精华
- 0
- 帖子
- 679
- 威望
- 0 点
- 积分
- 721 点
- 种子
- 12 点
- 注册时间
- 2007-1-8
- 最后登录
- 2024-12-23
|
楼主 |
发表于 2017-3-10 11:07 · 辽宁
|
显示全部楼层
994
Fix for HDD size calculation, new poweroff processing mechanism, fixed PBUF allocation for Ethernet ARP request, new option for SMSTCPIP to save more RAM.
* Corrected HDD partition size calculation (change in homebrew specs to align with the official documentation; size is now in 512-byte HDD sectors).
* (ingame SMSTCPIP) Fixed pbuf allocation for Ethernet ARP request and changed SMAPSendPacket to assume that all PBUFs are aligned.
etharp_query requests PBUF_LINK from pbuf_alloc(), but does not reveal the Ethernet header.
It is possible that this also writes beyond the end of the PBUF.
* Changed GUI power-off to deinitialize the UI and to switch off DEV9, before power off.
* Added new MEM_LIBC_MALLOC option to mem.c and enabled it. It functions like the official option from newer LWIP versions.
994
修复了HDD空间大小计算,新的关机处理机制,修复了以太网ARP请求的PBUF分配,SMSTCPIP新选项节省更多运存。
*更正了HDD分区大小计算(根据官方文档改变了自制规则;HDD扇区大小现在是512字节)。
etharp_query从pbuf_alloc()请求PBUF_LINK,不过不会显示以太网头部。
它可能也写入超出PBUF的末尾。
*变更了GUI关机来取消初始化UI和切换关闭DEV9,关机前。
*增加了新的MEM_LIBC_MALLOC选项到mem.c并启用它。它的功能像官方选项从最新LWIP版本。 |
|