Changeset 5962


Ignore:
Timestamp:
Feb 28, 2007, 4:16:41 AM (18 years ago)
Author:
Gary Byers
Message:

In pc_luser_xp: if allocating and before the alloc trap and interrupting,
back out of the modification to save_allocptr (and allocptr register)
and set *interrupt_displacement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/x86-exceptions.c

    r5951 r5962  
    15521552      /* Fall through */
    15531553    case ID_load_allocptr_reg_from_tcr_save_allocptr_instruction:
    1554       tcr->save_allocptr = (void *)(VOID_ALLOCPTR-disp);
     1554      if (interrupt_displacement) {
     1555        tcr->save_allocptr += disp;
     1556        *interrupt_displacement = disp;
     1557      } else {
     1558        tcr->save_allocptr = (void *)(VOID_ALLOCPTR-disp);
     1559      }
    15551560      break;
    15561561    }
Note: See TracChangeset for help on using the changeset viewer.