mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Add option to disable TB cache, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3930 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
c304f7e23d
commit
40a2e657a5
4 changed files with 110 additions and 2 deletions
14
cpu-all.h
14
cpu-all.h
|
@ -787,6 +787,20 @@ void cpu_set_log(int log_flags);
|
|||
void cpu_set_log_filename(const char *filename);
|
||||
int cpu_str_to_log_mask(const char *str);
|
||||
|
||||
#define CPU_SETTING_NO_CACHE (1 << 0)
|
||||
|
||||
/* define translation settings */
|
||||
typedef struct CPUTranslationSetting {
|
||||
int mask;
|
||||
const char *name;
|
||||
const char *help;
|
||||
} CPUTranslationSetting;
|
||||
|
||||
extern CPUTranslationSetting cpu_translation_settings[];
|
||||
|
||||
void cpu_set_translation_settings(int translation_flags);
|
||||
int cpu_str_to_translation_mask(const char *str);
|
||||
|
||||
/* IO ports API */
|
||||
|
||||
/* NOTE: as these functions may be even used when there is an isa
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue