diff --git a/src/instructions/interrupts.rs b/src/instructions/interrupts.rs index a1e526d7c..2176d42b1 100644 --- a/src/instructions/interrupts.rs +++ b/src/instructions/interrupts.rs @@ -133,18 +133,6 @@ pub fn int3() { } } -/// 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. -#[macro_export] -macro_rules! software_interrupt { - ($x:expr) => {{ - asm!("int {id}", id = const $x, options(nomem, nostack)); - }}; -} - /// Generate a software interrupt by invoking the `int` instruction. /// /// ## Safety