Giter Club home page Giter Club logo

librpmi's Introduction

librpmi - RPMI Protocol Implementation

Introduction

The librpmi is an implementation of RISC-V Platform Management Interface.

The librpmi implements RPMI shared memory transport, RPMI message protocol and various Service groups and Services as defined in the RPMI specification.

librpmi high level architecture

The librpmi can be used by -

  1. RISC-V platform vendors to implement RPMI services in their platform microcontroller firmware.

  2. System-level partitions to implement RPMI services running as separate OpenSBI domain

  3. Hypervisors/emulators/simulators to emulate RPMI services for the Guest/VM

Features

  • RPMI Transport (shared memory)
    • Multiple RPMI shared memory based transports capability.
    • Configurable transport where service groups can be enabled or disabled for specific transport.
  • RPMI Service Groups
    • Base
    • System Reset
    • System Suspend
    • Hart State Management
    • Clock
  • Platform HAL interface.
  • Test framework to test librpmi which is easy to extend and add more service group test cases.
  • HTML and PDF documentation generated by doxygen.

The librpmi is a new project and is in development. More capabilities and service groups will be added soon.

Development

The librpmi supports GNU Make and comes with a simple Makefile generates librpmi.a under build directory and test applications in build\test directory.

librpmi.a

make

The platform vendors may also integrate librpmi sources directly into the platform microcontroller firmware and extend firmware build system to build the librpmi sources rather than using librpmi.a.

Documentation

The librpmi supports doxygen which can generate both html and pdf documentation under build\docs directory.

make docs

Test

Refer: README in test folder

License

The librpmi is provided under 2-Clause BSD License

librpmi's People

Contributors

avpatel avatar slingappa avatar pathakraul avatar wxjstz avatar

Stargazers

 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.