洛佳 组件化驱动、ROM运行环境与RustSBI
第三届中国Rust开发者大会 组件化驱动、ROM运行环境与RustSBI 洛佳 华中科技大学 网络空间安全学院 2023年6月 本次演讲…… 关于我…… • 笔名洛佳 • 华中科技大学网络空间安全学院研一 在读(导师:周威老师) • 研究方向:物联网安全、系统安全 • 热爱开源,乐于尝试新技术 • RustSBI项目维护者 • 致力于向科研、教学和产业界推广 Rust语言 结而成的新一代驱动开发方法。动、静态 基地址结合,高灵活性;一次开发,同时 复用于嵌入式、固件和内核中。 # 组件化驱动 合理利用嵌入式、桌面和服务器芯片片内 ROM代码,构造零开销的运行环境。进一 步地,可完成安全引导、安全镜像分发和 通常的嵌入式开发等功能。 # ROM运行环境 # 2023年的RustSBI 作为RISC-V SBI固件的RustSBI,2023年 将与UEFI、LinuxBoot擦出火花。在驱 能 的 外 设 结 构 联合所有权、泛型等,暴露外设所有功能 外 设 及 其 寄 存 器 表 示 封装寄存器、位域表示和数据结构 分享性外设:以GPIO为例 • 从前级环境获取所有权,如从ROM 运行环境的#[entry]获得; • 配置GPIO状态后,只有对应外设类 型允许的操作函数能通过编译,否则 拒绝编译,避免不安全行为; • 开源标准抽象的功能,使用抽象规定 的调用方法。本芯片外设专属的功能0 码力 | 21 页 | 3.12 MB | 1 年前3Debian GNU/Linux 安装手册 October 14, 2021
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.1 CD-ROM/DVD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.2 U 盘 . . . . . 盘启动 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.2 从 CD-ROM 启动 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.3 从 Windows 安装过程中的故障修复 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4.1 CD-ROM 的可靠性 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4.1.1 常见问题 .0 码力 | 109 页 | 618.37 KB | 1 年前3Debian GNU/Linux 安装手册 October 14, 2021
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.1 CD-ROM/DVD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.2 U 盘 . . . . . 盘启动 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.2 从 CD-ROM 启动 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.3 从 Windows 安装过程中的故障修复 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4.1 CD-ROM 的可靠性 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4.1.1 常见问题 .0 码力 | 109 页 | 620.13 KB | 1 年前3Debian GNU/Linux 安装手册 October 14, 2021
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.1 CD-ROM/DVD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.2 网络 . . . . . 安装过程中的故障修复 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.4.1 CD-ROM 的可靠性 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.4.1.1 常见问题 . 注意,Debian 计划因为考虑用户实用性,也有不符合我们自由规则的软件包存 在。这些软件包不属于官方发行版,只存在于 contrib 或 non-free Debian 镜像区域或者第三方的 CD/DVD-ROM 中,请参阅 Debian FAQ 的“The Debian FTP archives”章节以了解档案布局和内容的更多信息。 系统中很多软件所使用的许可证都是 GNU General Public0 码力 | 97 页 | 562.02 KB | 1 年前3Inkscape Beginners’ Guide unstable
before installing the new version. 3.1 M eth od 1: D ow nl oadi ng and i ns tal l i ng di rec tl y f rom Ink s c ap e 1. Using a Web browser, go to the Inkscape website’s download page for Windows and select file at the top of the folder. 3.1. M eth od 1: D ow nl oadi ng and i ns tal l i ng di rec tl y f rom Ink s c ap e 16 Ink s c ap e B eg i nners ’ G u i de, Rel eas e 1.0 OR 4. If you get a User Account installation program to start. 3.1. M eth od 1: D ow nl oadi ng and i ns tal l i ng di rec tl y f rom Ink s c ap e 17 Ink s c ap e B eg i nners ’ G u i de, Rel eas e 1.0 5. Select what language you want0 码力 | 241 页 | 25.58 MB | 1 年前3MySQL 数据库架构灾难恢复解决方案
23 / 55 添加第二个副本集群 mysqlsh> rom = clusterset.createReplicaCluster( { "clusters": { 'localhost:5551', "ROM": { 'ROM') "clusterRole": "REPLICA", mysqlsh> rom.addInstance('localhost:5552') " "clusterSetReplicationStatus": "OK", mysqlsh> rom.addInstance('localhost:5553') "globalStatus": "OK" }, mysqlsh> rom.status() "BRU": { mysqlsh> clusterset.status() "clusterRole": "PRIMARY", "globalStatus": 它是否仍应接受读取还是丢弃? mysqlsh> clusterset.setRoutingOption('instance-....com::system', 'target_cluster', 'ROM') mysqlsh> clusterset.setRoutingOption('instance-....com::system', 'target_cluster', 'BRU') mysqlsh>0 码力 | 52 页 | 3.07 MB | 1 年前3Performance Engineering: Being Friendly to Your Hardware
size • Linear fetch vs incoming branch 44Instruction decoding 45 Branching Fetch Decode Queue ROM Cache L1I • Decoded operations may get cached • There is a library of operations for complex instructions ARM mov r20, 0x123456789abcdef0Register renaming 52 Branching Fetch Decode Queue Allocation ROM Cache L1I • ABI registers implement a SW contract • They do not correspond to the actual execution Scheduling ROM Cache L1I • Not all operations are equal • Not all combinations of operations are equalExecution 54 Branching Fetch Decode Queue Allocation Scheduling Execution ROM Cache L1I0 码力 | 111 页 | 2.23 MB | 5 月前3Oracle VM VirtualBox 3.2.4 User Manual
created an empty VM, you will probably be most interested in the settings presented by the “CD/DVD-ROM” section if you want to make a CD or a DVD available the first time you start it, in order to install into your host’s CD or DVD drive. 28 1 First steps Then, in the settings dialog, go to the “CD/DVD-ROM” section and select “Host drive” with the correct drive letter (or, in the case of a Linux host, device present this file as a CD or DVD-ROM drive to the virtual machine, much like it does with virtual hard disk images. In this case, in the settings dialog, go to the “CD/DVD-ROM” section and select “ISO image0 码力 | 306 页 | 3.85 MB | 1 年前3Debian GNU/Linux 安装手册 July 23, 2023
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.1 CD-ROM/DVD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.2 U 盘 . . . . . 注意,Debian 计划因为考虑用户实用性,也有不符合我们自由规则的软件包存 在。这些软件包不属于官方发行版,只存在于 contrib 或 non-free Debian 镜像区域或者第三方的 CD/DVD-ROM 中,请参阅 Debian FAQ 的“The Debian FTP archives”章节以了解档案布局和内容的更多信息。 3 CHAPTER 1. 欢迎使用 DEBIAN 1.8. 关于版权与软件协议 内核支持,虽然可以在 Debian GNU/Linux 下工作,但是却不能在安 装过程中使用。 如果您在安装过程中使用无线网络遇到问题,并且手头也没有其他的网卡可以使用,仍然可以使用完 整的 CD-ROM 或 DVD 映像来安装 Debian GNU/Linux。选择不配置网络选项,然后只安装存在于 CD/DVD 上的软件包。在安装完成 (重新启动之后) 安装驱动程序和固件,并手动配置网络。 有些情况下,您需要的驱动程序不包含在0 码力 | 107 页 | 626.22 KB | 1 年前3Debian GNU/Linux 安裝手冊 January 8, 2024
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.1 CD-ROM/DVD-ROM/BD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4.2 USB 隨身碟 . . . . . back to this page once you reach that section. 9 CHAPTER 2. 系統需求 2.5. 記憶體與硬碟空間的需求 2.4.1 CD-ROM/DVD-ROM/BD-ROM Installation from optical disc is supported for most architectures. On PCs SATA, IDE/ATAPI for a bootable operating system. Possible choices usually include the internal harddisks, the CD/DVD-ROM drive and USB mass storage devices such as USB sticks or external USB harddisks. On modern systems0 码力 | 120 页 | 643.51 KB | 1 年前3
共 385 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39