From 2be9d2927cca76d8475f0083e9ecc87baf1b8222 Mon Sep 17 00:00:00 2001 From: Christian Borntraeger Date: Mon, 2 Mar 2015 16:27:08 +0100 Subject: s390-ccw.img: Allow bigger ramdisk sizes or offsets The s390-ccw bios creates the the virtqueue at 100MB. For big ramdisks or offsets (via zipl) this gets overwritten. As a quick band-aid, lets move the virtqueue into the bss section, which is at 0x7f00000. As the bios code (text) is at 0x7e00000 we can now handle ramdisk which are ~27MB bigger. Long term we want to make the s390-ccw bios position independent and load of at the end of memory. Reported-by: Alexander Graf Signed-off-by: Christian Borntraeger Acked-by: Cornelia Huck Message-Id: <1425310029-53396-2-git-send-email-borntraeger@de.ibm.com> --- pc-bios/s390-ccw/s390-ccw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pc-bios/s390-ccw/s390-ccw.h') diff --git a/pc-bios/s390-ccw/s390-ccw.h b/pc-bios/s390-ccw/s390-ccw.h index ceb7418..9b3868b 100644 --- a/pc-bios/s390-ccw/s390-ccw.h +++ b/pc-bios/s390-ccw/s390-ccw.h @@ -52,6 +52,7 @@ void disabled_wait(void); void virtio_panic(const char *string); void write_subsystem_identification(void); extern char stack[PAGE_SIZE * 8] __attribute__((__aligned__(PAGE_SIZE))); +extern char ring_area[PAGE_SIZE * 8] __attribute__((__aligned__(PAGE_SIZE))); extern uint64_t boot_value; /* sclp-ascii.c */ -- cgit v1.1