1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

Kernel: Add support for SA_SIGINFO

We currently don't really populate most of the fields, but that can
wait :^)
This commit is contained in:
Ali Mohammad Pur 2022-02-26 00:58:06 +03:30 committed by Andreas Kling
parent 585054d68b
commit 4bd01b7fe9
12 changed files with 408 additions and 195 deletions

15
Kernel/Arch/mcontext.h Normal file
View file

@ -0,0 +1,15 @@
/*
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Platform.h>
#if ARCH(X86_64) || ARCH(I386)
# include <Kernel/Arch/x86/mcontext.h>
#elif ARCH(AARCH64)
# error "Unknown architecture"
#endif