sigcontext.h 867 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2. /* sigcontext.h: FRV signal context
  3. *
  4. * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
  5. * Written by David Howells (dhowells@redhat.com)
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version
  10. * 2 of the License, or (at your option) any later version.
  11. */
  12. #ifndef _ASM_SIGCONTEXT_H
  13. #define _ASM_SIGCONTEXT_H
  14. #include <asm/registers.h>
  15. /*
  16. * Signal context structure - contains all info to do with the state
  17. * before the signal handler was invoked. Note: only add new entries
  18. * to the end of the structure.
  19. */
  20. struct sigcontext {
  21. struct user_context sc_context;
  22. unsigned long sc_oldmask; /* old sigmask */
  23. } __attribute__((aligned(8)));
  24. #endif