sigcontext.h 803 B

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