Changeset 6777 for branches


Ignore:
Timestamp:
Jun 26, 2007, 2:10:45 AM (17 years ago)
Author:
Gary Byers
Message:

Replace some unused globals with things for ObjC 2.0 exception handling.

Location:
branches/ide-1.0/ccl/lisp-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ide-1.0/ccl/lisp-kernel/lisp_globals.h

    r5652 r6777  
    2525#define INTERRUPT_SIGNAL  (-3)  /* signal to use for PROCESS-INTERRUPT */
    2626#define KERNEL_IMPORTS (-4)     /* some things we need to have imported for us. */
    27 #define badTCR_LOCK (-5)        /* (obsolete) lock on the TCR queue */
     27#define OBJC_2_PERSONALITY (-5) /* A good listener.  Doesn't say much */
    2828#define SAVETOC (-6)            /* Saved TOC register, for some platforms */
    2929#define SAVER13 (-7)            /* Saved (global) r13, on some platforms */
     
    4747#define STATICALLY_LINKED (-25)        /* non-zero if -static */
    4848#define STACK_SIZE (-26)        /* from the command line */
    49 #define BAD_CURRENT_TS (-27)        /* area describing temp-stack */
     49#define OBJC_2_BEGIN_CATCH (-27)  /* address of ObjC 2.0 objc_begin_catch() */
    5050#define BAD_FUNCALL (-28)       /* funcall pseudo-target on x86 */
    5151#define ALL_AREAS (-29)         /* doubly-linked list of stack & heap areas */
     
    5454#define IN_GC (-32)             /* non-zero when lisp addresses may be invalid */
    5555#define METERING_INFO (-33)     /* address of lisp_metering global */
    56 #define DOH_HEAD (-34)          /* Homer ? */
     56#define OBJC_2_END_CACTCH (-34)          /* address of ObjC 2.0 objc_end_catch() */
    5757#define SHORT_FLOAT_ZERO (-35)  /* low half of 1.0d0 */
    5858#define DOUBLE_FLOAT_ONE (-36)  /* high half of 1.0d0 */
     
    6565#define HOST_PLATFORM (-43)     /* for platform-specific initialization */
    6666#define BATCH_FLAG (-44)        /* -b arg */
    67 #define BAD_FPSCR_SAVE (-45)    /* saved FPSCR for FFI */
     67#define UNWIND_RESUME (-45)     /* address of _Unwind_Resume from libobjc */
    6868#define BAD_FPSCR_SAVE_HIGH (-46)       /* high word of FP reg used to save FPSCR */
    6969#define IMAGE_NAME (-47)        /* --image-name arg */
  • branches/ide-1.0/ccl/lisp-kernel/x86-constants.s

    r4432 r6777  
    6666         _node(image_name)              /* --image-name argument   */
    6767         _node(BADfpscr_save_high)      /* high word of FP reg used to save FPSCR   */
    68          _node(BADfpscr_save)           /* saved FPSCR  */
     68         _node(unwind_resume)           /* _Unwind_Resume */
    6969         _node(batch_flag)              /* -b   */
    7070         _node(host_platform)           /* for runtime platform-specific stuff   */
     
    7777         _node(double_float_one)        /* high half of 1.0d0   */
    7878         _node(short_float_zero)        /* low half of 1.0d0   */
    79          _node(doh_head)                /* creole objects header   */
     79         _node(objc2_end_catch)         /* objc_end_catch()  */
    8080         _node(metering_info)           /* address of lisp_metering global   */
    8181         _node(in_gc)                   /* non-zero when GC active   */
     
    8484         _node(all_areas)               /* doubly-linked list of all memory areas   */
    8585         _node(bad_funcall)             /* pseudo-funcall target for cmove   */
    86          _node(BAD_current_ts)          /* current temp-stack area   */
     86         _node(objc2_begin_catch)       /* objc_begin_catch   */
    8787         _node(BAD_current_vs)          /* current value-stack area   */
    8888         _node(statically_linked)       /* non-zero if -static   */
     
    106106         _node(saveR13)                 /* probably don]t really need this   */
    107107         _node(saveTOC)                 /* where the 68K emulator stores the  emulated regs   */
    108          _node(tcr_lock)                /* this thread]s exception frame chain  */
     108         _node(objc_2_personality)              /* exception "personality routine" address for ObjC 2.0 */
    109109         _node(kernel_imports)          /* some things we need imported for us   */
    110110         _node(interrupt_signal)        /* signal used by PROCESS-INTERRUPT   */
Note: See TracChangeset for help on using the changeset viewer.