X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fcoreboot.c;h=0079811e9eba5f1c0197b8616e02b13d9258195e;hb=f782d602d08400cea6750cff440a69e8cc1690de;hp=d92a67fc970457f1f81e5d8cb830479bb6d52d37;hpb=d995b3df0189f931325f1630a6e9d17e8e5319db;p=seabios.git diff --git a/src/coreboot.c b/src/coreboot.c index d92a67f..0079811 100644 --- a/src/coreboot.c +++ b/src/coreboot.c @@ -34,7 +34,7 @@ copy_pir(void *pos) } dprintf(1, "Copying PIR from %p to %x\n", pos, bios_table_cur_addr); memcpy((void*)bios_table_cur_addr, pos, p->size); - SET_EBDA(pir_loc, bios_table_cur_addr); + SET_EBDA(pir_loc, (void*)bios_table_cur_addr); bios_table_cur_addr += p->size; } @@ -56,7 +56,6 @@ copy_mptable(void *pos) } dprintf(1, "Copying MPTABLE from %p to %x\n", pos, bios_table_cur_addr); memcpy((void*)bios_table_cur_addr, pos, length); - SET_EBDA(pir_loc, bios_table_cur_addr); bios_table_cur_addr += length; }