/[cmucl]/src/lisp/arch.h
ViewVC logotype

Contents of /src/lisp/arch.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations)
Wed Nov 12 15:04:24 2008 UTC (5 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: sparc-tramp-assem-base, post-merge-intl-branch, merged-unicode-utf16-extfmt-2009-06-11, intl-branch-working-2010-02-19-1000, unicode-string-buffer-impl-base, release-20b-pre1, release-20b-pre2, unicode-string-buffer-base, sparc-tramp-assem-2010-07-19, amd64-dd-start, release-19f-pre1, snapshot-2008-12, intl-2-branch-base, GIT-CONVERSION, cross-sol-x86-merged, label-2009-03-16, release-19f-base, merge-sse2-packed, merge-with-19f, intl-branch-working-2010-02-11-1000, RELEASE_20b, RELEASE_19f, release-20a-base, cross-sol-x86-base, snapshot-2010-12, snapshot-2010-11, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, pre-merge-intl-branch, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, snapshot-2010-06, snapshot-2010-01, snapshot-2010-03, snapshot-2010-02, snapshot-2010-08, label-2009-03-25, cross-sol-x86-2010-12-20, intl-branch-2010-03-18-1300, RELEASE_20a, release-20a-pre1, snapshot-2009-11, snapshot-2009-12, portable-clx-import-2009-06-16, cross-sparc-branch-base, intl-branch-base, portable-clx-base, snapshot-2009-08, snapshot-2009-02, snapshot-2009-01, snapshot-2009-07, snapshot-2009-05, snapshot-2009-04, HEAD
Branch point for: RELEASE-19F-BRANCH, portable-clx-branch, cross-sparc-branch, RELEASE-20B-BRANCH, unicode-string-buffer-branch, sparc-tramp-assem-branch, RELEASE-20A-BRANCH, amd64-dd-branch, unicode-string-buffer-impl-branch, intl-branch, cross-sol-x86-branch, intl-2-branch
Changes since 1.9: +7 -2 lines
File MIME type: text/plain
Merge in SSE2 changes from sse2-packed-branch (tag
sse2-packed-2008-11-12).
1 /*
2
3 $Header: /tiger/var/lib/cvsroots/cmucl/src/lisp/arch.h,v 1.10 2008/11/12 15:04:24 rtoy Rel $
4
5 This code was written as part of the CMU Common Lisp project at
6 Carnegie Mellon University, and has been placed in the public domain.
7
8 */
9
10 #ifndef __ARCH_H__
11 #define __ARCH_H__
12
13 #include "os.h"
14 #include "signal.h"
15
16 extern char *arch_init(fpu_mode_t);
17
18 extern void arch_skip_instruction(os_context_t * scp);
19 extern boolean arch_pseudo_atomic_atomic(os_context_t * scp);
20 extern void arch_set_pseudo_atomic_interrupted(os_context_t * scp);
21 extern os_vm_address_t arch_get_bad_addr(HANDLER_ARGS);
22 extern unsigned char *arch_internal_error_arguments(os_context_t * scp);
23 extern unsigned long arch_install_breakpoint(void *pc);
24 extern void arch_remove_breakpoint(void *pc, unsigned long orig_inst);
25 extern void arch_install_interrupt_handlers(void);
26 extern void arch_do_displaced_inst(os_context_t * scp, unsigned long orig_inst);
27 extern lispobj funcall0(lispobj function);
28 extern lispobj funcall1(lispobj function, lispobj arg0);
29 extern lispobj funcall2(lispobj function, lispobj arg0, lispobj arg1);
30 extern lispobj funcall3(lispobj function, lispobj arg0, lispobj arg1,
31 lispobj arg2);
32
33 extern void fpu_save(void *);
34 extern void fpu_restore(void *);
35
36 extern void arch_make_linkage_entry(long, void *, long);
37 extern long arch_linkage_entry(unsigned long);
38 void arch_make_lazy_linkage(long linkage_entry);
39 long arch_linkage_entry(unsigned long retaddr);
40
41 #ifdef i386
42 extern int arch_support_sse2(void);
43 #endif
44
45 #endif /* __ARCH_H__ */

  ViewVC Help
Powered by ViewVC 1.1.5