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 os_context_register_t
*
24 os_context_register_addr(os_context_t
*context
, int offset
)
26 ppc_saved_state_t
*state
= &context
->uc_mcontext
->ss
;
94 return &context
->uc_mcontext
->es
.dar
;
97 return &context
->uc_mcontext
->es
.dsisr
;
101 os_context_register_t
*
102 os_context_lr_addr(os_context_t
*context
)
104 return &context
->uc_mcontext
->ss
.lr
;
108 os_flush_icache(os_vm_address_t address
, os_vm_size_t length
)
111 ppc_flush_icache(address
,length
);