509 |
void *opaque; |
void *opaque; |
510 |
} CPUX86State; |
} CPUX86State; |
511 |
|
|
|
#ifndef IN_OP_I386 |
|
|
void cpu_x86_outb(CPUX86State *env, int addr, int val); |
|
|
void cpu_x86_outw(CPUX86State *env, int addr, int val); |
|
|
void cpu_x86_outl(CPUX86State *env, int addr, int val); |
|
|
int cpu_x86_inb(CPUX86State *env, int addr); |
|
|
int cpu_x86_inw(CPUX86State *env, int addr); |
|
|
int cpu_x86_inl(CPUX86State *env, int addr); |
|
|
#endif |
|
|
|
|
512 |
CPUX86State *cpu_x86_init(void); |
CPUX86State *cpu_x86_init(void); |
513 |
int cpu_x86_exec(CPUX86State *s); |
int cpu_x86_exec(CPUX86State *s); |
514 |
void cpu_x86_close(CPUX86State *s); |
void cpu_x86_close(CPUX86State *s); |
606 |
|
|
607 |
void cpu_set_apic_base(CPUX86State *env, uint64_t val); |
void cpu_set_apic_base(CPUX86State *env, uint64_t val); |
608 |
uint64_t cpu_get_apic_base(CPUX86State *env); |
uint64_t cpu_get_apic_base(CPUX86State *env); |
609 |
|
void cpu_set_apic_tpr(CPUX86State *env, uint8_t val); |
610 |
|
#ifndef NO_CPU_IO_DEFS |
611 |
|
uint8_t cpu_get_apic_tpr(CPUX86State *env); |
612 |
|
#endif |
613 |
|
|
614 |
/* will be suppressed */ |
/* will be suppressed */ |
615 |
void cpu_x86_update_cr0(CPUX86State *env, uint32_t new_cr0); |
void cpu_x86_update_cr0(CPUX86State *env, uint32_t new_cr0); |