2 * This is the PowerPC/Darwin incarnation of arch-dependent
3 * OS-dependent routines. See also "bsdos.c".
7 * This software is part of the SBCL system. See the README file for
10 * This software is derived from the CMU CL system, which was
11 * written at Carnegie Mellon University and released into the
12 * public domain. The software is in the public domain and is
13 * provided with absolutely no warranty. See the COPYING and CREDITS
14 * files for more information.
23 #include <mach-o/dyld.h>
26 os_context_register_t *
27 os_context_register_addr(os_context_t *context, int offset)
29 ppc_saved_state_t *state = &context->uc_mcontext->ss;
97 return &context->uc_mcontext->es.dar;
100 return &context->uc_mcontext->es.dsisr;
104 os_context_register_t *
105 os_context_lr_addr(os_context_t *context)
107 return &context->uc_mcontext->ss.lr;
111 os_flush_icache(os_vm_address_t address, os_vm_size_t length)
114 ppc_flush_icache(address,length);