From adcac4397f3a76a751be6b688e896507acd7aea9 Mon Sep 17 00:00:00 2001 From: moce0627 <491745115@qq.com> Date: Wed, 18 Oct 2023 15:08:27 +0800 Subject: [PATCH] fix: C deps general-regs-only, README; enable softfloat --- README.ch.md | 12 +++++++----- README.md | 12 +++++++----- aarch64.json | 2 +- libfdt-binding/build.rs | 1 + 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/README.ch.md b/README.ch.md index 0418fa7..500c8e1 100644 --- a/README.ch.md +++ b/README.ch.md @@ -218,14 +218,16 @@ sudo tools/shyper vm boot 了解Rust-Shyper参见以下slides [基于Rust的嵌入式虚拟机监视器及热更新技术](./doc/%E5%9F%BA%E4%BA%8ERust%E7%9A%84%E5%B5%8C%E5%85%A5%E5%BC%8F%E8%99%9A%E6%8B%9F%E6%9C%BA%E7%9B%91%E8%A7%86%E5%99%A8%E5%8F%8A%E7%83%AD%E6%9B%B4%E6%96%B0%E6%8A%80%E6%9C%AF%EF%BC%88%E7%8E%8B%E9%9B%B7%EF%BC%89.pdf) +我们还有一个可以与Rust-Shyper配合使用的Unikernel,叫做[Unishyper](https://gitee.com/unishyper/unishyper)。 + #### 关于我们 Rust-Shyper的开发者来自北京航空航天大学计算机学院操作系统研究团队。如果有什么问题,请您通过电子邮件联系我们。 -- 王雷:教授,博士生导师。[个人主页](https://scse.buaa.edu.cn/info/1387/8398.htm) wanglei@buaa.edu.cn -- 姜博:副教授,博士生导师。[个人主页](http://jiangbo.buaa.edu.cn) jiangbo@buaa.edu.cn -- 李思然:硕士研究生 ohmrlsr@buaa.edu.cn -- 胡柯洋:硕士研究生 hky1999@buaa.edu.cn -- 莫策:硕士研究生 moce4917@buaa.edu.cn +- **王雷**:[个人主页](https://scse.buaa.edu.cn/info/1387/8398.htm) wanglei@buaa.edu.cn +- **姜博**:[个人主页](http://jiangbo.buaa.edu.cn) jiangbo@buaa.edu.cn +- 李思然:ohmrlsr@buaa.edu.cn +- 胡柯洋:hky1999@buaa.edu.cn +- 莫策:moce4917@buaa.edu.cn #### 参与贡献 diff --git a/README.md b/README.md index e728d7d..bc11778 100644 --- a/README.md +++ b/README.md @@ -212,14 +212,16 @@ then you can interact with the guest VM. For more information about Rust-Shyper, see the following slides [Rust Embedded Hypervisor with VM Migration and Live-update](./doc/%E5%9F%BA%E4%BA%8ERust%E7%9A%84%E5%B5%8C%E5%85%A5%E5%BC%8F%E8%99%9A%E6%8B%9F%E6%9C%BA%E7%9B%91%E8%A7%86%E5%99%A8%E5%8F%8A%E7%83%AD%E6%9B%B4%E6%96%B0%E6%8A%80%E6%9C%AF%EF%BC%88%E7%8E%8B%E9%9B%B7%EF%BC%89.pdf) +We also built a Unikernel that can run upon Rust-Shyper, called [Unishyper](https://gitee.com/unishyper/unishyper). + #### About Us The developers of Rust-Shyper come from the OS research team of the School of Computer Science and Engineering, Beihang University. If you have any questions, please contact us via e-mail. -- Lei Wang: Professor, [Homepage](https://scse.buaa.edu.cn/info/1387/8398.htm) wanglei@buaa.edu.cn -- Bo Jiang: Associate Professor, [Homepage](http://jiangbo.buaa.edu.cn) jiangbo@buaa.edu.cn -- Siran Li: Postgraduate student, ohmrlsr@buaa.edu.cn -- Keyang Hu: Postgraduate student, hky1999@buaa.edu.cn -- Ce Mo: Postgraduate student, moce4917@buaa.edu.cn +- **Lei Wang**: [Homepage](https://scse.buaa.edu.cn/info/1387/8398.htm) wanglei@buaa.edu.cn +- **Bo Jiang**: [Homepage](http://jiangbo.buaa.edu.cn) jiangbo@buaa.edu.cn +- Siran Li: ohmrlsr@buaa.edu.cn +- Keyang Hu: hky1999@buaa.edu.cn +- Ce Mo: moce4917@buaa.edu.cn #### Contribution diff --git a/aarch64.json b/aarch64.json index a0c5a75..ac7c5b4 100644 --- a/aarch64.json +++ b/aarch64.json @@ -8,7 +8,7 @@ "linker": "rust-lld", "linker-flavor": "ld.lld", "linker-is-gnu": true, - "llvm-target": "aarch64-unknown-none", + "llvm-target": "aarch64-unknown-none-softfloat", "max-atomic-width": 128, "os": "none", "panic-strategy": "abort", diff --git a/libfdt-binding/build.rs b/libfdt-binding/build.rs index 7caea0c..f32f2d5 100644 --- a/libfdt-binding/build.rs +++ b/libfdt-binding/build.rs @@ -35,6 +35,7 @@ fn main() { .includes(fdt_dirs) .files(c_files) .flag("-w") + .flag("-mgeneral-regs-only") .compile("fdt-binding"); let bindings = bindgen::Builder::default() -- Gitee