Changeset 9472


Ignore:
Timestamp:
May 14, 2008, 5:54:49 PM (11 years ago)
Author:
rme
Message:

handle_gc_trap: on x8632, look for arg in mm0 (instead of imm1 as on x8664).
Also use temp0 in lieu of arg_x when handling configure egc selector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ia32/lisp-kernel/x86-exceptions.c

    r9449 r9472  
    150150handle_gc_trap(ExceptionInformation *xp, TCR *tcr)
    151151{
    152 #ifdef X8664
    153   LispObj
    154     selector = xpGPR(xp,Iimm0),
    155     arg = xpGPR(xp,Iimm1);
     152  LispObj selector = xpGPR(xp,Iimm0);
     153#ifdef X8664
     154  LispObj arg = xpGPR(xp,Iimm1);
     155#else
     156  LispObj arg = xpMMXreg(xp,Imm0);
     157#endif
    156158  area *a = active_dynamic_area;
    157159  Boolean egc_was_enabled = (a->older != NULL);
     
    165167
    166168  case GC_TRAP_FUNCTION_CONFIGURE_EGC:
     169#ifdef X8664
    167170    a->threshold = unbox_fixnum(xpGPR(xp, Iarg_x));
     171#else
     172    a->threshold = unbox_fixnum(xpGPR(xp, Itemp0));
     173#endif
    168174    g1_area->threshold = unbox_fixnum(xpGPR(xp, Iarg_y));
    169175    g2_area->threshold = unbox_fixnum(xpGPR(xp, Iarg_z));
     
    247253    break;
    248254  }
    249 #endif
    250255  return true;
    251256}
Note: See TracChangeset for help on using the changeset viewer.