- 博客(9)
- 收藏
- 关注
原创 vscode.js
punctuation.separator.pointer-access”,//语法符号,视作关键字 符号 “->”“punctuation.separator.dot-access”,//语法符号,视作关键字 符号 “.”“storage.type.built-in.primitive.c”, //自带的类型。“string.quoted.other.lt-gt.include”, //头文件。// “strings”: “#f50000”, // 字符串。
2023-05-12 16:12:42
205
原创 驱动irq
http://www.wowotech.net/irq_subsystem/irq-domain.html wowokeji 涉及目录: kernel/irq/ irqdomain.c irqdesc.c proc.c manage.c request_irq_thread定义 drivers/ irqchip.c irq-gic.c(v2) irq-gic-common.c drivers/of/irq.c
2021-08-02 21:15:06
242
原创 lwip tcp状态
tcp_process(struct tcp_pcb pcb)函数进行此插口(socket)状态的转移和处理 if ((pcb->flags & TF_RXCLOSED) == 0) { / Update the PCB (in)activity timer unless rx is closed (see tcp_shutdown) */ pcb->tmr = tcp_ticks; } 如果没有关闭的话 更新此链接的保活时间 /* Do different things depend.
2021-07-27 21:32:30
1839
3
原创 lwip ip
ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest) 分片函数 /* Save original offset / tmp = lwip_ntohs(IPH_OFFSET(iphdr)); ofo = tmp & IP_OFFMASK; / already fragmented? if so, the last fragment we create must have MF, too */ mf_set = tmp
2021-07-21 20:27:04
330
原创 lwip内存堆
内存堆: 内存堆就是一段内存使用多大就在堆里边找一个块其大小是sizeof(struct mem) + size ,整个堆都是这样的结构块组成的,最开始就是一个空闲块
2021-07-18 13:39:27
150
原创 lwip内存池
lwip内存池: 文件:memp.c memp.h memp_std.h #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) LWIP_DECLARE_MEMORY_ALIGNED(memp_memory_ ## name ## base, ((num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size)))); LWIP_MEMPOOL_DECLARE_STATS_INSTANCE(memp_stats ## name) st
2021-07-17 18:24:38
529
原创 xilinx pcie ep pio
实时画状态图 https://hifpga.com/fsm/ 一个时钟周期传输64bit tlp格式 RX状态机 digraph pcie_pio_rx { PIO_RX_RST_STATE PIO_RX_MEM_RD32_DW1DW2 PIO_RX_MEM_WR32_DW1DW2 PIO_RX_MEM_RD64_DW1DW2 PIO_RX_MEM_WR64_DW1DW2 PIO_RX_MEM_WR64_DW3 PIO_RX_WAIT_STATE PIO_RX_RST_STATE -> PIO_RX_
2021-06-12 21:23:18
477
原创 gpt分区解析
参考: http://www.jinbuguo.com/storage/gpt.html https://blog.youkuaiyun.com/li33293884/article/details/50562527
2020-12-19 22:16:25
503
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅