diff --git a/plat/cpm/emu/biosbdos.c b/plat/cpm/emu/biosbdos.c index 4eb87aca4..91cb16638 100644 --- a/plat/cpm/emu/biosbdos.c +++ b/plat/cpm/emu/biosbdos.c @@ -88,6 +88,8 @@ void bios_coldboot(void) static void bios_warmboot(void) { + int word; + int offset = 1; dma = 0x0080; if (!user_command_line[0]) @@ -113,8 +115,6 @@ static void bios_warmboot(void) read(fd, &ram[0x0100], 0xFE00); close(fd); - int offset = 1; - int word; for (word = 1; user_command_line[word]; word++) { if (word > 1)