66// - Jorge Aparicio
77// - Andre Richter <[email protected] > 88
9- //! Miscellaneous assembly instructions
9+ //! Wrappers around ARMv8-A instructions.
10+
11+ pub mod barrier;
1012
1113/// The classic no-op
1214#[ inline( always) ]
@@ -22,7 +24,7 @@ pub fn nop() {
2224
2325/// Wait For Interrupt
2426///
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).
2628#[ inline( always) ]
2729pub fn wfi ( ) {
2830 #[ cfg( target_arch = "aarch64" ) ]
@@ -36,7 +38,7 @@ pub fn wfi() {
3638
3739/// Wait For Event
3840///
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).
4042#[ inline( always) ]
4143pub fn wfe ( ) {
4244 #[ cfg( target_arch = "aarch64" ) ]
@@ -52,7 +54,7 @@ pub fn wfe() {
5254///
5355/// SEV causes an event to be signaled to the local core within a multiprocessor system.
5456///
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).
5658#[ inline( always) ]
5759pub fn sevl ( ) {
5860 #[ cfg( target_arch = "aarch64" ) ]
@@ -68,7 +70,7 @@ pub fn sevl() {
6870///
6971/// SEV causes an event to be signaled to all cores within a multiprocessor system.
7072///
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).
7274#[ inline( always) ]
7375pub fn sev ( ) {
7476 #[ cfg( target_arch = "aarch64" ) ]
0 commit comments