mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
64bit fixes from blueswirl
git-svn-id: svn://coreboot.org/openbios/openbios-devel@83 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -115,14 +115,14 @@ static void lit(void)
|
||||
|
||||
static void docon(void)
|
||||
{ /* DOCON */
|
||||
ucell tmp = read_cell(cell2pointer(read_ucell(cell2pointer(PC)) + sizeof(ucell)));
|
||||
ucell tmp = read_ucell(cell2pointer(read_ucell(cell2pointer(PC)) + sizeof(ucell)));
|
||||
PUSH(tmp);
|
||||
dbg_interp_printk("docon: PC=%x, value=%x\n", PC, tmp);
|
||||
}
|
||||
|
||||
static void dovar(void)
|
||||
{ /* DOVAR */
|
||||
ucell tmp = read_cell(cell2pointer(PC)) + sizeof(ucell);
|
||||
ucell tmp = read_ucell(cell2pointer(PC)) + sizeof(ucell);
|
||||
PUSH(tmp); /* returns address to variable */
|
||||
dbg_interp_printk("dovar: PC: %x, %x\n", PC, tmp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user