| 1 | /** |
| 2 | * Enhanced Seccomp PPC Specific Code |
| 3 | * |
| 4 | * Copyright (c) 2015 Freescale <bogdan.purcareata@freescale.com> |
| 5 | * Author: Bogdan Purcareata <bogdan.purcareata@freescale.com> |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * This library is free software; you can redistribute it and/or modify it |
| 11 | * under the terms of version 2.1 of the GNU Lesser General Public License as |
| 12 | * published by the Free Software Foundation. |
| 13 | * |
| 14 | * This library is distributed in the hope that it will be useful, but WITHOUT |
| 15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License |
| 17 | * for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU Lesser General Public License |
| 20 | * along with this library; if not, see <http://www.gnu.org/licenses>. |
| 21 | */ |
| 22 | |
| 23 | #ifndef _ARCH_PPC_H |
| 24 | #define _ARCH_PPC_H |
| 25 | |
| 26 | #include <inttypes.h> |
| 27 | |
| 28 | #include "arch.h" |
| 29 | #include "system.h" |
| 30 | |
| 31 | extern const struct arch_def arch_def_ppc; |
| 32 | |
| 33 | int ppc_syscall_resolve_name(const char *name); |
| 34 | const char *ppc_syscall_resolve_num(int num); |
| 35 | |
| 36 | const char *ppc_syscall_iterate_name(unsigned int spot); |
| 37 | |
| 38 | #endif |