Lines Matching defs:asm
300 ($( $asm:literal )* ) => {
301 ::core::concat!($($asm),*)
305 /// Wrapper around `asm!` configured for use in the kernel.
307 /// Uses a semicolon to avoid parsing ambiguities, even though this does not match native `asm!`
309 // For x86, `asm!` uses intel syntax by default, but we want to use at&t syntax in the kernel.
312 macro_rules! asm {
313 ($($asm:expr),* ; $($rest:tt)*) => {
314 ::core::arch::asm!( $($asm)*, options(att_syntax), $($rest)* )
318 /// Wrapper around `asm!` configured for use in the kernel.
320 /// Uses a semicolon to avoid parsing ambiguities, even though this does not match native `asm!`
322 // For non-x86 arches we just pass through to `asm!`.
325 macro_rules! asm {
326 ($($asm:expr),* ; $($rest:tt)*) => {
327 ::core::arch::asm!( $($asm)*, $($rest)* )