frame.h

Go to the documentation of this file.
00001 /*
00002 ** frame.h for lseos in lseos-lib/libc/machdep
00003 ** 
00004 ** Made by Vianney Rancurel
00005 ** Login   <vianney@epita.fr>
00006 ** 
00007 ** Started on  Fri Apr 30 12:47:02 2004 Vianney Rancurel
00008 ** Last update Mon Nov 29 15:11:39 2004 Vianney Rancurel
00009 */
00010 #ifndef __MACHDEP_FRAME_H__
00011 #define __MACHDEP_FRAME_H__
00012 
00013 /*
00014  * Derived from NetBSD sigcontext
00015  */
00016 
00017 struct sigcontext 
00018 {
00019   int           sc_gs;
00020   int           sc_fs;
00021   int           sc_es;
00022   int           sc_ds;
00023   int           sc_edi;
00024   int           sc_esi;
00025   int           sc_ebp;
00026   int           sc_ebx;
00027   int           sc_edx;
00028   int           sc_ecx;
00029   int           sc_eax;
00030   int           sc_eip;
00031   int           sc_cs;
00032   int           sc_eflags;
00033   int           sc_esp;
00034   int           sc_ss;
00035   sigset_t      sc_mask;
00036   vaddr_t       sc_addr;
00037 };
00038 
00039 struct sigframe 
00040 {
00041   int           sf_signum;
00042   int           sf_code;
00043   struct        sigcontext *sf_scp;
00044   sig_t         sf_handler;
00045   struct        sigcontext sf_sc;
00046 };
00047 
00048 #endif

Generated on Wed May 24 23:04:17 2006 for LSE/OS by  doxygen 1.4.6