1.0.0.36:
authorChristophe Rhodes <csr21@cantab.net>
Wed, 20 Dec 2006 16:19:33 +0000 (16:19 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Wed, 20 Dec 2006 16:19:33 +0000 (16:19 +0000)
Fix the build on ppc/Darwin, with os_context_register_t typedef
and os_context_pc_addr function.

src/runtime/ppc-darwin-os.c
src/runtime/ppc-darwin-os.h
version.lisp-expr

index 1bdf950..f9ab445 100644 (file)
@@ -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)
 {
index 1ff3732..adbbdad 100644 (file)
@@ -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;
 }
index 34e5cf6..c74a4e2 100644 (file)
@@ -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"