/[qemu]/qemu/syscall-i386.h
ViewVC logotype

Diff of /qemu/syscall-i386.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by bellard, Tue Apr 29 21:09:46 2003 UTC revision 1.17 by bellard, Thu May 8 15:41:15 2003 UTC
# Line 445  typedef struct target_siginfo { Line 445  typedef struct target_siginfo {
445  } target_siginfo_t;  } target_siginfo_t;
446    
447  /*  /*
448     * si_code values
449     * Digital reserves positive values for kernel-generated signals.
450     */
451    #define TARGET_SI_USER          0       /* sent by kill, sigsend, raise */
452    #define TARGET_SI_KERNEL        0x80    /* sent by the kernel from somewhere */
453    #define TARGET_SI_QUEUE -1              /* sent by sigqueue */
454    #define TARGET_SI_TIMER -2              /* sent by timer expiration */
455    #define TARGET_SI_MESGQ -3              /* sent by real time mesq state change */
456    #define TARGET_SI_ASYNCIO       -4      /* sent by AIO completion */
457    #define TARGET_SI_SIGIO -5              /* sent by queued SIGIO */
458    
459    /*
460   * SIGILL si_codes   * SIGILL si_codes
461   */   */
462  #define TARGET_ILL_ILLOPN       (2)     /* illegal operand */  #define TARGET_ILL_ILLOPN       (2)     /* illegal operand */
# Line 462  typedef struct target_siginfo { Line 474  typedef struct target_siginfo {
474  #define TARGET_FPE_FLTSUB      (8)  /* subscript out of range */  #define TARGET_FPE_FLTSUB      (8)  /* subscript out of range */
475  #define TARGET_NSIGFPE         8  #define TARGET_NSIGFPE         8
476    
477    /*
478     * SIGSEGV si_codes
479     */
480    #define TARGET_SEGV_MAPERR     (1)  /* address not mapped to object */
481    #define TARGET_SEGV_ACCERR     (2)  /* invalid permissions for mapped object */
482    
483  /* default linux values for the selectors */  /* default linux values for the selectors */
484  #define __USER_CS       (0x23)  #define __USER_CS       (0x23)
485  #define __USER_DS       (0x2B)  #define __USER_DS       (0x2B)

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26