Changeset 10499


Ignore:
Timestamp:
Aug 20, 2008, 2:25:32 AM (11 years ago)
Author:
gb
Message:

add check_cstack_alignment macro, which traps (via hlt ...) if any
of the low 3 bits in tcr->foreign_sp are set. (Could check low 4
bits, to ensure that ffi will be happy.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-macros.s

    r10387 r10499  
    701701])
    702702
     703define([check_cstack_alignment],[
     704        new_macro_labels()
     705        __(testb [$]7,rcontext(tcr.foreign_sp))
     706        __(je macro_label(done))
     707        __(hlt)
     708macro_label(done):
     709])
     710                       
Note: See TracChangeset for help on using the changeset viewer.