1 /*
2  * Copyright 2018 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 #pragma once
10 
11 #include <stdint.h>
12 
13 #include "hf/arch/types.h"
14 
15 #include "hf/cpu.h"
16 
17 bool psci_handler(struct vcpu *vcpu, uint32_t func, uintreg_t arg0,
18 		  uintreg_t arg1, uintreg_t arg2, uintreg_t *ret,
19 		  struct vcpu **next);
20