add an API opcode for messaging the cramium_hal_service

in the Xous context, because the IRQ banks are owned by a global
object, not every server can simply refer to the IRQ bits by just
dereferencing a pointer. Instead, it needs to send a message to
the cram_hal_service with an API number which then catches this
and does the dereference on behalf of the caller.
This commit is contained in:
bunnie 2025-06-07 02:46:42 +08:00
parent c48c97ebdd
commit 2c99b32e5a

View file

@ -36,6 +36,8 @@ pub enum HalOpcode {
ConfigureUdmaClock = 7,
// blocking scalar
ConfigureUdmaEvent = 8,
// blocking scalar
UdmaIrqStatusBits = 16,
/// I2C operations
I2c = 9,