@@ -35,23 +35,23 @@ const CBP_SW_SET_MASK: u32 = 0x1FF << CBP_SW_SET_POS;
35
35
36
36
impl RegisterBlock {
37
37
/// I-cache invalidate all to PoU
38
- #[ inline( always ) ]
38
+ #[ inline]
39
39
pub fn iciallu ( & self ) {
40
40
unsafe {
41
41
self . iciallu . write ( 0 ) ;
42
42
}
43
43
}
44
44
45
45
/// I-cache invalidate by MVA to PoU
46
- #[ inline( always ) ]
46
+ #[ inline]
47
47
pub fn icimvau ( & self , mva : u32 ) {
48
48
unsafe {
49
49
self . icimvau . write ( mva) ;
50
50
}
51
51
}
52
52
53
53
/// D-cache invalidate by MVA to PoC
54
- #[ inline( always ) ]
54
+ #[ inline]
55
55
pub fn dcimvac ( & self , mva : u32 ) {
56
56
unsafe {
57
57
self . dcimvac . write ( mva) ;
@@ -61,7 +61,7 @@ impl RegisterBlock {
61
61
/// D-cache invalidate by set-way
62
62
///
63
63
/// `set` is masked to be between 0 and 3, and `way` between 0 and 511.
64
- #[ inline( always ) ]
64
+ #[ inline]
65
65
pub fn dcisw ( & self , set : u16 , way : u16 ) {
66
66
// The ARMv7-M Architecture Reference Manual, as of Revision E.b, says these set/way
67
67
// operations have a register data format which depends on the implementation's
@@ -81,15 +81,15 @@ impl RegisterBlock {
81
81
}
82
82
83
83
/// D-cache clean by MVA to PoU
84
- #[ inline( always ) ]
84
+ #[ inline]
85
85
pub fn dccmvau ( & self , mva : u32 ) {
86
86
unsafe {
87
87
self . dccmvau . write ( mva) ;
88
88
}
89
89
}
90
90
91
91
/// D-cache clean by MVA to PoC
92
- #[ inline( always ) ]
92
+ #[ inline]
93
93
pub fn dccmvac ( & self , mva : u32 ) {
94
94
unsafe {
95
95
self . dccmvac . write ( mva) ;
@@ -99,7 +99,7 @@ impl RegisterBlock {
99
99
/// D-cache clean by set-way
100
100
///
101
101
/// `set` is masked to be between 0 and 3, and `way` between 0 and 511.
102
- #[ inline( always ) ]
102
+ #[ inline]
103
103
pub fn dccsw ( & self , set : u16 , way : u16 ) {
104
104
// See comment for dcisw() about the format here
105
105
unsafe {
@@ -111,7 +111,7 @@ impl RegisterBlock {
111
111
}
112
112
113
113
/// D-cache clean and invalidate by MVA to PoC
114
- #[ inline( always ) ]
114
+ #[ inline]
115
115
pub fn dccimvac ( & self , mva : u32 ) {
116
116
unsafe {
117
117
self . dccimvac . write ( mva) ;
@@ -121,7 +121,7 @@ impl RegisterBlock {
121
121
/// D-cache clean and invalidate by set-way
122
122
///
123
123
/// `set` is masked to be between 0 and 3, and `way` between 0 and 511.
124
- #[ inline( always ) ]
124
+ #[ inline]
125
125
pub fn dccisw ( & self , set : u16 , way : u16 ) {
126
126
// See comment for dcisw() about the format here
127
127
unsafe {
@@ -133,7 +133,7 @@ impl RegisterBlock {
133
133
}
134
134
135
135
/// Branch predictor invalidate all
136
- #[ inline( always ) ]
136
+ #[ inline]
137
137
pub fn bpiall ( & self ) {
138
138
unsafe {
139
139
self . bpiall . write ( 0 ) ;
0 commit comments