aboutsummaryrefslogtreecommitdiff
path: root/translate-i386.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-06 23:23:54 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-06 23:23:54 +0000
commit7d13299d07a9c3c42277207ae7a691f0501a70b2 (patch)
tree981b791299c674712bacc00292de4afc6cc436ec /translate-i386.c
parent1017ebe9cb38ae034b0e7c6c449abe2c9b5284fb (diff)
added translation cache
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@25 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-i386.c')
-rw-r--r--translate-i386.c21
1 files changed, 21 insertions, 0 deletions
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 <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
@@ -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;