mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
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:
parent
c48c97ebdd
commit
2c99b32e5a
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ pub enum HalOpcode {
|
||||||
ConfigureUdmaClock = 7,
|
ConfigureUdmaClock = 7,
|
||||||
// blocking scalar
|
// blocking scalar
|
||||||
ConfigureUdmaEvent = 8,
|
ConfigureUdmaEvent = 8,
|
||||||
|
// blocking scalar
|
||||||
|
UdmaIrqStatusBits = 16,
|
||||||
|
|
||||||
/// I2C operations
|
/// I2C operations
|
||||||
I2c = 9,
|
I2c = 9,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue