Author: stepan Date: 2006-05-31 22:20:10 +0200 (Wed, 31 May 2006) New Revision: 37
Modified: openbios-devel/drivers/esp.c Log: keep stack clean
Modified: openbios-devel/drivers/esp.c =================================================================== --- openbios-devel/drivers/esp.c 2006-05-31 18:09:18 UTC (rev 36) +++ openbios-devel/drivers/esp.c 2006-05-31 20:20:10 UTC (rev 37) @@ -144,7 +144,7 @@ short len, short sect_offset) { DPRINTF("ob_sd_read_sectors id %d %lx sector=%d len=%d soff %d\n", - sd->id, (unsigned long)dest, offset, len, sect_offset); + sd->id, (unsigned long)dest, offset, len, sect_offset);
// Setup command = Read(10) memset(esp->buffer, 0, 10); @@ -262,7 +262,8 @@ phandle_t ph;
fword("my-unit"); - id = POP(); + id = POP(); + POP(); // unit id is 2 ints but we only need one. *sd = &global_esp->sd[id];
#ifdef CONFIG_DEBUG_ESP