mlir(google/heir)operation

摘要: (1)TableGen 语法 TableGen Syntax We use TableGen as the language for specifying operation information. TableGen itself just provides syntax for writing 阅读全文
posted @ 2025-04-23 21:37 LiveWithACat 阅读(66) 评论(0) 推荐(0)

mlir(google/heir)dialect

摘要: 方言: https://mlir.llvm.org/docs/DefiningDialects/ LangRef Refresher Before diving into how to define these constructs, below is a quick refresher from 阅读全文
posted @ 2025-04-21 14:06 LiveWithACat 阅读(45) 评论(0) 推荐(0)

mlir(google/heir) attributes and types

摘要: https://mlir.llvm.org/docs/DefiningDialects/AttributesAndTypes/ (1)什么是attribute Attributes Attributes are the mechanism for specifying constant data o 阅读全文
posted @ 2025-04-20 15:00 LiveWithACat 阅读(85) 评论(0) 推荐(0)

mlir(google/heir)traits

摘要: https://mlir.llvm.org/docs/Traits/ MLIR allows for a truly open ecosystem, as any dialect may define attributes, operations, and types that suit a spe 阅读全文
posted @ 2025-04-18 21:40 LiveWithACat 阅读(32) 评论(0) 推荐(0)

分析Edk2启动流程

摘要: 总体认识: 下图是援引的”UEFI原理与编程_戴正华(著) 机械工业出版社_完整版.pdf”中的图1-2, 据我所研究到的,开源Edk2主要实现阶段SEC、PEI、DXE 启动顺序: 描述:开源Edk2中首先被执行的代码是一段汇编,它首先初始化临时存储区域,然后把控制权交给SEC入口函数SecCor 阅读全文
posted @ 2022-02-14 16:40 LiveWithACat 阅读(4154) 评论(1) 推荐(0)

LwIP的编译记录 - 编译自带的测试用例

摘要: 1.准备好文件[plh@localhost LwIP_v2]$ lscontrib-2.1.0.zip lwip-2.1.2.zip[plh@localhost LwIP_v2]$ unzip contrib-2.1.0.zip[plh@localhost LwIP_v2]$ unzip lwip- 阅读全文
posted @ 2020-12-23 20:57 LiveWithACat 阅读(1414) 评论(0) 推荐(0)

LwIP的编译记录-动态库

摘要: 1. 进入目录 [plh@localhost build]$ cd /tmp/LwIP/contrib-2.1.0/ports/unix/lib/[plh@localhost lib]$ mkdir build[plh@localhost lib]$ cd build/ 2.编译有两种方法 [方法1 阅读全文
posted @ 2020-12-23 20:43 LiveWithACat 阅读(468) 评论(0) 推荐(0)

LwIP的编译记录 - 静态库

摘要: 1.获取LwIP的源码 http://savannah.nongnu.org/ lwip-2.1.2.zip 2.获取移植和应用LwIP的一些demo源码 http://savannah.nongnu.org/ contrib-2.1.0.zip 3.Linux环境下编译LwIP成静态库的方法 3. 阅读全文
posted @ 2020-12-23 20:35 LiveWithACat 阅读(1129) 评论(0) 推荐(0)

总结签名证书和加密证书的使用场景

摘要: 1.总结签名证书的使用场景 2.总结加密证书的使用场景 3.参考文献 1. 《图解密码技术》 2015 (日)结城浩(著) 阅读全文
posted @ 2020-12-22 19:13 LiveWithACat 阅读(320) 评论(0) 推荐(0)

国密算法SM4 - 对称

摘要: 1.SM4使用了Fesitel结构来加密和解密 2.对称密码需要和迭代结合使用 3.源码实现(参考了openssl) 文件结构 文件sm4.h 1 #ifndef OSSL_CRYPTO_SM4_H 2 # define OSSL_CRYPTO_SM4_H 3 4 # ifdef OPENSSL_N 阅读全文
posted @ 2020-12-22 19:06 LiveWithACat 阅读(911) 评论(0) 推荐(0)