@@ -61,13 +61,13 @@ pub mod kernel_tests {
61
61
///
62
62
/// - There must be no duplicates.
63
63
///
64
- /// - The port must support [`enable_interrupt_line` ],
65
- /// [`disable_interrupt_line`] , [`pend_interrupt_line`] for all of
66
- /// the specified interrupt lines.
64
+ /// - The kernel must support [`InterruptLine::enable`][1 ],
65
+ /// [`InterruptLine::disable`][2] , [`InterruptLine::pend`][3] for all
66
+ /// of the specified interrupt lines.
67
67
///
68
- /// [`enable_interrupt_line` ]: r3::kernel::PortInterrupts::enable_interrupt_line
69
- /// [`disable_interrupt_line` ]: r3::kernel::PortInterrupts::disable_interrupt_line
70
- /// [`pend_interrupt_line` ]: r3::kernel::PortInterrupts::pend_interrupt_line
68
+ /// [1 ]: r3::kernel::InterruptLine::enable
69
+ /// [2 ]: r3::kernel::InterruptLine::disable
70
+ /// [3 ]: r3::kernel::InterruptLine::pend
71
71
const INTERRUPT_LINES : & ' static [ InterruptNum ] = & [ ] ;
72
72
73
73
/// Valid managed priority values.
@@ -77,13 +77,13 @@ pub mod kernel_tests {
77
77
/// least two for all test cases to run.
78
78
///
79
79
/// - All elements must be in range
80
- /// [`MANAGED_INTERRUPT_PRIORITY_RANGE `].
80
+ /// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE `].
81
81
///
82
82
/// - The elements must be sorted in a descending order of priority.
83
83
/// That is, for every pair of adjacent elements `[p[i], p[i + 1]]`,
84
84
/// `p[i]` should be high enough to preempt `p[o + 1]`.
85
85
///
86
- /// [`MANAGED_INTERRUPT_PRIORITY_RANGE `]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
86
+ /// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE `]: r3::kernel::raw::KernelInterruptLine::RAW_MANAGED_INTERRUPT_PRIORITY_RANGE
87
87
const INTERRUPT_PRIORITIES : & ' static [ InterruptPriority ] = & [ ] ;
88
88
89
89
/// Valid unmanaged priority values.
@@ -93,7 +93,7 @@ pub mod kernel_tests {
93
93
/// least one for all test cases to run.
94
94
///
95
95
/// - No elements must be in range
96
- /// [`MANAGED_INTERRUPT_PRIORITY_RANGE `].
96
+ /// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE `].
97
97
///
98
98
/// - The elements must be sorted in a descending order of priority.
99
99
/// That is, for every pair of adjacent elements `[p[i], p[i + 1]]`,
@@ -104,7 +104,7 @@ pub mod kernel_tests {
104
104
/// in [`INTERRUPT_PRIORITIES`], `pri_unmanaged` should be high
105
105
/// enough to preempt `pri_managed`.
106
106
///
107
- /// [`MANAGED_INTERRUPT_PRIORITY_RANGE `]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
107
+ /// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE `]: r3::kernel::raw::KernelInterruptLine::RAW_MANAGED_INTERRUPT_PRIORITY_RANGE
108
108
/// [`INTERRUPT_PRIORITIES`]: Self::INTERRUPT_PRIORITIES
109
109
///
110
110
const UNMANAGED_INTERRUPT_PRIORITIES : & ' static [ InterruptPriority ] = & [ ] ;
@@ -341,13 +341,13 @@ pub mod kernel_benchmarks {
341
341
///
342
342
/// - There must be no duplicates.
343
343
///
344
- /// - The port must support [`enable_interrupt_line` ],
345
- /// [`disable_interrupt_line`] , [`pend_interrupt_line`] for all of
346
- /// the specified interrupt lines.
344
+ /// - The kernel must support [`InterruptLine::enable`][1 ],
345
+ /// [`InterruptLine::disable`][2] , [`InterruptLine::pend`][3] for all
346
+ /// of the specified interrupt lines.
347
347
///
348
- /// [`enable_interrupt_line` ]: r3::kernel::PortInterrupts::enable_interrupt_line
349
- /// [`disable_interrupt_line` ]: r3::kernel::PortInterrupts::disable_interrupt_line
350
- /// [`pend_interrupt_line` ]: r3::kernel::PortInterrupts::pend_interrupt_line
348
+ /// [1 ]: r3::kernel::InterruptLine::enable
349
+ /// [2 ]: r3::kernel::InterruptLine::disable
350
+ /// [3 ]: r3::kernel::InterruptLine::pend
351
351
const INTERRUPT_LINES : & ' static [ InterruptNum ] = & [ ] ;
352
352
353
353
/// Valid priority values.
@@ -357,13 +357,13 @@ pub mod kernel_benchmarks {
357
357
/// least two for all test cases to run.
358
358
///
359
359
/// - All elements must be in range
360
- /// [`MANAGED_INTERRUPT_PRIORITY_RANGE `].
360
+ /// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE `].
361
361
///
362
362
/// - The elements must be sorted in a descending order of priority.
363
363
/// That is, for every pair of adjacent elements `[p[i], p[i + 1]]`,
364
364
/// `p[i]` should be high enough to preempt `p[o + 1]`.
365
365
///
366
- /// [`MANAGED_INTERRUPT_PRIORITY_RANGE `]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
366
+ /// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE `]: r3::kernel::raw::KernelInterruptLine::RAW_MANAGED_INTERRUPT_PRIORITY_RANGE
367
367
const INTERRUPT_PRIORITIES : & ' static [ InterruptPriority ] = & [ ] ;
368
368
}
369
369
0 commit comments