GithubHelp home page GithubHelp logo

mini-riscv-os's People

Contributors

austin362667 avatar ccckmit avatar ianchen0119 avatar x653 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mini-riscv-os's Issues

Wraparound of timer

There is a wraparound on CLINT_MTIMECMP (function timer_handler() inside 04-TimerInterrupt/timer.c).
If you set the interval to 1000000, the wraparound occurs just after a few minutes of Qemu running.
Once the wraparound has occurred, the timer starts firing at an extremely tiny delay (of course different than the one that was set).

make 命令執行錯誤

我在遵循文件安裝相關套件並設定好環境變數後,進入 01-HelloOs 嘗試讓他開始執行。

  1. 在 Git Bash 輸入如下指令:
make
  1. 出現了以下錯誤訊息:
IAN@DESKTOP-9AEMEPL MINGW64 ~/Desktop/mini-riscv-os/01-HelloOs (master)
$ make
riscv64-unknown-elf-gcc -nostdlib -fno-builtin -mcmodel=medany -march=rv32ima -mabi=ilp32 -T os.ld -o os.elf start.s os.c
process_begin: CreateProcess(NULL, riscv64-unknown-elf-gcc -nostdlib -fno-builtin -mcmodel=medany -march=rv32ima -mabi=ilp32 -T os.ld -o os.elf start.s os.c, ...) failed.
make (e=2): ▒t▒Χ䤣▒▒▒▒w▒▒▒ɮסC
make: *** [os.elf] Error 2

想請問有可能是哪個環節出了錯誤,謝謝。

有关任务调度的问题

你好,
针对 05-Preemptive 这个例子,sys_timer 函数通过 mret 跳转到 sys_kernel 中去执行切换人物的工作,但我认为此时中断已经开了,我怀疑 万一在此期间发生timer interrupt 是不是会有问题?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.