⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jit-md.h

📁 kaffe是一个java虚拟机的源代码。里面包含了一些java例程和标准的java包。
💻 H
字号:
/* * m68k/netbsd1/jit-md.h * NetBSD m68k JIT configuration information. * * Copyright (c) 1996, 1997 *      Transvirtual Technologies, Inc.  All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. * * Written by Marcello Balduccini <marcy@morgana.usr.dsi.unimi.it>, 1997. * NOTE: this file is heavily based on m68k/a-ux/jit-md.h and * m68k/openbsd2/jit-md.h, written by Richard Henderson <rth@tamu.edu>, 1997. */#ifndef __m68k_netbsd_jit_md_h#define __m68k_netbsd_jit_md_h/**//* Include common information. *//**/#include "m68k/jit.h"/**//* Define where addresses are returned.  *//**/#define M68K_RETURN_REF		REG_d0	/* d0 *//**//* Extra exception handling information. *//**/#include <signal.h>#define	EXCEPTIONPROTO							\	int sig, int code, struct sigcontext *ctx/* Get the first exception frame from a signal handler */#define	EXCEPTIONFRAME(f, c)						\	do {								\		(f).retfp = (uintp)__builtin_frame_address(1);		\		(f).retpc = (uintp)(c)->sc_pc;				\	} while (0)/* * Flush the cache on netbsd. */#define FLUSH_040NETBSD_DCACHE(beg, end) \	__asm__ __volatile__( \		"movem%.l %/d0-%/d7/%/a0-%/a5,%-\n\t" \		"move%.l %0,%/a1\n\t" \		"move%.l %1,%/d1\n\t" \		"sub%.l %/d1,%/a1\n\t" \		"movel  %#0x80000004,d0\n\t" \		"trap   %#12\n\t" \		"movem%.l %+,%/d0-%/d7/%/a0-%/a5" \		: : "g" (beg), "g" (end))#undef	FLUSH_DCACHE#define	FLUSH_DCACHE(B,E)	FLUSH_040NETBSD_DCACHE(B,E)#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -