Macro x86_64::software_interrupt
source · [−]macro_rules! software_interrupt {
($x:expr) => { ... };
}
Expand description
Generate a software interrupt by invoking the int
instruction.
This currently needs to be a macro because the int
argument needs to be an
immediate. This macro will be replaced by a generic function when support for
const generics is implemented in Rust.