blob: 21b2bf9180f1e8f280dfb5a9fc2a57b3b32ca000 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* powerpc hcall defines
*/
#ifndef SELFTEST_KVM_HCALL_H
#define SELFTEST_KVM_HCALL_H
#include <linux/compiler.h>
/* Ucalls use unimplemented PAPR hcall 0 which exits KVM */
#define H_UCALL 0
s64 hcall0(u64 token);
s64 hcall1(u64 token, u64 arg1);
s64 hcall2(u64 token, u64 arg1, u64 arg2);
#endif
|