Skip to content

Commit

Permalink
Fix documentation nits
Browse files Browse the repository at this point in the history
Co-Authored-By: Robin Lambertz <[email protected]>
  • Loading branch information
kitlith and roblabla committed Nov 9, 2019
1 parent d854a1f commit 9ebe582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/src/i386/interrupt_service_routines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ macro_rules! trap_gate_asm {
/// * `kill`: kills the process in which this interrupt originated.
/// * `my_handler_func`: calls `my_handler_func` to handle this interrupt. Useful if you want to override a standard strategy.
/// * The possible values for `type` are:
/// * `syscall`: interrupts and usage of regular SpinLocks are allowed.
/// * `exception`: interrupts are disabled, but regular SpinLocks can be accessed if coming from userspace.
/// * `syscall`: interrupts are enabled, and usage of regular SpinLocks are allowed.
/// * `exception`: interrupts are disabled, but regular SpinLocks can be accessed if the exception comes from userspace.
/// * `interrupt`: interrupts and usage of regular SpinLocks are disabled.
///
/// When providing a custom function as strategy, the function must be of signature:
Expand Down

0 comments on commit 9ebe582

Please sign in to comment.