GithubHelp home page GithubHelp logo

ucore-mips-with-comment's Introduction

ucore-mips-with-comment

Intro

  • 基于 uCore 的 MIPS 版本,手动添加注释
  • 基于 2020 年 4 月份的 uCore 源码完成
  • 龙芯杯 2020 已结束,此仓库仅供参考阅读,不建议直接编译。既因为不排除在添加注释的过程中改坏了代码的可能性,又因为 uCore 本身也在持续更新中,建议编译最新版 uCore
  • uCore 仓库地址:https://github.com/chyyuu/ucore_os_plus
  • 清华大学龙芯杯参赛使用的 uCore for MIPS :https://github.com/chyh1990/ucore-thumips

Usage

  • 编译生成FPGA镜像: make
  • 编译生成模拟镜像: make ON_FPGA=n
  • 使用qemu启动镜像: qemu-system-mipsel -M mipssim -m 32M -kernel obj/ucore-kernel-initrd
  • 使用qemu启动loader: qemu-system-mipsel -M mipssim -m 32M -serial stdio -bios boot/loader.bin
  • make所需的gcc: mipsel-linux-gnu-gcc
  • Debug: qemu-system-mipsel -M mipssim -m 32M -serial stdio -bios boot/loader.bin -S -s ; sleep 1 ; gnome-terminal -e "mips-sde-elf-gdb"
qemu-system-mipsel -M mipssim -m 32M -monitor stdio -kernel obj/ucore-kernel-initrd

qemu-system-mipsel \ # qemu程序
   -M mipssim \ # mips simulation
   -m 32M \ # 32MB 内存
   -monitor stdio \ # 将qemu窗口绑定到stdio
   -kernel obj/ucore-kernel-initrd # kernel模式

ucore-mips-with-comment's People

Contributors

ifpop avatar sinofp avatar zarkivy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.