1 /*
2  * Copyright 2019 The Hafnium Authors.
3  *
4  * Use of this source code is governed by a BSD-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/BSD-3-Clause.
7  */
8 
9 #include "hf/arch/vm/events.h"
10 
event_wait(void)11 void event_wait(void)
12 {
13 	__asm__ volatile("wfe");
14 }
15 
event_send_local(void)16 void event_send_local(void)
17 {
18 	__asm__ volatile("sevl");
19 }
20