扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
struct mbuf{ struct m_hdr mhdr; union { struct { struct pkthdr MH_pkthdr; /* M_PKTHDR set */ union { struct m_ext MH_ext; /* M_EXT set */ char MH_databuf[MHLEN]; } MH_dat; }MH; char M_databuf[MLEN]; /* !M_PKTHER, !M_EXT*/ } M_dat; }; |
#define m_next m_hdr.mh_next#define m_len m_hdr.mh_len#define m_data m_hdr.mh_data... ...#define m_pkthdr M_dat.MH.MH_pkthdr#define m_pktdat M_dat.MH.MH_dat.MH_databuf... ... |
#define __F_ADDR_(pa) *(_VPWORD)(pa) #define __F_ADDRDWD_(pa) *(_VPDWORD)(pa) #define __ADR_0x000 *(_VPWORD)(__FADR_OFFSET|0x000) #define __ADR_0xXXX __ADR_0x000 #define __ADR_0x002 *(_VPWORD)(__FADR_OFFSET|0x002) #define __ADR_0xAAA *(_VPWORD)(__FADR_OFFSET|0xaaa) #define __ADR_0x555 *(_VPWORD)(__FADR_OFFSET+0x554) #define __F_RESET(sa) __ADR_0x000 =0xf0 #define __F_AUTO_SELECT __ADR_0xAAA =0xaa;\ __ADR_0x555 =0x55;\ __ADR_0xAAA =0x90 #define __F_PROGRAM_(pa,pd) __ADR_0xAAA =0xaa;\ __ADR_0x555 =0x55;\ __ADR_0xAAA =0xA0;\ *(_VPWORD)(pa)=pd #define __F_CHIP_ERASE __ADR_0xAAA =0xaa;\ __ADR_0x555 =0x55;\ __ADR_0xAAA =0x80;\ __ADR_0xAAA =0xaa;\ __ADR_0x555 =0x55;\ __ADR_0xAAA =0x10 #define __F_SEC_ERASE_(sa) __ADR_0xAAA =0xaa;\ __ADR_0x555 =0x55;\ __ADR_0xAAA =0x80;\ __ADR_0xAAA =0xaa;\ __ADR_0x555 =0x55;\ *(_VPWORD)(sa) =0x30 |
static unsigned short stopwatch[] = {0x07C6,0x1FF7,0x383B,0x600C,0x600C,0xC006,0xC006,0xDF06,0xC106,0xC106,0x610C,0x610C,0x3838,0x1FF0,0x07C0,0x0000}; |
#define X )*2+1#define _ )*2#define s ((((((((((((((((0 /* For building glyphs 16 bits wide */ |
static unsigned short stopwatch[] ={ s _ _ _ _ _ X X X X X _ _ _ X X _ ,s _ _ _ X X X X X X X X X _ X X X ,s _ _ X X X _ _ _ _ _ X X X _ X X ,s _ X X _ _ _ _ _ _ _ _ _ X X _ _ ,s _ X X _ _ _ _ _ _ _ _ _ X X _ _ ,s X X _ _ _ _ _ _ _ _ _ _ _ X X _ ,s X X _ _ _ _ _ _ _ _ _ _ _ X X _ ,s X X _ X X X X X _ _ _ _ _ X X _ ,s X X _ _ _ _ _ X _ _ _ _ _ X X _ ,s X X _ _ _ _ _ X _ _ _ _ _ X X _ ,s _ X X _ _ _ _ X _ _ _ _ X X _ _ ,s _ X X _ _ _ _ X _ _ _ _ X X _ _ ,s _ _ X X X _ _ _ _ _ X X X _ _ _ ,s _ _ _ X X X X X X X X X _ _ _ _ ,s _ _ _ _ _ X X X X X _ _ _ _ _ _ ,s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ }; |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者