Coder Social home page Coder Social logo

qemuprint's Introduction

qemuprint

This library prints text to the Qemu emulator's serial port on the virt RISC-V machine target. This crate is used by Diosix for debugging during system startup. It can also be used by non-std libraries that need to output debugging and diagnostic information during development.

If you wish to use this for your own project, let me know and I'll tidy up the documentation and API.

Usage

Two macros are provided: println and print that map to the std library's println and print. For example...

qemuprint::println!("Hello, world. Testing {} {} {}", 1, 2, 3);

...will print to the Qemu terminal:

Hello, world. Testing 1 2 3

Contact and code of conduct

Please email Diosix project lead Chris Williams if you have any questions or issues to raise, wish to get involved, have source to contribute, or have found a security flaw. You can, of course, submit pull requests or raise issues via GitHub, though please consider disclosing security-related matters privately. Please also observe the Diosix project's code of conduct if you wish to participate.

Copyright and license

Copyright © Chris Williams, 2020. See LICENSE for distribution and use of source code and binaries.

qemuprint's People

Contributors

diodesign avatar

Stargazers

 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.