Skip to content

Commit 7011547

Browse files
mrjbomFreax13
andcommitted
More precise comments in TaskStateSegment
Co-authored-by: Tom Dohrmann <[email protected]>
1 parent 87d1eb1 commit 7011547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structures/tss.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use core::mem::size_of;
55

66
/// In 64-bit mode the TSS holds information that is not
77
/// directly related to the task-switch mechanism,
8-
/// but is used for stack switching when interrupt occurs.
8+
/// but is used for stack switching when an interrupt or exception occurs.
99
#[derive(Debug, Clone, Copy)]
1010
#[repr(C, packed(4))]
1111
pub struct TaskStateSegment {

0 commit comments

Comments
 (0)