6
6
// - Jorge Aparicio
7
7
// - Andre Richter <[email protected] >
8
8
9
- //! Miscellaneous assembly instructions
9
+ //! Wrappers around ARMv8-A instructions.
10
+
11
+ pub mod barrier;
10
12
11
13
/// The classic no-op
12
14
#[ inline( always) ]
@@ -22,7 +24,7 @@ pub fn nop() {
22
24
23
25
/// Wait For Interrupt
24
26
///
25
- /// For more details on wfi, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html)
27
+ /// For more details on wfi, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html).
26
28
#[ inline( always) ]
27
29
pub fn wfi ( ) {
28
30
#[ cfg( target_arch = "aarch64" ) ]
@@ -36,7 +38,7 @@ pub fn wfi() {
36
38
37
39
/// Wait For Event
38
40
///
39
- /// For more details of wfe - sev pair, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html)
41
+ /// For more details of wfe - sev pair, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html).
40
42
#[ inline( always) ]
41
43
pub fn wfe ( ) {
42
44
#[ cfg( target_arch = "aarch64" ) ]
@@ -52,7 +54,7 @@ pub fn wfe() {
52
54
///
53
55
/// SEV causes an event to be signaled to the local core within a multiprocessor system.
54
56
///
55
- /// For more details of wfe - sev/sevl pair, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html)
57
+ /// For more details of wfe - sev/sevl pair, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html).
56
58
#[ inline( always) ]
57
59
pub fn sevl ( ) {
58
60
#[ cfg( target_arch = "aarch64" ) ]
@@ -68,7 +70,7 @@ pub fn sevl() {
68
70
///
69
71
/// SEV causes an event to be signaled to all cores within a multiprocessor system.
70
72
///
71
- /// For more details of wfe - sev pair, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html)
73
+ /// For more details of wfe - sev pair, refer to [here](http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/CIHEGBBF.html).
72
74
#[ inline( always) ]
73
75
pub fn sev ( ) {
74
76
#[ cfg( target_arch = "aarch64" ) ]
0 commit comments