14 lines
327 B
Rust
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,
|
||
|
}
|