Ignore:
Timestamp:
Feb 25, 2008, 11:07:20 AM (12 years ago)
Author:
gb
Message:

tcr-level suspend/resume/interrupt: trap into the kernel, don't call into
it. This (mostly) has to do with a Leopard bug workaround and this
commit only implements the PPC side of things. x8664-related changes
and new images coming "soon", for some value of "soon".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/l1-lisp-threads.lisp

    r8167 r8579  
    344344  ;; When a thread dies, it should try to clear its interrupt-pending
    345345  ;; flag.
    346   (or (not (eql 0 (%fixnum-ref tcr target::tcr.interrupt-pending)))
    347       (with-macptrs (tcrp)
    348         (%setf-macptr-to-object tcrp tcr)
    349         (ff-call
    350          (%kernel-import target::kernel-import-raise-thread-interrupt)
    351          :address tcrp
    352          :signed-fullword))))
     346  (if (eql 0 (%fixnum-ref tcr target::tcr.interrupt-pending))
     347    (%%tcr-interrupt tcr)
     348    0))
    353349
    354350
Note: See TracChangeset for help on using the changeset viewer.