abla/unsafe/xtensa
Generated from source.
Import with import "abla/unsafe/xtensa".
Source: abla/unsafe/xtensa/entry.ab
nativeXtensaCoreId (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaCoreId(): u32
Returns the Xtensa core identifier encoded in the processor ID register.
nativeXtensaCycleCounter (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaCycleCounter(): int
Returns the current Xtensa hardware cycle counter.
nativeXtensaDelayCycles (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaDelayCycles(
cycles: int
): void
Waits using the Xtensa cycle counter for the requested number of cycles.
nativeXtensaInterruptsEnable (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaInterruptsEnable(
mask: u32
): u32
Sets the selected interrupt enable bits and returns the previous enable mask.
nativeXtensaInterruptsDisable (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaInterruptsDisable(
mask: u32
): u32
Clears the selected interrupt enable bits and returns the previous enable mask.
nativeXtensaInterruptHandlerAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaInterruptHandlerAddress(
handler: Fn() -> void
): u32
Returns the address of a native Xtensa interrupt handler.
nativeXtensaInterruptTableAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaInterruptTableAddress(): u32
Returns the address of the Xtensa interrupt dispatch table.
nativeXtensaExceptionTableAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaExceptionTableAddress(): u32
Returns the address of the Xtensa exception dispatch table.
nativeXtensaInterruptLevelTableAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaInterruptLevelTableAddress(): u32
Returns the address of the table of Xtensa interrupt levels.
nativeXtensaUnhandledInterruptAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaUnhandledInterruptAddress(): u32
Returns the address of the default handler for unhandled Xtensa interrupts.
nativeXtensaUnhandledExceptionAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaUnhandledExceptionAddress(): u32
Returns the address of the default handler for unhandled Xtensa exceptions.
nativeXtensaOwnedDispatcherTableAddress (extern)
trusted noescape extern:"intrinsic" fun nativeXtensaOwnedDispatcherTableAddress(): u32
Returns the address of the Xtensa owned-dispatcher table.
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.