Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
[qemu/ar7.git] / linux-user / hexagon / target_syscall.h
blob7f91a4abc77a5ffe83c260fa2595ced26ef2082f
1 /*
2 * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #ifndef HEXAGON_TARGET_SYSCALL_H
19 #define HEXAGON_TARGET_SYSCALL_H
21 struct target_pt_regs {
22 abi_long sepc;
23 abi_long sp;
26 #define UNAME_MACHINE "hexagon"
27 #define UNAME_MINIMUM_RELEASE "4.15.0"
29 #define TARGET_MLOCKALL_MCL_CURRENT 1
30 #define TARGET_MLOCKALL_MCL_FUTURE 2
32 #define TARGET_MCL_CURRENT 1
33 #define TARGET_MCL_FUTURE 2
34 #define TARGET_MCL_ONFAULT 4
36 #endif