Macro x86_64::software_interrupt[][src]

macro_rules! software_interrupt {
    ($x : expr) => { ... };
}
This is supported on crate features nightly or inline_asm only.
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.