Code Monkey home page Code Monkey logo

ucas_oslab_2022's Introduction

Hi there 👋

📖 𝙰𝚋𝚘𝚞𝚝 𝙼𝚎

  • 🌟 Interested in robotics, human-centered AI, CV...
  • 💃 Crazy over dancing
  • ☕ Coffee lover
  • 🌈 To be continued

⬆ 𝚆𝚑𝚊𝚝 𝙸'𝚖 𝚞𝚙 𝚝𝚘

  • 🎯 I’m currently working on ...

    • Indoor navigation + Active Mapping🤖
    • Choragraphy🤔
    • Trying out all local bakeries🥯
    • Learning skateboard🛹
  • 🤞One day I hope to...

    • Be an enthusiastic researcher! Work hard & play hard.
    • Help the younger in their personal growth. (It's really cool to think about how you can influence other people for the better!)
    • Travel to somewhere I am completely "isolated". (Only to see what happens when I am completely disconnected.)
    • Be proficient at dancing & basketball :D!

ucas_oslab_2022's People

Contributors

cassie-lim avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

ucas_oslab_2022's Issues

使用 make run 启动内核时出现问题

在 Project 1 的任务 1 中,我根据指导书的要求,编写好了打印字符串的部分。

la a0, msg
li a7, BIOS_PUTSTR
call bios_func_entry

使用提供的 createimage 构建镜像后,执行 make run 启动 qemu,提示 Invalid partition 1,且未能正常打印字符串。使用 md 0x50200000 0x10 查看内存内容,发现 bootblock 已经加载至指定内存位置(如下图)。请问正常运行的效果应该是什么样的(如果能给出正常运行的效果截图就更好了)?此处 Invalid partition 1 是否会影响实验?

image

为了解决该问题,我尝试用 gdb 进行调试(如下图)。我在 bootblock 起始位置 0x50200000 处设置了断点,但是在调试过程中一直未触发,说明系统未执行至该位置的指令。等待系统运行后,查看 0x50200000 处的反汇编指令,发现 bootblock 已被成功加载。多次给出中断信号,发现系统均运行至 0x500ffb50 处。查看该处的反汇编指令,发现此处疑似为一个死循环(0x500ffb66 处的指令无条件跳转至 0x500ffb50)。调试过程中未能找出问题的原因。

image

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.