14 lines
327 B
Rust
Raw Normal View History

2024-03-12 13:48:09 +02:00
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,
}