Add stub signal.c implementation for e2k.

This commit is contained in:
Gleb Popov 2022-06-18 21:07:45 +03:00
parent 841a020b7e
commit 4489b5793c

29
bsd-user/e2k/signal.c Normal file
View File

@ -0,0 +1,29 @@
/*
* Elbrus specific signal definitions for bsd-user
*
* Copyright (c) 2022 Gleb Popov <arrowd at FreeBSD>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "qemu.h"
abi_long setup_sigframe_arch(CPUE2KState *env, abi_ulong frame_addr,
struct target_sigframe *frame, int flags)
{
target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext;
get_mcontext(env, mcp, flags);
return 0;
}