@@ -778,7 +778,7 @@ define_error! {
778
778
/// [`InterruptLine::set_priority`]: super::InterruptLine::set_priority
779
779
/// [`InterruptLine::set_priority_unchecked`]: super::InterruptLine::set_priority_unchecked
780
780
pub enum SetInterruptLinePriorityError {
781
- /// The operation is not supported by the port .
781
+ /// The operation is not supported by the kernel .
782
782
NotSupported ,
783
783
/// CPU Lock is active, or the current context is not [a task context].
784
784
///
@@ -797,7 +797,7 @@ define_error! {
797
797
/// [`InterruptLine::enable`]: super::InterruptLine::enable
798
798
/// [`InterruptLine::disable`]: super::InterruptLine::disable
799
799
pub enum EnableInterruptLineError {
800
- /// The operation is not supported by the port .
800
+ /// The operation is not supported by the kernel .
801
801
NotSupported ,
802
802
/// Enabling or disabling the specified interrupt line is not supported.
803
803
BadParam ,
@@ -810,7 +810,7 @@ define_error! {
810
810
///
811
811
/// [`InterruptLine::pend`]: super::InterruptLine::pend
812
812
pub enum PendInterruptLineError {
813
- /// Setting a pending flag is not supported by the port .
813
+ /// Setting a pending flag is not supported by the kernel .
814
814
NotSupported ,
815
815
/// Setting the pending flag of the specified interrupt line is not
816
816
/// supported.
@@ -819,7 +819,7 @@ define_error! {
819
819
/// example, this operation is invalid for an level-triggered interrupt
820
820
/// line.
821
821
///
822
- /// A port is not required to detect this condition.
822
+ /// A kernel is not required to detect this condition.
823
823
BadObjectState ,
824
824
}
825
825
}
@@ -830,7 +830,7 @@ define_error! {
830
830
///
831
831
/// [`InterruptLine::clear`]: super::InterruptLine::clear
832
832
pub enum ClearInterruptLineError {
833
- /// Clearing a pending flag is not supported by the port .
833
+ /// Clearing a pending flag is not supported by the kernel .
834
834
NotSupported ,
835
835
/// Clearing the pending flag of the specified interrupt line is not
836
836
/// supported.
@@ -839,7 +839,7 @@ define_error! {
839
839
/// example, this operation is invalid for an level-triggered interrupt
840
840
/// line.
841
841
///
842
- /// A port is not required to detect this condition.
842
+ /// A kernel is not required to detect this condition.
843
843
BadObjectState ,
844
844
}
845
845
}
@@ -850,7 +850,7 @@ define_error! {
850
850
///
851
851
/// [`InterruptLine::is_pending`]: super::InterruptLine::is_pending
852
852
pub enum QueryInterruptLineError {
853
- /// Reading a pending flag is not supported by the port .
853
+ /// Reading a pending flag is not supported by the kernel .
854
854
NotSupported ,
855
855
/// Reading the pending flag of the specified interrupt line is not
856
856
/// supported.
0 commit comments