fix comments
This commit is contained in:
@@ -122,9 +122,9 @@ struct X86EMU
|
||||
|
||||
uint64_t cur_cycles;
|
||||
|
||||
unsigned int cur_mod:2;
|
||||
unsigned int cur_rl:3;
|
||||
unsigned int cur_rh:3;
|
||||
unsigned int cur_mod:2;
|
||||
unsigned int cur_rl:3;
|
||||
unsigned int cur_rh:3;
|
||||
uint32_t cur_offset;
|
||||
|
||||
uint8_t (*emu_rdb)(struct X86EMU *, uint32_t addr);
|
||||
@@ -145,14 +145,14 @@ struct X86EMU
|
||||
};
|
||||
|
||||
|
||||
void X86EMU_init_default(struct X86EMU *);
|
||||
void X86EMU_init_default(struct X86EMU *);
|
||||
|
||||
/* decode.c */
|
||||
|
||||
void X86EMU_exec(struct X86EMU *);
|
||||
void X86EMU_exec_call(struct X86EMU *, uint16_t, uint16_t);
|
||||
void X86EMU_exec_intr(struct X86EMU *, uint8_t);
|
||||
void X86EMU_halt_sys(struct X86EMU *);
|
||||
void X86EMU_exec(struct X86EMU *);
|
||||
void X86EMU_exec_call(struct X86EMU *, uint16_t, uint16_t);
|
||||
void X86EMU_exec_intr(struct X86EMU *, uint8_t);
|
||||
void X86EMU_halt_sys(struct X86EMU *);
|
||||
|
||||
|
||||
#endif /* __X86EMU_X86EMU_H */
|
||||
|
||||
@@ -379,6 +379,7 @@ void run_bios(struct radeonfb_info *rinfo)
|
||||
|
||||
initialcs = (addr & 0xf0000) >> 4;
|
||||
initialip = (addr + 3) & 0xffff;
|
||||
dbg("initial CS=0x%x, initial IP=0x%x\r\n", initialcs, initialip);
|
||||
|
||||
/*
|
||||
* set emulator memory
|
||||
@@ -400,7 +401,10 @@ void run_bios(struct radeonfb_info *rinfo)
|
||||
emu.emu_wrb(&emu, 0xffff7, '/');
|
||||
emu.emu_wrb(&emu, 0xffffa, '/');
|
||||
|
||||
/* FixME: move PIT init to its own file */
|
||||
/*
|
||||
* FixME: move PIT (programmable interval timer) init to its own file
|
||||
* do we really need this? - don't think it does anything sensible ...
|
||||
*/
|
||||
outb(&emu, 0x36, 0x43);
|
||||
outb(&emu, 0x00, 0x40);
|
||||
outb(&emu, 0x00, 0x40);
|
||||
|
||||
Reference in New Issue
Block a user