rust-osdev / x86_64

Library to program x86_64 hardware.
https://docs.rs/x86_64
Apache License 2.0
797 stars 132 forks source link

Remove software_interrupt! macro #363

Closed josephlr closed 2 years ago

josephlr commented 2 years ago

Given that const generics are stable but const values in asm! are not, having a macro in addition to a generic function isn't really useful.

See https://github.com/rust-osdev/x86_64/pull/344#discussion_r835898335

Signed-off-by: Joe Richey joerichey@google.com