ppc/pegasos2: Add support for -initrd command line option
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 4 Jul 2023 18:19:20 +0000 (20:19 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:46:12 +0000 (04:46 -0300)
commitebe0e9bbcbe432cd9fbcfbb4e2e9be86761ee606
tree8157ccda3c171ce8c05ce92fb2764edc205aaac7
parent053075097a053f7f9d8ce01f40ae1b1ad1845fea
ppc/pegasos2: Add support for -initrd command line option

This also changes type of sz local variable to ssize_t because it is
used to store return value of load_elf() and load_image_targphys() that
return ssize_t.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-ID: <20230704181920.27B58746335@zero.eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pegasos2.c