OSDN Git Service

[VM][I386][OOPS] Fix OOPS.
[csp-qt/common_source_project-fm7.git] / source / src / vm / libcpu_newdev / libcpu_i386 / i386_opdef.h
index 14113e6..a5fcbda 100644 (file)
@@ -554,6 +554,7 @@ public:
        void i386_vtlb_free(void);
        void i386_free_state(void);
 
+       i386_state *get_cpu_state(void) { return cpustate; }
        int get_extra_clock() { return cpustate->extra_cycles; }
        void set_extra_clock(int n) { cpustate->extra_cycles += n; }
 
@@ -609,8 +610,9 @@ public:
        }
        
        virtual bool write_debug_reg(const _TCHAR *reg, uint32_t data) { return false; }
-       virtual void get_debug_regs_info(_TCHAR *buffer, size_t buffer_len) {};
+
        virtual int debug_dasm(uint32_t pc, _TCHAR *buffer, size_t buffer_len) { return 0;}
+       void vtlb_flush_dynamic(void) { vtlb_flush_dynamic(cpustate->vtlb); }
 
        void save_state(FILEIO *state_fio);
        bool load_state(FILEIO *state_fio);