Re: [Qemu-devel] [PATCH] multiboot: mh_load_end_addr and mh_bss_end_addr may be zero

2012-01-31 Thread Göran Weinholt
Kevin Wolf writes: > Am 23.01.2012 13:49, schrieb Göran Weinholt: >> There are two special cases in the address fields of the multiboot >> format. If mh_load_end_addr is zero then the whole image file should >> be loaded and if mh_bss_end_addr is zero then there is no bss

[Qemu-devel] [PATCH] multiboot: mh_load_end_addr and mh_bss_end_addr may be zero

2012-01-23 Thread Göran Weinholt
-off-by: Göran Weinholt Tested-by: Alexander Graf --- hw/multiboot.c | 15 ++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/hw/multiboot.c b/hw/multiboot.c index b4484a3..db28328 100644 --- a/hw/multiboot.c +++ b/hw/multiboot.c @@ -202,10 +202,23 @@ int

Re: [Qemu-devel] [PATCH v2] multiboot: Fix bss segment support

2011-12-20 Thread Göran Weinholt
dr is zero then there is no bss segment. With this change it is again possible to boot kernels where these fields are zero. Signed-off-by: Göran Weinholt Tested-by: Alexander Graf --- hw/multiboot.c | 15 ++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/hw/multibo

Re: [Qemu-devel] [PATCH v2] multiboot: Fix bss segment support

2011-12-20 Thread Göran Weinholt
Alexander Graf writes: > On 19.12.2011, at 23:01, Anthony Liguori wrote: > > On 12/19/2011 11:35 AM, Alexander Graf wrote: > > On 24.07.2011, at 17:55, Göran Weinholt wrote: > > Multiboot images can specify a bss segment. The boot loader mus

[Qemu-devel] [PATCH v2] multiboot: Fix bss segment support

2011-07-24 Thread Göran Weinholt
data should be read from the image and how much memory should be reserved to the bss segment. Signed-off-by: Göran Weinholt --- hw/multiboot.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/hw/multiboot.c b/hw/multiboot.c index 2426e84..a1d3f41 100644 --- a/hw

Re: [Qemu-devel] [PATCH] multiboot: Fix bss segment support

2011-07-24 Thread Göran Weinholt
Alexander Graf writes: > On 24.07.2011, at 12:14, Göran Weinholt wrote: > >> Multiboot images can specify a bss segment. The boot loader must clear >> the memory of the bss and ensure that no modules or structures are >> allocated inside it. Several fields are provided in

[Qemu-devel] [PATCH] multiboot: Fix bss segment support

2011-07-24 Thread Göran Weinholt
data should be read from the image and how much memory should be reserved to the bss segment. Signed-off-by: Göran Weinholt --- hw/multiboot.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hw/multiboot.c b/hw/multiboot.c index 2426e84..4cff6aa 100644 --- a/hw

[Qemu-devel] [PATCH] amd64 support in cpu_gdb_read_registers()

2007-09-07 Thread Göran Weinholt
* 16 + 4; +} +#endif +uint32_t *registers = (uint32_t *)mem_buf; for(i = 0; i < 8; i++) { registers[i] = env->regs[i]; -- Göran Weinholt <[EMAIL PROTECTED]> I was making donuts and now I'm on a bus!