Skip to content
mhaa-archPublic

About

MHAA core providing reusable operations for interrupt management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

MHAA Interrupt Control Core

Use Interrupts for explicit gate control and ScopedDisable for a lexical critical section with restoration. The guard requires an Adapter that implements atomic save-and-disable.

Use Interrupts for direct gate control or pass a MaskControl& to ScopedDisable to restore the incoming state on scope exit.

Use in an application

Add this repository's include/ and the matching interrupt-contract/include/ to the C++11 include path. Include <interrupt/interrupt.hpp> and <interrupt/scoped_disable.hpp> and supply a live implementation of the matching Contract. The Core borrows it. In a future device composition, Devices will select the concrete Adapter and wire it to the Core.

Generate the API reference

Use Doxygen 1.18.0. From this repository root, create build/ if it does not exist, then run doxygen Doxyfile.

mkdir -p build
doxygen Doxyfile

On PowerShell, use New-Item -ItemType Directory -Force build for the first command. Open build/docs/html/index.html. Mermaid diagrams render in a browser with access to the Mermaid CDN. GitHub Pages publication runs on published releases and on manual dispatches from main once Pages is enabled.

About

MHAA core providing reusable operations for interrupt management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages