tcg-cpu.c (48c1a3e303b5a2cca48679645ad3fbb914db741a) | tcg-cpu.c (e124536f37377cff5d68925d4976ad604d0ebf3a) |
---|---|
1/* 2 * i386 TCG cpu class initialization 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 51 unchanged lines hidden (view full) --- 60void tcg_cpu_common_class_init(CPUClass *cc) 61{ 62 cc->do_interrupt = x86_cpu_do_interrupt; 63 cc->tcg_ops.cpu_exec_interrupt = x86_cpu_exec_interrupt; 64 cc->tcg_ops.synchronize_from_tb = x86_cpu_synchronize_from_tb; 65 cc->tcg_ops.cpu_exec_enter = x86_cpu_exec_enter; 66 cc->tcg_ops.cpu_exec_exit = x86_cpu_exec_exit; 67 cc->tcg_ops.initialize = tcg_x86_init; | 1/* 2 * i386 TCG cpu class initialization 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 51 unchanged lines hidden (view full) --- 60void tcg_cpu_common_class_init(CPUClass *cc) 61{ 62 cc->do_interrupt = x86_cpu_do_interrupt; 63 cc->tcg_ops.cpu_exec_interrupt = x86_cpu_exec_interrupt; 64 cc->tcg_ops.synchronize_from_tb = x86_cpu_synchronize_from_tb; 65 cc->tcg_ops.cpu_exec_enter = x86_cpu_exec_enter; 66 cc->tcg_ops.cpu_exec_exit = x86_cpu_exec_exit; 67 cc->tcg_ops.initialize = tcg_x86_init; |
68 cc->tlb_fill = x86_cpu_tlb_fill; | 68 cc->tcg_ops.tlb_fill = x86_cpu_tlb_fill; |
69#ifndef CONFIG_USER_ONLY 70 cc->debug_excp_handler = breakpoint_handler; 71#endif 72} | 69#ifndef CONFIG_USER_ONLY 70 cc->debug_excp_handler = breakpoint_handler; 71#endif 72} |