Ignore:
Timestamp:
Jan 19, 2010, 7:06:30 PM (10 years ago)
Author:
rme
Message:

Darwin/x8632 tweaks (related to ucontext/mcontext structure and field
names) to work with Leopard interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/x86-trap-support.lisp

    r13174 r13397  
    188188  (defconstant gp-regs-offset 0)
    189189  (defmacro xp-gp-regs (xp)
    190     `(pref (pref ,xp :ucontext.uc_mcontext) :mcontext.ss))
    191   (defun xp-mxcsr (xp)
    192     (%get-unsigned-long (pref (pref xp :ucontext.uc_mcontext) :mcontext.fs) 32))
     190    `(pref ,xp :ucontext_t.uc_mcontext.__ss))
     191  (defun xp-mxcsr (xp)
     192    (pref xp :ucontext_t.uc_mcontext.__fs.__fpu_mxcsr))
    193193  (defconstant flags-register-offset 9)
    194194  (defconstant eip-register-offset 10)
Note: See TracChangeset for help on using the changeset viewer.