SCM Repository
Diff of /sml/trunk/src/runtime/mach-dep/signal-sysdep.h
Parent Directory
|
Revision Log
|
Patch
revision 5, Sat Oct 4 23:33:46 1997 UTC | revision 6, Mon Oct 6 00:10:15 1997 UTC | |
---|---|---|
# | Line 347 | Line 347 |
347 | ||
348 | # if defined(OPSYS_LINUX) | # if defined(OPSYS_LINUX) |
349 | /** X86, LINUX **/ | /** X86, LINUX **/ |
350 | /* sigcontext taken from /usr/src/linux/include/linux/signal.h */ | # ifndef sigcontext_struct |
351 | struct sigcontext { | # define sigcontext_struct sigcontext |
352 | unsigned short gs, __gsh; | # endif |
353 | unsigned short fs, __fsh; | # include <asm/sigcontext.h> |
unsigned short es, __esh; | ||
unsigned short ds, __dsh; | ||
unsigned long edi; | ||
unsigned long esi; | ||
unsigned long ebp; | ||
unsigned long esp; | ||
unsigned long ebx; | ||
unsigned long edx; | ||
unsigned long ecx; | ||
unsigned long eax; | ||
unsigned long trapno; | ||
unsigned long err; | ||
unsigned long eip; | ||
unsigned short cs, __csh; | ||
unsigned long eflags; | ||
unsigned long esp_at_signal; | ||
unsigned short ss, __ssh; | ||
unsigned long i387; | ||
unsigned long oldmask; | ||
unsigned long cr2; | ||
}; | ||
354 | ||
355 | #define INTO_OPCODE 0xce /* the 'into' instruction is a single */ | #define INTO_OPCODE 0xce /* the 'into' instruction is a single */ |
356 | /* instruction that signals Overflow */ | /* instruction that signals Overflow */ |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |