fix warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5594 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
89ef0a9f41
commit
c56e5ad725
|
@ -44,7 +44,6 @@ static void
|
||||||
biosemu_dev_get_addr_info(void)
|
biosemu_dev_get_addr_info(void)
|
||||||
{
|
{
|
||||||
int taa_index = 0;
|
int taa_index = 0;
|
||||||
int i = 0;
|
|
||||||
struct resource *r;
|
struct resource *r;
|
||||||
u8 bus = bios_device.dev->bus->link;
|
u8 bus = bios_device.dev->bus->link;
|
||||||
u16 devfn = bios_device.dev->path.pci.devfn;
|
u16 devfn = bios_device.dev->path.pci.devfn;
|
||||||
|
@ -115,6 +114,7 @@ biosemu_dev_get_addr_info(void)
|
||||||
//dump translate_address_array
|
//dump translate_address_array
|
||||||
printf("translate_address_array: \n");
|
printf("translate_address_array: \n");
|
||||||
translate_address_t ta;
|
translate_address_t ta;
|
||||||
|
int i;
|
||||||
for (i = 0; i <= taa_last_entry; i++) {
|
for (i = 0; i <= taa_last_entry; i++) {
|
||||||
ta = translate_address_array[i];
|
ta = translate_address_array[i];
|
||||||
printf
|
printf
|
||||||
|
|
|
@ -217,7 +217,7 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
|
||||||
printk(BIOS_DEBUG, "%c", mbi_header->name[j]);
|
printk(BIOS_DEBUG, "%c", mbi_header->name[j]);
|
||||||
printk(BIOS_DEBUG, "' found.\n");
|
printk(BIOS_DEBUG, "' found.\n");
|
||||||
#ifdef DEBUG_SMI_I82830
|
#ifdef DEBUG_SMI_I82830
|
||||||
dump(banner_id, sizeof(obj_header_t) + 16);
|
dump((u8 *)banner_id, sizeof(obj_header_t) + ALIGN(mbi_header->name_len, 16));
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -233,7 +233,7 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
|
||||||
mbi_header_t *mbi_header = NULL;
|
mbi_header_t *mbi_header = NULL;
|
||||||
printk(BIOS_DEBUG, "|- MBI_GetObject\n");
|
printk(BIOS_DEBUG, "|- MBI_GetObject\n");
|
||||||
#ifdef DEBUG_SMI_I82830
|
#ifdef DEBUG_SMI_I82830
|
||||||
printk(BIOS_DEBUG, "| |- handle = %016lx\n", getobj->handle);
|
printk(BIOS_DEBUG, "| |- handle = %016Lx\n", getobj->handle);
|
||||||
#endif
|
#endif
|
||||||
printk(BIOS_DEBUG, "| |- objnum = %d\n", getobj->objnum);
|
printk(BIOS_DEBUG, "| |- objnum = %d\n", getobj->objnum);
|
||||||
printk(BIOS_DEBUG, "| |- start = %x\n", getobj->start);
|
printk(BIOS_DEBUG, "| |- start = %x\n", getobj->start);
|
||||||
|
@ -262,8 +262,8 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
|
||||||
|
|
||||||
getobj->banner.retsts = MSH_OK;
|
getobj->banner.retsts = MSH_OK;
|
||||||
#ifdef DEBUG_SMI_I82830
|
#ifdef DEBUG_SMI_I82830
|
||||||
dump(banner_id, sizeof(*getobj));
|
dump((u8 *)banner_id, sizeof(*getobj));
|
||||||
dump(getobj->buffer + OBJ_OFFSET, len);
|
dump((u8 *)getobj->buffer + OBJ_OFFSET, len);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -449,8 +449,6 @@ static void southbridge_smi_gpe0(unsigned int node, smm_state_save_area_t *state
|
||||||
dump_gpe0_status(gpe0_sts);
|
dump_gpe0_status(gpe0_sts);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((weak)) mainboard_smi_gpi(u16 gpi_sts);
|
|
||||||
|
|
||||||
static void southbridge_smi_gpi(unsigned int node, smm_state_save_area_t *state_save)
|
static void southbridge_smi_gpi(unsigned int node, smm_state_save_area_t *state_save)
|
||||||
{
|
{
|
||||||
u16 reg16;
|
u16 reg16;
|
||||||
|
|
Loading…
Reference in New Issue