Annotation of xinu/h/coreX.h, revision 1.1.1.1

1.1       root        1: /* coreX.h */
                      2: 
                      3: /* Definitions and constants for VAX Xinu core dump files */
                      4: 
                      5: #define        REGISTERS       24              /* number of g.p. registers     */
                      6: #define        COREMAGIC       0477            /* unix "magic number" for core */
                      7: struct coreX {                         /* header of VAX core dump file */
                      8:        short c_magic;                  /* UNIX convention              */
                      9:        int   c_size;                   /* size of valid info (0=>entire*/
                     10:                                        /*  file contains core dump     */
                     11:        short c_zero1;                  /* padding to follow UNIX style */
                     12:        short c_zero2;                  /*    "     "    "     "    "   */
                     13:        int   c_regs[REGISTERS];        /* dump of machine registers    */
                     14:        int   c_psw;                    /* dump of program status reg   */
                     15:        short c_zero3;                  /* more padding (as in UNIX)    */
                     16:        short c_zero4;                  /*   "     "      "  "   "      */
                     17:        short c_zero5;                  /*   "     "      "  "   "      */
                     18:                                        /* Core image follows header    */
                     19: };
                     20: 
                     21: #define        KSP     0
                     22: #define        ESP     1
                     23: #define        SSP     2
                     24: #define        USP     3
                     25: #define        R0      4
                     26: #define        R1      5
                     27: #define        R2      6
                     28: #define        R3      7
                     29: #define        R4      8
                     30: #define        R5      9
                     31: #define        R6      10
                     32: #define        R7      11
                     33: #define        R8      12
                     34: #define        R9      13
                     35: #define        R10     14
                     36: #define        R11     15
                     37: #define        AP      16
                     38: #define        FP      17
                     39: #define        PC      18
                     40: #define        PSL     19
                     41: #define        P0BR    20
                     42: #define        P0LR    21
                     43: #define        P1BR    22
                     44: #define        P1LR    23

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.