Mark Poliakov 22e2a992dd Add 'lib/abi/' from commit 'fdb3e18b598f9250f9f5a6443390e0aac1f57071'
git-subtree-dir: lib/abi
git-subtree-mainline: 18fa8b954a2b9372920035b0d4cdcf0d2d5c0902
git-subtree-split: fdb3e18b598f9250f9f5a6443390e0aac1f57071
2024-03-12 15:53:19 +02:00

14 lines
327 B
Rust

use crate::arch::SavedFrame;
pub use crate::generated::Signal;
/// Data provided by the kernel to signal entry function
#[derive(Clone, Debug)]
#[repr(C)]
pub struct SignalEntryData {
/// Which signal was issued
pub signal: Signal,
/// Saved frame of the context that was interrupted
pub frame: SavedFrame,
}