From 7d13299d07a9c3c42277207ae7a691f0501a70b2 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 6 Mar 2003 23:23:54 +0000 Subject: added translation cache git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@25 c046a42c-6fe2-441c-8c8c-71466251a162 --- translate-i386.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'translate-i386.c') diff --git a/translate-i386.c b/translate-i386.c index d13d5d7449..ad46e1373e 100644 --- a/translate-i386.c +++ b/translate-i386.c @@ -1,3 +1,22 @@ +/* + * i386 translation + * + * Copyright (c) 2003 Fabrice Bellard + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ #include #include #include @@ -2591,6 +2610,8 @@ CPUX86State *cpu_x86_init(void) CPUX86State *env; int i; + cpu_x86_tblocks_init(); + env = malloc(sizeof(CPUX86State)); if (!env) return NULL; -- cgit v1.2.3