{"id":13579068,"url":"https://github.com/rustsbi/rustsbi-tutorial","last_synced_at":"2025-03-04T12:52:47.438Z","repository":{"id":107587493,"uuid":"601000106","full_name":"rustsbi/rustsbi-tutorial","owner":"rustsbi","description":"rustsbi 开发教程","archived":false,"fork":false,"pushed_at":"2023-03-06T07:46:06.000Z","size":61,"stargazers_count":39,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-05T17:49:05.653Z","etag":null,"topics":["bare-metal","riscv","sbi"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustsbi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T06:33:11.000Z","updated_at":"2024-10-27T15:07:36.000Z","dependencies_parsed_at":"2023-03-23T08:19:49.789Z","dependency_job_id":null,"html_url":"https://github.com/rustsbi/rustsbi-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustsbi","download_url":"https://codeload.github.com/rustsbi/rustsbi-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241852145,"owners_count":20030969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bare-metal","riscv","sbi"],"created_at":"2024-08-01T15:01:36.248Z","updated_at":"2025-03-04T12:52:47.403Z","avatar_url":"https://github.com/rustsbi.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"﻿# RustSBI 开发教程\n\n[![CI](https://github.com/YdrMaster/rustsbi-tutorial/actions/workflows/workflow.yml/badge.svg?branch=main)](https://github.com/YdrMaster/rustsbi-tutorial/actions)\n[![issue](https://img.shields.io/github/issues/YdrMaster/rustsbi-tutorial)](https://github.com/YdrMaster/rustsbi-tutorial/issues)\n[![license](https://img.shields.io/github/license/YdrMaster/rustsbi-tutorial)](LICENSE)\n\n本教程旨在全面介绍 SBI 开发技术并给出各个扩展在 Qemu/virt 上基于 [RustSBI](https://crates.io/crates/rustsbi) 的参考实现。\n\n## 使用方法\n\n- `cargo qemu --ch \u003cn\u003e`\n\n  在 qemu 运行第 `n` 章的 SBI 软件。\n\n- `cargo book --ch \u003cn\u003e [--open]`\n\n  生成第 `n` 章的指导书，包含 `--open` 选项时，生成后将在浏览器打开。\n\n## 进度\n\n| 章节     | 代码 | 教程 | 主要内容\n|:-------:|:---:|:---:|-\n|[§1](ch1)|  ✓  |     | 简单的机器态裸机应用程序\n|[§2](ch2)|  ✓  |     | 扩展裸机应用程序\n|[§3](ch3)|     |     | [sbi-spec](https://crates.io/crates/sbi-spec)，内核的加载和引导以及 SBI §5(Legacy)\n|[§4](ch4)|     |     | SBI §3(Binary) + §4(Base)\n|[§5](ch5)|     |     | 使用 RustSBI + SBI §10(SRST)\n|[§6](ch6)|     |     | SBI §6(TIME) + §7(sPI)\n|[§7](ch7)|     |     | SBI §9(HSM)\n|[§8](ch8)|     |     | SBI 多核支持\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustsbi%2Frustsbi-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustsbi%2Frustsbi-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustsbi%2Frustsbi-tutorial/lists"}