Changeset 5716


Ignore:
Timestamp:
Jan 18, 2007, 2:55:42 AM (18 years ago)
Author:
Gary Byers
Message:

Get the contents of the register that may hold OS thread context.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-0/PPC/ppc-misc.lisp

    r5482 r5716  
    10101010  (blr))
    10111011
     1012;;; r13 contains thread context on Linux/Darwin PPC64.
     1013;;; That's maintained in r2 on LinuxPPC32, and not maintained
     1014;;; in a GPR on DarwinPPC32
     1015(defppclapfunction %get-os-context ()
     1016  #+ppc64-target (mr arg_z 13)
     1017  #+linuxppc32-target (mr arg_z 2)
     1018  #+darinppc32-target (mr arg_z 0)
     1019  (blr))
     1020
     1021
    10121022; end of ppc-misc.lisp
Note: See TracChangeset for help on using the changeset viewer.