plctlab / riscv-operating-system-mooc Goto Github PK
View Code? Open in Web Editor NEW《从头写一个RISC-V OS》课程配套的资源
License: BSD 2-Clause "Simplified" License
《从头写一个RISC-V OS》课程配套的资源
License: BSD 2-Clause "Simplified" License
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Makefile:1: *** missing separator. Stop.
I found that the Makefile files in all folders under asm do not use standard universal syntax, like this:
../build.mk
There may be some versions that can support such writing, but there is no doubt that it is not supported on my system. I tried updating make, but it did not work. The general and correct writing should be as follows:
include ../build.mk
After making the changes it started working without a doubt
Correspondingly, I have sent a PR, I believe it will work well on any make version
Hi there!
關於外部中斷,我有一些疑惑,還望各位指教,在介紹第 11 章的外部中斷時,提到了我們可以對 PLIC 設置外部中斷做到 UART 輸入的功能,針對這個地方,我有兩點疑問:
mini-riscv-os
上,但是我發現即使不在 OS 開機時也能使用 UART 輸入,想請問我是不是遺漏了什麼重要觀念IRQ = 10
的情況呢?謝謝。
Hi,
我正在尝试使用Rust实现RVOS。在实现第13章抢占式多任务的时候,在task_yield()
中调用r_mhartid()
导致 illegal instruction ,通过调试发现是csrr $0, mhartid
这条指令导致的异常。 应该是与csrr
这个指令有关,因为在测试csrw
的时候也不行。
我的代码在这:https://github.com/RobotHuang/rvos-rust/blob/master/os/src/sched.rs#L145
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.