From: Christophe Rhodes Date: Wed, 20 Dec 2006 16:19:33 +0000 (+0000) Subject: 1.0.0.36: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=1bc8fbfb6cdc0e2d39ec00402c9430b9e364f87b;p=sbcl.git 1.0.0.36: Fix the build on ppc/Darwin, with os_context_register_t typedef and os_context_pc_addr function. --- diff --git a/src/runtime/ppc-darwin-os.c b/src/runtime/ppc-darwin-os.c index 1bdf950..f9ab445 100644 --- a/src/runtime/ppc-darwin-os.c +++ b/src/runtime/ppc-darwin-os.c @@ -118,6 +118,12 @@ os_context_lr_addr(os_context_t *context) return &context->uc_mcontext->ss.lr; } +os_context_register_t * +os_context_pc_addr(os_context_t *context) +{ + return &context->uc_mcontext->ss.srr0; +} + void os_flush_icache(os_vm_address_t address, os_vm_size_t length) { diff --git a/src/runtime/ppc-darwin-os.h b/src/runtime/ppc-darwin-os.h index 1ff3732..adbbdad 100644 --- a/src/runtime/ppc-darwin-os.h +++ b/src/runtime/ppc-darwin-os.h @@ -1,6 +1,8 @@ #ifndef _PPC_DARWIN_OS_H #define _PPC_DARWIN_OS_H +typedef unsigned int os_context_register_t; + static inline os_context_t *arch_os_get_context(void **void_context) { return (os_context_t *) *void_context; } diff --git a/version.lisp-expr b/version.lisp-expr index 34e5cf6..c74a4e2 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.0.35" +"1.0.0.36"