18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef __SKAS_H 78c2ecf20Sopenharmony_ci#define __SKAS_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <sysdep/ptrace.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciextern int userspace_pid[]; 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciextern int user_thread(unsigned long stack, int flags); 148c2ecf20Sopenharmony_ciextern void new_thread_handler(void); 158c2ecf20Sopenharmony_ciextern void handle_syscall(struct uml_pt_regs *regs); 168c2ecf20Sopenharmony_ciextern long execute_syscall_skas(void *r); 178c2ecf20Sopenharmony_ciextern unsigned long current_stub_stack(void); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif 20