Re: [PATCH] multiboot-x86: support for non-elf kernels

2018-09-11 Thread cinap_lenrek
> Is it desirable for this check to be run for each iteration of the loop. thats is not really the case. that statemet is executed exactly once. the first check in the loop body looks for the multiboot header signature and continues the loop if not found. once that check passes the iteration ends

Re: [PATCH] multiboot-x86: pass framebuffer information when requested

2018-09-11 Thread Simon Horman
On Thu, Aug 02, 2018 at 04:05:30PM +0200, cinap_len...@felloff.net wrote: > When the kernel requests video information, pass it the > framebuffer information in the multiboot header from > the linux framebuffer ioctl's. > > With the arch specific --reset-vga or --consolve-vga > options, purgatory

Re: [PATCH] multiboot-x86: pass ACPI reserved memory information in memory map

2018-09-11 Thread Simon Horman
SD. > > Signed-off-by: Friedemann Gerold This seems reasonable to me, but I would value a third-party review of this change. Reviewed-by: Simon Horman > --- > diff --git a/kexec/arch/i386/kexec-multiboot-x86.c > b/kexec/arch/i386/kexec-multiboot-x86.c > index 69027e2..afa09

Re: [PATCH] multiboot-x86: support for non-elf kernels

2018-09-11 Thread Simon Horman
> diff --git a/kexec/arch/i386/kexec-multiboot-x86.c > b/kexec/arch/i386/kexec-multiboot-x86.c > index 69027e2..afa0959 100644 > --- a/kexec/arch/i386/kexec-multiboot-x86.c > +++ b/kexec/arch/i386/kexec-multiboot-x86.c > @@ -8,7 +8,6 @@ > * TODO: > *- smarter

multiboot-x86

2018-09-10 Thread cinap_lenrek
Hello, I'v posted 3 patches on august and did not receive a response. http://lists.infradead.org/pipermail/kexec/2018-August/021357.html http://lists.infradead.org/pipermail/kexec/2018-August/021358.html http://lists.infradead.org/pipermail/kexec/2018-August/021359.html what is the issue? how do

[PATCH] multiboot-x86: pass framebuffer information when requested

2018-08-02 Thread cinap_lenrek
E_RGB1 +#define MB_FRAMEBUFFER_TYPE_EGA_TEXT 2 /* * The following value must be present in the EAX register. diff --git a/kexec/arch/i386/kexec-multiboot-x86.c b/kexec/arch/i386/kexec-multiboot-x86.c index 69027e2..e566be7 100644 --- a/kexec/arch/i386/kexec-multiboot-x86.c +++ b/kexec

[PATCH] multiboot-x86: pass ACPI reserved memory information in memory map

2018-08-02 Thread cinap_lenrek
Use the appropriate types for ACPI reclaim and ACPI NVS ranges in the multiboot memory map. This allows the kernel to locate ACPI tables on UEFI systems without having a explicit pointer to the RSD. Signed-off-by: Friedemann Gerold --- diff --git a/kexec/arch/i386/kexec-multiboot-x86.c b/kexec

[PATCH] multiboot-x86: support for non-elf kernels

2018-08-02 Thread cinap_lenrek
the multiboot header are used load the memory image. Signed-off-by: Friedemann Gerold --- diff --git a/kexec/arch/i386/kexec-multiboot-x86.c b/kexec/arch/i386/kexec-multiboot-x86.c index 69027e2..afa0959 100644 --- a/kexec/arch/i386/kexec-multiboot-x86.c +++ b/kexec/arch/i386/kexec-multiboot-x86.c

Re: [PATCH] Fix value of mbi->mem_lower for multiboot-x86

2014-01-15 Thread Simon Horman
he usual case), then a hole is inserted into kernel's physical > memory map at zero, so the test to find the size of this region in > kexec/arch/i386/kexec-multiboot-x86.c never succeeds, so the value is > always zero. > > On a PC99 architecture, there is always memory at physy

[PATCH] Fix value of mbi->mem_lower for multiboot-x86

2014-01-15 Thread Peter Chubb
ro, so the test to find the size of this region in kexec/arch/i386/kexec-multiboot-x86.c never succeeds, so the value is always zero. On a PC99 architecture, there is always memory at physycal address zero; assume that a region that starts below 64k actually starts at zero, and use it for the mem_lowe